public class ScriptEntry extends MenuNode
MenuNode.FontStyle| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_ARGS |
static java.lang.String |
DEFAULT_FILE_NAME |
static PropertyList |
myProps |
DEFAULT_FONT_NAME, DEFAULT_FONT_SIZE, DEFAULT_FONT_STYLE, DEFAULT_ICON, DEFAULT_TITLE, myDefaultFont, myMenuDefaultFont| Constructor and Description |
|---|
ScriptEntry() |
ScriptEntry(java.lang.String fileName,
java.lang.String title,
java.lang.String[] args) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(MenuNode node) |
boolean |
fileNameIsEmpty() |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
java.lang.String |
getArgs() |
javax.swing.JMenuItem |
getComponent() |
java.io.File |
getFile() |
java.lang.String |
getFileName() |
ModelScriptInfo |
getScriptInfo() |
java.lang.String |
getTitle() |
ModelScriptMenuParser.MenuType |
getType() |
void |
set(ScriptEntry modelEntry) |
void |
setArgs(java.lang.String args) |
void |
setFile(java.io.File file) |
void |
setFileName(java.lang.String fileName) |
void |
setScriptInfo(ModelScriptInfo info) |
void |
setTitle(java.lang.String title) |
java.lang.String |
toString() |
java.awt.Component |
updateComponent(ModelScriptMenu modelMenu) |
compareTo, getFont, getFontName, getFontSize, getFontSpec, getFontStyle, getFontStyle, getIcon, getIndex, getParent, getProperty, numChildren, set, setFont, setFontName, setFontSize, setFontSpec, setFontStyle, setIcon, titleIsEmptypublic static final java.lang.String DEFAULT_FILE_NAME
public static final java.lang.String DEFAULT_ARGS
public static PropertyList myProps
public ScriptEntry()
public ScriptEntry(java.lang.String fileName,
java.lang.String title,
java.lang.String[] args)
public PropertyList getAllPropertyInfo()
HasPropertiesgetAllPropertyInfo in interface HasPropertiesgetAllPropertyInfo in class MenuNodepublic ModelScriptInfo getScriptInfo()
public void setScriptInfo(ModelScriptInfo info)
public boolean fileNameIsEmpty()
public java.lang.String getFileName()
public java.io.File getFile()
public void setFile(java.io.File file)
public void setFileName(java.lang.String fileName)
public java.lang.String getArgs()
public void setArgs(java.lang.String args)
public ModelScriptMenuParser.MenuType getType()
public void set(ScriptEntry modelEntry)
public javax.swing.JMenuItem getComponent()
getComponent in class MenuNodepublic java.awt.Component updateComponent(ModelScriptMenu modelMenu)
updateComponent in class MenuNode