java.lang.Objectcom.ibm.commerce.tools.common.ui.DynamicTreeIconType
Creates an icon type to be matched in DynamicTreeNode.iconType.
An icon type can contain many icons. When a DynamicTreeNode.iconType matches a DynamicTreeIconType.iconType, the icon(s) specified in icons is displayed in front of this DynamicTreeNode in the client browser tree.
Field Summary | |
static java.lang.String | COPYRIGHT IBM copyright notice field. |
protected java.lang.String[] | icons Contains the icon image filenames qualified from the /web/images/tools/ directory. |
protected java.lang.String | iconType Defines the name of the DynamicTreeIconType. |
Constructor Summary | |
DynamicTreeIconType() Default constructor. |
|
DynamicTreeIconType(java.lang.String iconType, java.lang.String icons) Creates a new DynamicTreeIconType loaded with an iconType and the list of icon image values. |
|
DynamicTreeIconType(java.lang.String iconType, java.lang.String[] icons) Creates a new DynamicTreeIconType loaded with an iconType and the list of icon image values. |
Method Summary | |
java.lang.String[] | getIcons() Returns the icons field. |
java.lang.String | getIconType() Returns the icon type field. |
void | iconToJS(java.lang.StringBuffer sb, int i) Converts the icons field to JavaScript. |
void | setIcons(java.lang.String[] newIcons) Sets the icons field |
void | setIconType(java.lang.String newIconType) Sets the iconType field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
protected java.lang.String iconType
protected java.lang.String[] icons
Constructor Detail |
public DynamicTreeIconType()
public DynamicTreeIconType(java.lang.String iconType, java.lang.String[] icons)
public DynamicTreeIconType(java.lang.String iconType, java.lang.String icons)
Method Detail |
public java.lang.String[] getIcons()
public java.lang.String getIconType()
public void iconToJS(java.lang.StringBuffer sb, int i)
public void setIcons(java.lang.String[] newIcons)
public void setIconType(java.lang.String newIconType)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.