public class PackageEntry extends MenuEntry
MenuNode.FontStyle| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_COMPACT |
static boolean |
DEFAULT_FLAT_VIEW |
static java.lang.String |
DEFAULT_PACKAGE_NAME |
static PropertyList |
myProps |
DEFAULT_FONT_NAME, DEFAULT_FONT_SIZE, DEFAULT_FONT_STYLE, DEFAULT_ICON, DEFAULT_TITLE, myDefaultFont, myMenuDefaultFont| Constructor and Description |
|---|
PackageEntry(java.lang.String title) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
childNodesAreValid() |
void |
createChildNodes(RootModelManager rmm,
boolean useCache)
Expands the nodes for this package entry given all of its attributes.
|
boolean |
equals(MenuNode node) |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
int |
getCompact() |
boolean |
getFlatView() |
java.lang.String |
getPackageName() |
Range |
getPackageNameRange() |
void |
invalidateChildNodes() |
void |
set(PackageEntry pentry) |
void |
setCompact(int compact) |
void |
setFlatView(boolean flat) |
void |
setFont(java.awt.Font font) |
void |
setMaxRows(int max) |
void |
setPackageName(java.lang.String name) |
void |
setScrolling(boolean scrolling) |
void |
updateChildNodes(RootModelManager rmm) |
addChild, addChild, buildJMenu, clearChildren, compareTo, getChild, getChildren, getComponent, getMaxRows, getPrefix, invalidateMenu, invalidateMenusToRoot, isExpandable, isMenuValid, isScrolling, moveChild, numChildren, removeChild, set, setExpandable, setJMenu, shiftChildren, sortMenu, treeEquals, updateComponentgetFont, getFontName, getFontSize, getFontSpec, getFontStyle, getFontStyle, getIcon, getIndex, getParent, getProperty, getTitle, getType, set, setFontName, setFontSize, setFontSpec, setFontStyle, setIcon, setTitle, titleIsEmpty, toStringpublic static final java.lang.String DEFAULT_PACKAGE_NAME
public static final int DEFAULT_COMPACT
public static final boolean DEFAULT_FLAT_VIEW
public static PropertyList myProps
public PropertyList getAllPropertyInfo()
HasPropertiesgetAllPropertyInfo in interface HasPropertiesgetAllPropertyInfo in class MenuEntrypublic java.lang.String getPackageName()
public void setPackageName(java.lang.String name)
public Range getPackageNameRange()
public void setCompact(int compact)
public int getCompact()
public void setFlatView(boolean flat)
public boolean getFlatView()
public void setMaxRows(int max)
setMaxRows in class MenuEntrypublic void setScrolling(boolean scrolling)
setScrolling in class MenuEntrypublic void updateChildNodes(RootModelManager rmm)
public void createChildNodes(RootModelManager rmm, boolean useCache)
useCache - TODOpublic void set(PackageEntry pentry)
public void invalidateChildNodes()
public boolean childNodesAreValid()