|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.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 | |
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 iconType field. |
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 |
protected java.lang.String[] icons
protected java.lang.String iconType
DynamicTreeNode.iconType
Constructor Detail |
public DynamicTreeIconType()
public DynamicTreeIconType(java.lang.String iconType, java.lang.String icons)
iconType
- The name of this DynamicTreeIconType.icons
- The icon image file qualified from /web/images/tools/. This
value is converted into an array and put into the icons
field.public DynamicTreeIconType(java.lang.String iconType, java.lang.String[] icons)
iconType
- The name of this DynamicTreeIconType.icons
- The list of icon image files qualified from /web/images/tools/Method Detail |
public java.lang.String[] getIcons()
icons
field.public java.lang.String getIconType()
public void setIcons(java.lang.String[] newIcons)
icons
fieldnewIcons
- An array of icon image paths qualified by /web/images/tools/.
New Strings are created for each element in case a reference was passed.public void setIconType(java.lang.String newIconType)
iconType
fieldnewIconType
- The iconType.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |