SPT Core API

com.sptci.epng
Class TreeIcons

java.lang.Object
  extended by echopointng.tree.DefaultTreeIcons
      extended by com.sptci.epng.TreeIcons
All Implemented Interfaces:
TreeIcons, Serializable

public class TreeIcons
extends DefaultTreeIcons

A class that is used to customise the appearance of the Tree component.

Note: It is important that you include the svn/images directory into the root of the war file for the images to be available to your application.

Copyright 2006 Sans Pareil Technologies, Inc.

Version:
$Id: TreeIcons.java 4553 2008-12-24 10:34:16Z rakesh $
Author:
Rakesh Vidyadharan 2006-11-23
See Also:
Serialized Form

Field Summary
static ImageReference closedFolderIcon
          The image to use for the closed folder icon
static ImageReference folderCloseIcon
          The image to use for the folder close icon
static ImageReference folderOpenIcon
          The image to use for the folder open icon
static ImageReference openFolderIcon
          The image to use for the open folder icon
 
Fields inherited from class echopointng.tree.DefaultTreeIcons
DEFAULT_HEIGHT, DEFAULT_WIDTH, iconMap, treeEmpty, treeFolder, treeFolderOpen, treeJoin, treeJoinBottom, treeLeaf, treeLine, treeMinus, treeMinusBottom, treePlus, treePlusBottom, treeRoot
 
Fields inherited from interface echopointng.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
TreeIcons()
          Default constructor.
 
Method Summary
 
Methods inherited from class echopointng.tree.DefaultTreeIcons
getIcon, setIcon
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

folderCloseIcon

public static final ImageReference folderCloseIcon
The image to use for the folder close icon


folderOpenIcon

public static final ImageReference folderOpenIcon
The image to use for the folder open icon


openFolderIcon

public static final ImageReference openFolderIcon
The image to use for the open folder icon


closedFolderIcon

public static final ImageReference closedFolderIcon
The image to use for the closed folder icon

Constructor Detail

TreeIcons

public TreeIcons()
Default constructor. Over-ride the icons as appropriate.


SPT Core API