|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectechopoint.tree.DefaultTreeIcons
public class DefaultTreeIcons
This class hold a series of "named" image icons, used by the Tree during rendering, for visuals such as lines between nodes and expansion handles.
Field Summary | |
---|---|
static int |
DEFAULT_HEIGHT
the default height of the icons |
static int |
DEFAULT_WIDTH
the default width of the icons |
protected java.util.Map |
iconMap
the map of icons images to names |
static ImageReference |
treeEmpty
default tree icons |
static ImageReference |
treeFolder
|
static ImageReference |
treeFolderOpen
|
static ImageReference |
treeJoin
|
static ImageReference |
treeJoinBottom
|
static ImageReference |
treeLeaf
|
static ImageReference |
treeLine
|
static ImageReference |
treeMinus
|
static ImageReference |
treeMinusBottom
|
static ImageReference |
treePlus
|
static ImageReference |
treePlusBottom
|
static ImageReference |
treeRoot
|
Fields inherited from interface echopoint.tree.TreeIcons |
---|
ICON_EMPTY, ICON_FOLDER, ICON_FOLDEROPEN, ICON_JOIN, ICON_JOINBOTTOM, ICON_JOINNOLINE, ICON_LEAF, ICON_LINE, ICON_MINUS, ICON_MINUSBOTTOM, ICON_PLUS, ICON_PLUSBOTTOM, ICON_ROOT, ICON_ROOTOPEN |
Constructor Summary | |
---|---|
DefaultTreeIcons()
Creates the DefaultTreeIcons with the default static default icon images |
Method Summary | |
---|---|
ImageReference |
getIcon(java.lang.String iconName)
Returns an icon image with the given name |
void |
setIcon(java.lang.String iconName,
ImageReference iconImage)
Sets a named icon into the TreeIcon object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Map iconMap
public static final int DEFAULT_WIDTH
public static final int DEFAULT_HEIGHT
public static ImageReference treeEmpty
public static ImageReference treeFolder
public static ImageReference treeFolderOpen
public static ImageReference treeLeaf
public static ImageReference treeJoin
public static ImageReference treeJoinBottom
public static ImageReference treeLine
public static ImageReference treeMinus
public static ImageReference treeMinusBottom
public static ImageReference treePlus
public static ImageReference treePlusBottom
public static ImageReference treeRoot
Constructor Detail |
---|
public DefaultTreeIcons()
Method Detail |
---|
public ImageReference getIcon(java.lang.String iconName)
getIcon
in interface TreeIcons
public void setIcon(java.lang.String iconName, ImageReference iconImage)
setIcon
in interface TreeIcons
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |