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 TypeMethodDescriptionvoidclose()Close welcome.static WelcomeReturns the shared instance of the welcome panel.protected voidinitUI()Initializes the UI panel.booleanReturns whether welcome panel is enabled.Creates a new editor for new or opened documents.voidOpens a document.voidrespondUI(SwingEvent anEvent) Respond to UI panel controls.voidBrings up the welcome panel.voidsetEnabled(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, setWindowVisibleMethods 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:
initUIin classUIOwner<SwingEvent,JComponent>
-
respondUI
Respond to UI panel controls.- Overrides:
respondUIin 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.