org.apache.myfaces.custom.tree
public class HtmlTreeNode extends HtmlCommandLink
expandCollapse
.
Version: $Revision: 169664 $ $Date: 2005-05-11 19:58:53 +0200 (Wed, 11 May 2005) $
Field Summary | |
---|---|
static int | CHILD |
static int | CHILD_FIRST |
static int | CHILD_LAST |
static int | CLOSED |
static int | CLOSED_FIRST |
static int | CLOSED_LAST |
static int | CLOSED_SINGLE |
static String | COMPONENT_TYPE |
static int | EMPTY |
static String | EXPAND_COLLAPSE_FACET |
static int | LINE |
static int | OPEN |
static int | OPEN_FIRST |
static int | OPEN_LAST |
static int | OPEN_SINGLE |
Constructor Summary | |
---|---|
HtmlTreeNode() |
Method Summary | |
---|---|
void | expandPath(int[] translatedPath, int current) |
HtmlTreeImageCommandLink | getExpandCollapseCommand(FacesContext context) |
int[] | getLayout() |
int | getLevel() |
int | getMaxChildLevel() |
TreePath | getPath() |
protected HtmlTree | getTree() |
protected TreeModel | getTreeModel(FacesContext context) |
Object | getUserObject() |
boolean | isExpanded() |
boolean | isLeaf(FacesContext context) |
boolean | isSelected() |
void | restoreItemState(HtmlTreeNode node) |
void | restoreState(FacesContext context, Object state) |
Object | saveState(FacesContext context) |
void | setExpanded(boolean expanded) |
void | setLayout(int[] layout) |
void | setLayout(int[] parentLayout, int layout) |
void | setPath(TreePath path) |
void | setSelected(boolean selected) |
void | setUserObject(Object userObject) |
void | toggleExpanded() |
void | toggleSelected() |
protected static int[] | translatePath(TreePath treePath, TreeModel model) |
protected static TreePath | translatePath(int[] path, TreeModel model) |