public class ScriptItem extends java.lang.Object implements java.lang.Comparable<ScriptItem>
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
EDITOR_SCRIPT |
Constructor and Description |
---|
ScriptItem(java.io.File scriptFile) |
ScriptItem(java.lang.String scriptSource) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ScriptItem o) |
java.lang.String |
getDescription() |
java.io.File |
getFile() |
java.lang.String |
getFileName() |
java.util.ResourceBundle |
getResourceBundle() |
java.lang.String |
getScriptName() |
java.lang.String |
getText() |
java.lang.String |
getToolTip() |
void |
setText(java.lang.String text) |
java.lang.String |
toString() |
protected static final java.lang.String EDITOR_SCRIPT
public ScriptItem(java.lang.String scriptSource)
public ScriptItem(java.io.File scriptFile)
public java.util.ResourceBundle getResourceBundle()
public java.lang.String getScriptName()
public java.lang.String getFileName()
public java.io.File getFile()
public java.lang.String getDescription()
public java.lang.String getToolTip()
public java.lang.String getText() throws java.io.FileNotFoundException, java.io.IOException
java.io.FileNotFoundException
java.io.IOException
public void setText(java.lang.String text) throws java.io.UnsupportedEncodingException, java.io.IOException
java.io.UnsupportedEncodingException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(ScriptItem o)
compareTo
in interface java.lang.Comparable<ScriptItem>