Package com.reportmill.panels
Class FormatPanel
- java.lang.Object
- 
- com.reportmill.base.RMObject
- 
- com.reportmill.panels.FormatPanel
 
 
- 
- All Implemented Interfaces:
- RMArchiver.Archiving,- java.lang.Cloneable
 
 public class FormatPanel extends RMObject This class provides GUI for showing the formatter from the currently selected shape and editing or changing it.
- 
- 
Constructor SummaryConstructors Constructor Description FormatPanel()Creates a FormatPanel instance.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RMDateFormatgetDateFormat(int anIndex)Returns the preset date format at the given index.static intgetDateFormatCount()Returns the number of preset date formats available to the format panel.static intgetDateFormatIndex(java.lang.String aPattern)Returns the index of the preset date format for a given date format pattern.static java.lang.StringgetDateFormatsString()Returns the Format panel's current date format strings as a single newline separated string.static java.lang.StringgetDefaultDateFormatsString()Returns ReportMill's default date format strings as a single newline delimited String.static java.lang.StringgetDefaultNumberFormatsString()Returns ReportMill's default number format strings as a single newline delimited string.static RMNumberFormatgetNumberFormat(int anIndex)Returns the preset number format at the given index.static intgetNumberFormatCount()Returns the number of preset number formats available to the format panel.static java.lang.StringgetNumberFormatsString()Returns the Format panel's current number format strings as a single newline separated string.javax.swing.JPanelgetUI()Returns the Swing GUI panel containing format inspector controls.java.lang.StringgetWindowTitle()Returns the name for the attributes panel window.voidresetUI()Refreshes the format panel from the current editor selection.voidrespondUI(java.lang.Object anObj)Responds to changes from format panel GUI controls.static voidsetDateFormatsString(java.lang.String aString)Sets the FormatPanel's current date formats from a single newline separated string.static voidsetNumberFormatsString(java.lang.String aString)Sets the FormatPanel's current number formats from a single newline separated string.- 
Methods inherited from class com.reportmill.base.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
 
- 
 
- 
- 
- 
Method Detail- 
getWindowTitlepublic java.lang.String getWindowTitle() Returns the name for the attributes panel window.
 - 
getUIpublic javax.swing.JPanel getUI() Returns the Swing GUI panel containing format inspector controls.
 - 
resetUIpublic void resetUI() Refreshes the format panel from the current editor selection.
 - 
respondUIpublic void respondUI(java.lang.Object anObj) Responds to changes from format panel GUI controls.
 - 
getNumberFormatCountpublic static int getNumberFormatCount() Returns the number of preset number formats available to the format panel.
 - 
getNumberFormatpublic static RMNumberFormat getNumberFormat(int anIndex) Returns the preset number format at the given index.
 - 
getNumberFormatsStringpublic static java.lang.String getNumberFormatsString() Returns the Format panel's current number format strings as a single newline separated string.
 - 
setNumberFormatsStringpublic static void setNumberFormatsString(java.lang.String aString) Sets the FormatPanel's current number formats from a single newline separated string.
 - 
getDateFormatCountpublic static int getDateFormatCount() Returns the number of preset date formats available to the format panel.
 - 
getDateFormatpublic static RMDateFormat getDateFormat(int anIndex) Returns the preset date format at the given index.
 - 
getDateFormatIndexpublic static int getDateFormatIndex(java.lang.String aPattern) Returns the index of the preset date format for a given date format pattern.
 - 
getDateFormatsStringpublic static java.lang.String getDateFormatsString() Returns the Format panel's current date format strings as a single newline separated string.
 - 
setDateFormatsStringpublic static void setDateFormatsString(java.lang.String aString) Sets the FormatPanel's current date formats from a single newline separated string.
 - 
getDefaultNumberFormatsStringpublic static java.lang.String getDefaultNumberFormatsString() Returns ReportMill's default number format strings as a single newline delimited string.
 - 
getDefaultDateFormatsStringpublic static java.lang.String getDefaultDateFormatsString() Returns ReportMill's default date format strings as a single newline delimited String.
 
- 
 
-