Package com.inductiveautomation.rm.app
Class FormatPanel
- java.lang.Object
- 
- com.inductiveautomation.snap.ui.UIOwner<SwingEvent,javax.swing.JComponent>
- 
- com.inductiveautomation.snap.swing.SwingOwner
- 
- com.inductiveautomation.rm.app.FormatPanel
 
 
 
- 
 public class FormatPanel extends SwingOwner This class provides UI for showing the formatter from the currently selected shape and editing or changing it.
- 
- 
Field Summary- 
Fields inherited from class com.inductiveautomation.snap.ui.UIOwnerDragDrop, DragEnter, DragEvents, DragExit, DragOver, KeyEvents, KeyFinished, KeyPressed, KeyReleased, KeyTyped, MouseClicked, MouseDragged, MouseEntered, MouseEvents, MouseExited, MouseFinished, MouseMoved, MousePressed, MouseReleased
 
- 
 - 
Constructor SummaryConstructors Constructor Description FormatPanel()
 - 
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.java.lang.StringgetWindowTitle()Returns the name for the attributes panel window.protected voidinitUI()Initialize UI panel.voidresetUI()Reset UI panel.voidrespondUI(SwingEvent anEvent)Responds to changes from format panel UI 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.inductiveautomation.snap.swing.SwingOwneraddKeyActionEvent, createTimer, createUI, createUI, createWindow, getNode, getNode, getNodeHelper, getTimer, getTimer, getUI, getWindow, isEventThread, isWindowVisible, requestFocus, requestFocusImpl, runLater, sendEvent, setWindowVisible
 - 
Methods inherited from class com.inductiveautomation.snap.ui.UIOwneraddNodeBinding, disableEvents, enableEvents, getBindingModelValue, getBindingNodeValue, getConversionMap, getConversionMapKey, getConversionMaps, getConversionMapValue, getFirstFocus, getModelValue, getNode, getNodeAction, getNodeBoolValue, getNodeFloatValue, getNodeIntValue, getNodeItemDisplayKey, getNodeItems, getNodeSelectedIndex, getNodeSelectedItem, getNodeStringValue, getNodeText, getNodeValue, getUI, getUIHpr, initUI, isNodeEnabled, isNodeValueAdjusting, isSendEventDisabled, isUISet, processResetUI, processRespondUI, resetLater, resetNodeBindings, runLaterDelayed, runLaterOnce, sendEvent, sendNodeAction, setBindingModelValue, setBindingNodeValue, setFirstFocus, setModelValue, setNodeAction, setNodeEnabled, setNodeItemDisplayKey, setNodeItems, setNodeItems, setNodeSelectedIndex, setNodeSelectedItem, setNodeText, setNodeValue, setSendEventDisabled
 
- 
 
- 
- 
- 
Method Detail- 
initUIprotected void initUI() Initialize UI panel.- Overrides:
- initUIin class- UIOwner<SwingEvent,javax.swing.JComponent>
 
 - 
resetUIpublic void resetUI() Reset UI panel.- Overrides:
- resetUIin class- UIOwner<SwingEvent,javax.swing.JComponent>
 
 - 
respondUIpublic void respondUI(SwingEvent anEvent) Responds to changes from format panel UI controls.- Overrides:
- respondUIin class- UIOwner<SwingEvent,javax.swing.JComponent>
 
 - 
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.
 - 
getWindowTitlepublic java.lang.String getWindowTitle() Returns the name for the attributes panel window.
 - 
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.
 
- 
 
-