Package com.inductiveautomation.rm.app
Class Welcome
- java.lang.Object
-
- com.inductiveautomation.snap.ui.UIOwner<SwingEvent,javax.swing.JComponent>
-
- com.inductiveautomation.snap.swing.SwingOwner
-
- com.inductiveautomation.rm.app.Welcome
-
public class Welcome extends SwingOwner
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 Constructor Description Welcome()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close welcome.static WelcomegetShared()Returns the shared instance of the welcome panel.protected voidinitUI()Initializes the UI panel.booleanisEnabled()Returns whether welcome panel is enabled.RMEditorPanenewEditorPane()Creates a new editor for new or opened documents.voidopen(java.lang.String aPath)Opens a document.voidrespondUI(SwingEvent anEvent)Respond to UI panel controls.voidrunWelcome()Brings 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, 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
-
-
-
-
Method Detail
-
getShared
public static Welcome getShared()
Returns the shared instance of the welcome panel.
-
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,javax.swing.JComponent>
-
respondUI
public void respondUI(SwingEvent anEvent)
Respond to UI panel controls.- Overrides:
respondUIin classUIOwner<SwingEvent,javax.swing.JComponent>
-
open
public void open(java.lang.String aPath)
Opens a document. If pathName is null, the open panel will be run.
-
newEditorPane
public RMEditorPane newEditorPane()
Creates a new editor for new or opened documents.
-
-