adams.core.scripting
Class JythonScript
java.lang.Object
adams.core.base.BaseObject
adams.core.base.AbstractBaseString
adams.gui.core.AbstractScript
adams.core.scripting.JythonScript
- All Implemented Interfaces:
- adams.core.CloneHandler<BaseObject>, Serializable, Comparable
public class JythonScript
- extends adams.gui.core.AbstractScript
Wrapper for a Jython scripts to be editable in the GOE.
- Version:
- $Revision: 5016 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
| Methods inherited from class adams.gui.core.AbstractScript |
getTipText, stringValue |
JythonScript
public JythonScript()
- Initializes the string with length 0.
JythonScript
public JythonScript(String s)
- Initializes the object with the string to parse.
- Parameters:
s - the string to parse
getScriptTipText
protected String getScriptTipText()
- Returns the tip text for the script.
- Specified by:
getScriptTipText in class adams.gui.core.AbstractScript
- Returns:
- the tool tip
getTextEditorPanel
public adams.gui.core.AbstractTextEditorPanelWithSyntaxHighlighting getTextEditorPanel()
- Returns the configured text editor panel to use in the GOE.
- Specified by:
getTextEditorPanel in class adams.gui.core.AbstractScript
- Returns:
- the text editor panel
allowsInlineEditing
public boolean allowsInlineEditing()
- Returns whether inline editing in the GOE is allowed.
- Specified by:
allowsInlineEditing in class adams.gui.core.AbstractScript
- Returns:
- true if inline editing is allowed
Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.