public class ModelEntry extends MenuNode
MenuNode.FontStyle
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_BUILD_ARGS |
static java.lang.String |
DEFAULT_CLASS_NAME |
static PropertyList |
myProps |
DEFAULT_FONT_NAME, DEFAULT_FONT_SIZE, DEFAULT_FONT_STYLE, DEFAULT_ICON, DEFAULT_TITLE, myDefaultFont, myMenuDefaultFont
Constructor and Description |
---|
ModelEntry() |
ModelEntry(java.lang.String classname,
java.lang.String name,
java.lang.String[] args) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(MenuNode node) |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
java.lang.String |
getBuildArgs() |
java.lang.String |
getClassName() |
Range |
getClassNameRange() |
javax.swing.JMenuItem |
getComponent() |
ModelScriptInfo |
getModel() |
java.lang.String |
getTitle() |
ModelScriptMenuParser.MenuType |
getType() |
void |
set(ModelEntry modelEntry) |
void |
setBuildArgs(java.lang.String buildArgs) |
void |
setClassName(java.lang.String className) |
void |
setModel(ModelScriptInfo model) |
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, titleIsEmpty
public static final java.lang.String DEFAULT_CLASS_NAME
public static final java.lang.String DEFAULT_BUILD_ARGS
public static PropertyList myProps
public ModelEntry()
public ModelEntry(java.lang.String classname, java.lang.String name, java.lang.String[] args)
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
getAllPropertyInfo
in class MenuNode
public ModelScriptInfo getModel()
public void setModel(ModelScriptInfo model)
public java.lang.String getClassName()
public void setClassName(java.lang.String className)
public Range getClassNameRange()
public java.lang.String getBuildArgs()
public void setBuildArgs(java.lang.String buildArgs)
public ModelScriptMenuParser.MenuType getType()
public void set(ModelEntry modelEntry)
public javax.swing.JMenuItem getComponent()
getComponent
in class MenuNode
public java.awt.Component updateComponent(ModelScriptMenu modelMenu)
updateComponent
in class MenuNode