Class TextlikeComponent.TextLikeExtensionFunctionPanel
java.lang.Object
com.inductiveautomation.ignition.designer.util.TextlikeComponent
com.inductiveautomation.ignition.designer.util.TextlikeComponent.TextLikeExtensionFunctionPanel
- Enclosing class:
TextlikeComponent
Wrapper for the extension-function panel. Replace operations preserve the panel-managed
def line by writing through ExtensionFunctionPanel.setUserScript(String); insert
operations target the inner text area's selection. The full-text getter returns the entire
editor text including the def line so snapshots see what the user sees.-
Nested Class Summary
Nested classes/interfaces inherited from class TextlikeComponent
TextlikeComponent.TableTextComponent, TextlikeComponent.TextEditorState, TextlikeComponent.TextLikeCodeEditor, TextlikeComponent.TextLikeComboBox, TextlikeComponent.TextLikeExtensionFunctionPanel, TextlikeComponent.TextLikeScriptEditor, TextlikeComponent.TextLikeTextComponent -
Constructor Summary
ConstructorsConstructorDescriptionTextLikeExtensionFunctionPanel(com.inductiveautomation.ignition.designer.gui.tools.ExtensionFunctionPanel comp) -
Method Summary
Modifier and TypeMethodDescriptiongetText()voidInserts text into the component, in whatever way is meaningful for that component.voidvoidReplaces the component's entire contents.
-
Constructor Details
-
TextLikeExtensionFunctionPanel
public TextLikeExtensionFunctionPanel(com.inductiveautomation.ignition.designer.gui.tools.ExtensionFunctionPanel comp)
-
-
Method Details
-
requestFocus
public void requestFocus()- Specified by:
requestFocusin classTextlikeComponent
-
insert
Description copied from class:TextlikeComponentInserts text into the component, in whatever way is meaningful for that component. A free-text component splices at the caret, replacing any active selection. A single-value component — a text field, a combo box, a table cell — has no interior to splice into, so the text becomes its new value.- Specified by:
insertin classTextlikeComponent
-
setText
Description copied from class:TextlikeComponentReplaces the component's entire contents.- Specified by:
setTextin classTextlikeComponent
-
getText
- Specified by:
getTextin classTextlikeComponent
-
getEditorState
- Overrides:
getEditorStatein classTextlikeComponent
-
getInternalComponent
- Specified by:
getInternalComponentin classTextlikeComponent
-