Package com.inductiveautomation.rm.app
Class Welcome
java.lang.Object
com.inductiveautomation.snap.ui.UIOwner<SwingEvent,JComponent>
com.inductiveautomation.snap.swing.SwingOwner
com.inductiveautomation.rm.app.Welcome
This class provides the welcome panel for RM.
-
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
close()
Close welcome.static Welcome
Returns the shared instance of the welcome panel.protected void
initUI()
Initializes the UI panel.boolean
Returns whether welcome panel is enabled.Creates a new editor for new or opened documents.void
Opens a document.void
respondUI
(SwingEvent anEvent) Respond to UI panel controls.void
Brings up the welcome panel.void
setEnabled
(boolean aValue) Sets whether welcome panel is enabled.Methods 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
-
Welcome
public Welcome()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Returns whether welcome panel is enabled. -
setEnabled
public void setEnabled(boolean aValue) Sets whether welcome panel is enabled. -
runWelcome
public void runWelcome()Brings up the welcome panel. -
close
public void close()Close welcome. -
initUI
protected void initUI()Initializes the UI panel.- Overrides:
initUI
in classUIOwner<SwingEvent,
JComponent>
-
respondUI
Respond to UI panel controls.- Overrides:
respondUI
in classUIOwner<SwingEvent,
JComponent>
-
open
Opens a document. If pathName is null, the open panel will be run. -
newEditorPane
Creates a new editor for new or opened documents.