Package com.inductiveautomation.rm.tool
Class RMCrossTabAutoFormatPanel
java.lang.Object
com.inductiveautomation.snap.ui.UIOwner<SwingEvent,JComponent>
com.inductiveautomation.snap.swing.SwingOwner
com.inductiveautomation.rm.tool.RMCrossTabAutoFormatPanel
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.UIOwner
DragDrop, DragEnter, DragEvents, DragExit, DragOver, KeyEvents, KeyFinished, KeyPressed, KeyReleased, KeyTyped, MouseClicked, MouseDragged, MouseEntered, MouseEvents, MouseExited, MouseFinished, MouseMoved, MousePressed, MouseReleased
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyCellFormatting
(RMCrossTabCell aSourceCell, RMCrossTabCell aDestCell) Copy all relevant cell formatting options from source to destination.void
applyFormatting
(RMCrossTab aTable) Fills the destination table with all relevant formatting options from the selected table.Returns the selected template resource.protected void
initUI()
Initialize UI panel.void
respondUI
(SwingEvent anEvent) Respond to UI controls.retrievePanel
(RMCrossTab crosstab) void
showPanel
(JComponent aComp, RMCrossTab aTable) Run the panel for the given CrossTab.void
Resets the RMViewervoid
showSelectedTemplate
(WebFile template) Resets the RMViewerMethods inherited from class com.inductiveautomation.snap.swing.SwingOwner
addKeyActionEvent, 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.UIOwner
addNodeBinding, 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
-
Constructor Details
-
RMCrossTabAutoFormatPanel
public RMCrossTabAutoFormatPanel()
-
-
Method Details
-
showPanel
Run the panel for the given CrossTab. -
getTemplates
-
retrievePanel
-
initUI
protected void initUI()Initialize UI panel.- Overrides:
initUI
in classUIOwner<SwingEvent,
JComponent>
-
respondUI
Respond to UI controls.- Overrides:
respondUI
in classUIOwner<SwingEvent,
JComponent>
-
getSelectedTemplate
Returns the selected template resource. -
showSelectedTemplate
public void showSelectedTemplate()Resets the RMViewer -
showSelectedTemplate
Resets the RMViewer -
applyFormatting
Fills the destination table with all relevant formatting options from the selected table. -
applyCellFormatting
Copy all relevant cell formatting options from source to destination.
-