public class FormatPanel extends RMObject
Constructor and Description |
---|
FormatPanel()
Creates a FormatPanel instance.
|
Modifier and Type | Method and Description |
---|---|
static RMDateFormat |
getDateFormat(int anIndex)
Returns the preset date format at the given index.
|
static int |
getDateFormatCount()
Returns the number of preset date formats available to the format panel.
|
static int |
getDateFormatIndex(java.lang.String aPattern)
Returns the index of the preset date format for a given date format pattern.
|
static java.lang.String |
getDateFormatsString()
Returns the Format panel's current date format strings as a single newline separated string.
|
static java.lang.String |
getDefaultDateFormatsString()
Returns ReportMill's default date format strings as a single newline delimited String.
|
static java.lang.String |
getDefaultNumberFormatsString()
Returns ReportMill's default number format strings as a single newline delimited string.
|
static RMNumberFormat |
getNumberFormat(int anIndex)
Returns the preset number format at the given index.
|
static int |
getNumberFormatCount()
Returns the number of preset number formats available to the format panel.
|
static java.lang.String |
getNumberFormatsString()
Returns the Format panel's current number format strings as a single newline separated string.
|
javax.swing.JPanel |
getUI()
Returns the Swing GUI panel containing format inspector controls.
|
java.lang.String |
getWindowTitle()
Returns the name for the attributes panel window.
|
void |
resetUI()
Refreshes the format panel from the current editor selection.
|
void |
respondUI(java.lang.Object anObj)
Responds to changes from format panel GUI controls.
|
static void |
setDateFormatsString(java.lang.String aString)
Sets the FormatPanel's current date formats from a single newline separated string.
|
static void |
setNumberFormatsString(java.lang.String aString)
Sets the FormatPanel's current number formats from a single newline separated string.
|
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
public java.lang.String getWindowTitle()
public javax.swing.JPanel getUI()
public void resetUI()
public void respondUI(java.lang.Object anObj)
public static int getNumberFormatCount()
public static RMNumberFormat getNumberFormat(int anIndex)
public static java.lang.String getNumberFormatsString()
public static void setNumberFormatsString(java.lang.String aString)
public static int getDateFormatCount()
public static RMDateFormat getDateFormat(int anIndex)
public static int getDateFormatIndex(java.lang.String aPattern)
public static java.lang.String getDateFormatsString()
public static void setDateFormatsString(java.lang.String aString)
public static java.lang.String getDefaultNumberFormatsString()
public static java.lang.String getDefaultDateFormatsString()