Package com.inductiveautomation.rm.app
Class FormatPanel
java.lang.Object
com.inductiveautomation.snap.ui.UIOwner<SwingEvent,JComponent>
 
com.inductiveautomation.snap.swing.SwingOwner
com.inductiveautomation.rm.app.FormatPanel
This class provides UI for showing the formatter from the currently selected shape and editing or changing it.
- 
Field SummaryFields 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
- 
Method SummaryModifier and TypeMethodDescriptionstatic RMDateFormatgetDateFormat(int anIndex) Returns the preset date format at the given index.static intReturns the number of preset date formats available to the format panel.static intgetDateFormatIndex(String aPattern) Returns the index of the preset date format for a given date format pattern.static StringReturns the Format panel's current date format strings as a single newline separated string.static StringReturns ReportMill's default date format strings as a single newline delimited String.static StringReturns 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 intReturns the number of preset number formats available to the format panel.static StringReturns the Format panel's current number format strings as a single newline separated string.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(String aString) Sets the FormatPanel's current date formats from a single newline separated string.static voidsetNumberFormatsString(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, setWindowVisibleMethods 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
- 
Constructor Details- 
FormatPanelpublic FormatPanel()
 
- 
- 
Method Details- 
initUIprotected void initUI()Initialize UI panel.- Overrides:
- initUIin class- UIOwner<SwingEvent,- JComponent> 
 
- 
resetUIpublic void resetUI()Reset UI panel.- Overrides:
- resetUIin class- UIOwner<SwingEvent,- JComponent> 
 
- 
respondUIResponds to changes from format panel UI controls.- Overrides:
- respondUIin class- UIOwner<SwingEvent,- JComponent> 
 
- 
getNumberFormatCountpublic static int getNumberFormatCount()Returns the number of preset number formats available to the format panel.
- 
getNumberFormatReturns the preset number format at the given index.
- 
getNumberFormatsStringReturns the Format panel's current number format strings as a single newline separated string.
- 
setNumberFormatsStringSets 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.
- 
getDateFormatReturns the preset date format at the given index.
- 
getDateFormatIndexReturns the index of the preset date format for a given date format pattern.
- 
getDateFormatsStringReturns the Format panel's current date format strings as a single newline separated string.
- 
setDateFormatsStringSets the FormatPanel's current date formats from a single newline separated string.
- 
getWindowTitleReturns the name for the attributes panel window.
- 
getDefaultNumberFormatsStringReturns ReportMill's default number format strings as a single newline delimited string.
- 
getDefaultDateFormatsStringReturns ReportMill's default date format strings as a single newline delimited String.
 
-