Package com.inductiveautomation.rm.app
Class DataSourcePanel
- java.lang.Object
- 
- com.inductiveautomation.snap.ui.UIOwner<SwingEvent,javax.swing.JComponent>
- 
- com.inductiveautomation.snap.swing.SwingOwner
- 
- com.inductiveautomation.rm.app.DataSourcePanel
 
 
 
- 
 public class DataSourcePanel extends SwingOwner This class manages UI display and editing of editor's datasource.
- 
- 
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 DataSourcePanel()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description RMShapegetSelectedShape()Returns the currently selected shape.java.lang.StringgetWindowTitle()Returns the name to be used in the inspector panel window title.protected voidinitUI()Initialize UI panel for the datasource inspector.voidresetUI()Resets UI from the current editor's datasource.voidrespondUI(SwingEvent anEvent)Responds to changes from the datasource inspector panel's controls.voidsaveAsXML(RMDataSource source)Saves the current datasource's dataset as an xml dataset.- 
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 for the datasource inspector.- Overrides:
- initUIin class- UIOwner<SwingEvent,javax.swing.JComponent>
 
 - 
resetUIpublic void resetUI() Resets UI from the current editor's datasource.- Overrides:
- resetUIin class- UIOwner<SwingEvent,javax.swing.JComponent>
 
 - 
respondUIpublic void respondUI(SwingEvent anEvent) Responds to changes from the datasource inspector panel's controls.- Overrides:
- respondUIin class- UIOwner<SwingEvent,javax.swing.JComponent>
 
 - 
saveAsXMLpublic void saveAsXML(RMDataSource source) Saves the current datasource's dataset as an xml dataset.
 - 
getSelectedShapepublic RMShape getSelectedShape() Returns the currently selected shape.
 - 
getWindowTitlepublic java.lang.String getWindowTitle() Returns the name to be used in the inspector panel window title.
 
- 
 
-