Package com.inductiveautomation.rm.tool
Class RMCrossTabAutoFormatPanel
- java.lang.Object
- 
- com.inductiveautomation.snap.ui.UIOwner<SwingEvent,javax.swing.JComponent>
- 
- com.inductiveautomation.snap.swing.SwingOwner
- 
- com.inductiveautomation.rm.tool.RMCrossTabAutoFormatPanel
 
 
 
- 
 public class RMCrossTabAutoFormatPanel extends SwingOwner A tool to set formatting options on a simple table from a list of templates.
- 
- 
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 RMCrossTabAutoFormatPanel()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyCellFormatting(RMCrossTabCell aSourceCell, RMCrossTabCell aDestCell)Copy all relevant cell formatting options from source to destination.voidapplyFormatting(RMCrossTab aTable)Fills the destination table with all relevant formatting options from the selected table.RMDocumentgetSelectedTemplate()Returns the selected template resource.java.util.Map<java.lang.String,WebFile>getTemplates()protected voidinitUI()Initialize UI panel.voidrespondUI(SwingEvent anEvent)Respond to UI controls.SpringsPaneretrievePanel(RMCrossTab crosstab)voidshowPanel(javax.swing.JComponent aComp, RMCrossTab aTable)Run the panel for the given CrossTab.voidshowSelectedTemplate()Resets the RMViewervoidshowSelectedTemplate(WebFile template)Resets the RMViewer- 
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, resetUI, runLaterDelayed, runLaterOnce, sendEvent, sendNodeAction, setBindingModelValue, setBindingNodeValue, setFirstFocus, setModelValue, setNodeAction, setNodeEnabled, setNodeItemDisplayKey, setNodeItems, setNodeItems, setNodeSelectedIndex, setNodeSelectedItem, setNodeText, setNodeValue, setSendEventDisabled
 
- 
 
- 
- 
- 
Method Detail- 
showPanelpublic void showPanel(javax.swing.JComponent aComp, RMCrossTab aTable)Run the panel for the given CrossTab.
 - 
getTemplatespublic java.util.Map<java.lang.String,WebFile> getTemplates() 
 - 
retrievePanelpublic SpringsPane retrievePanel(RMCrossTab crosstab) 
 - 
initUIprotected void initUI() Initialize UI panel.- Overrides:
- initUIin class- UIOwner<SwingEvent,javax.swing.JComponent>
 
 - 
respondUIpublic void respondUI(SwingEvent anEvent) Respond to UI controls.- Overrides:
- respondUIin class- UIOwner<SwingEvent,javax.swing.JComponent>
 
 - 
getSelectedTemplatepublic RMDocument getSelectedTemplate() Returns the selected template resource.
 - 
showSelectedTemplatepublic void showSelectedTemplate() Resets the RMViewer
 - 
showSelectedTemplatepublic void showSelectedTemplate(WebFile template) Resets the RMViewer
 - 
applyFormattingpublic void applyFormatting(RMCrossTab aTable) Fills the destination table with all relevant formatting options from the selected table.
 - 
applyCellFormattingpublic void applyCellFormatting(RMCrossTabCell aSourceCell, RMCrossTabCell aDestCell) Copy all relevant cell formatting options from source to destination.
 
- 
 
-