Package adams.core.scripting
Class JepScript
- java.lang.Object
-
- adams.core.base.BaseObject
-
- adams.core.base.AbstractBaseString
-
- adams.gui.core.AbstractAdvancedScript
-
- adams.core.scripting.JepScript
-
- All Implemented Interfaces:
adams.core.CloneHandler<adams.core.base.BaseObject>,Serializable,Comparable
public class JepScript extends adams.gui.core.AbstractAdvancedScriptWrapper for a Jep scripts to be editable in the GOE.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
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.adams.gui.core.AbstractTextAreaPanelWithAdvancedSyntaxHighlightinggetTextAreaPanel()Returns the configured text editor panel to use in the GOE.-
Methods inherited from class adams.core.base.AbstractBaseString
convert, getValue, initialize, isEmpty, isValid, length, setValue
-
-
-
-
Constructor Detail
-
JepScript
public JepScript()
Initializes the string with length 0.
-
JepScript
public JepScript(String s)
Initializes the object with the string to parse.- Parameters:
s- the string to parse
-
-
Method Detail
-
getScriptTipText
protected String getScriptTipText()
Returns the tip text for the script.- Specified by:
getScriptTipTextin classadams.gui.core.AbstractAdvancedScript- Returns:
- the tool tip
-
getTextAreaPanel
public adams.gui.core.AbstractTextAreaPanelWithAdvancedSyntaxHighlighting getTextAreaPanel()
Returns the configured text editor panel to use in the GOE.- Specified by:
getTextAreaPanelin classadams.gui.core.AbstractAdvancedScript- Returns:
- the text editor panel
-
allowsInlineEditing
public boolean allowsInlineEditing()
Returns whether inline editing in the GOE is allowed.- Specified by:
allowsInlineEditingin classadams.gui.core.AbstractAdvancedScript- Returns:
- true if inline editing is allowed
-
-