Package com.inductiveautomation.rm.text
Class RMTextPane
java.lang.Object
com.inductiveautomation.snap.ui.UIOwner<SwingEvent,JComponent>
 
com.inductiveautomation.snap.swing.SwingOwner
com.inductiveautomation.rm.text.RMTextPane
A simple text pane.
- 
Field SummaryFields 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
- 
Method SummaryModifier and TypeMethodDescriptiongetText()Returns the text string.Returns the text area.Returns the text editor.protected voidinitUI()Override to add SaveAction KeyActionEvent.voidresetUI()Reset ui.voidrespondUI(SwingEvent anEvent) Respond to Swing UI controls.voidsaveFile()Save file.voidSets the text string.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, setWindowVisibleMethods 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
- 
Constructor Details- 
RMTextPanepublic RMTextPane()
 
- 
- 
Method Details- 
getTextAreaReturns the text area.
- 
getTextEditorReturns the text editor.
- 
getTextReturns the text string.
- 
setTextSets the text string.
- 
initUIprotected void initUI()Override to add SaveAction KeyActionEvent.- Overrides:
- initUIin class- UIOwner<SwingEvent,- JComponent> 
 
- 
resetUIpublic void resetUI()Reset ui.- Overrides:
- resetUIin class- UIOwner<SwingEvent,- JComponent> 
 
- 
respondUIRespond to Swing UI controls.- Overrides:
- respondUIin class- UIOwner<SwingEvent,- JComponent> 
 
- 
saveFilepublic void saveFile()Save file.
 
-