Package adams.parser
Class LookUpUpdateText
- java.lang.Object
-
- adams.core.base.BaseObject
-
- adams.core.base.AbstractBaseString
-
- adams.gui.core.AbstractSimpleScript
-
- adams.parser.LookUpUpdateText
-
- All Implemented Interfaces:
CloneHandler<BaseObject>,Serializable,Comparable
public class LookUpUpdateText extends AbstractSimpleScript
Wrapper for a String object to be editable in the GOE. Basically the same as BaseString, but used for longer, multi-line strings. Uses a different GOE editor.- Version:
- $Revision: 10267 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.core.base.BaseObject
m_Internal, m_Properties, SUFFIX_DISPLAY, SUFFIX_VALUE
-
-
Constructor Summary
Constructors Constructor Description LookUpUpdateText()Initializes the string with length 0.LookUpUpdateText(String s)Initializes the object with the string to parse.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallowsInlineEditing()Returns whether inline editing in the GOE is allowed.protected StringgetScriptTipText()Returns the tip text for the script.AbstractTextEditorPanelWithSimpleSyntaxHighlightinggetTextEditorPanel()Returns the configured text editor panel to use in the GOE.StringstringValue()Returns the backquoted String value.-
Methods inherited from class adams.gui.core.AbstractSimpleScript
getTipText
-
Methods inherited from class adams.core.base.AbstractBaseString
convert, getValue, initialize, isEmpty, isValid, length, setValue
-
Methods inherited from class adams.core.base.BaseObject
compareTo, equals, getClone, getInternal, getTemplates, getUnicode, hasFavoritesSupport, hashCode, isValidUnicode, newInstance, setUnicode, toObjectArray, toObjectArray, toString, toStringArray, toStringList
-
-
-
-
Constructor Detail
-
LookUpUpdateText
public LookUpUpdateText()
Initializes the string with length 0.
-
LookUpUpdateText
public LookUpUpdateText(String s)
Initializes the object with the string to parse.- Parameters:
s- the string to parse
-
-
Method Detail
-
stringValue
public String stringValue()
Returns the backquoted String value.- Overrides:
stringValuein classAbstractSimpleScript- Returns:
- the backquoted String value
-
getScriptTipText
protected String getScriptTipText()
Returns the tip text for the script.- Specified by:
getScriptTipTextin classAbstractSimpleScript- Returns:
- the tool tip
-
getTextEditorPanel
public AbstractTextEditorPanelWithSimpleSyntaxHighlighting getTextEditorPanel()
Returns the configured text editor panel to use in the GOE.- Specified by:
getTextEditorPanelin classAbstractSimpleScript- Returns:
- the text editor panel
-
allowsInlineEditing
public boolean allowsInlineEditing()
Returns whether inline editing in the GOE is allowed.- Specified by:
allowsInlineEditingin classAbstractSimpleScript- Returns:
- true if inline editing is allowed
-
-