Package com.inductiveautomation.rm.text
Class RMTextPane
- java.lang.Object
-
- com.inductiveautomation.snap.ui.UIOwner<SwingEvent,javax.swing.JComponent>
-
- com.inductiveautomation.snap.swing.SwingOwner
-
- com.inductiveautomation.rm.text.RMTextPane
-
public class RMTextPane extends SwingOwner
A simple text pane.
-
-
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 RMTextPane()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getText()
Returns the text string.RMTextArea
getTextArea()
Returns the text area.RMTextEditor
getTextEditor()
Returns the text editor.protected void
initUI()
Override to add SaveAction KeyActionEvent.void
resetUI()
Reset ui.void
respondUI(SwingEvent anEvent)
Respond to Swing UI controls.void
saveFile()
Save file.void
setText(java.lang.String aString)
Sets the text string.-
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, runLaterDelayed, runLaterOnce, sendEvent, sendNodeAction, setBindingModelValue, setBindingNodeValue, setFirstFocus, setModelValue, setNodeAction, setNodeEnabled, setNodeItemDisplayKey, setNodeItems, setNodeItems, setNodeSelectedIndex, setNodeSelectedItem, setNodeText, setNodeValue, setSendEventDisabled
-
-
-
-
Method Detail
-
getTextArea
public RMTextArea getTextArea()
Returns the text area.
-
getTextEditor
public RMTextEditor getTextEditor()
Returns the text editor.
-
getText
public java.lang.String getText()
Returns the text string.
-
setText
public void setText(java.lang.String aString)
Sets the text string.
-
initUI
protected void initUI()
Override to add SaveAction KeyActionEvent.- Overrides:
initUI
in classUIOwner<SwingEvent,javax.swing.JComponent>
-
resetUI
public void resetUI()
Reset ui.- Overrides:
resetUI
in classUIOwner<SwingEvent,javax.swing.JComponent>
-
respondUI
public void respondUI(SwingEvent anEvent)
Respond to Swing UI controls.- Overrides:
respondUI
in classUIOwner<SwingEvent,javax.swing.JComponent>
-
saveFile
public void saveFile()
Save file.
-
-