public class HtmlTreeNode
extends javax.faces.component.html.HtmlCommandLink
expandCollapse.| Modifier and Type | Field and Description |
|---|---|
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 java.lang.String |
COMPONENT_TYPE |
static int |
EMPTY |
static java.lang.String |
EXPAND_COLLAPSE_FACET |
static int |
LINE |
static int |
OPEN |
static int |
OPEN_FIRST |
static int |
OPEN_LAST |
static int |
OPEN_SINGLE |
| Constructor and Description |
|---|
HtmlTreeNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
expandPath(int[] translatedPath,
int current) |
HtmlTreeImageCommandLink |
getExpandCollapseCommand(javax.faces.context.FacesContext context) |
int[] |
getLayout() |
int |
getLevel() |
int |
getMaxChildLevel() |
TreePath |
getPath() |
protected HtmlTree |
getTree() |
protected TreeModel |
getTreeModel(javax.faces.context.FacesContext context) |
java.lang.Object |
getUserObject() |
boolean |
isExpanded() |
boolean |
isLeaf(javax.faces.context.FacesContext context) |
boolean |
isSelected() |
void |
restoreItemState(HtmlTreeNode node) |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state) |
java.lang.Object |
saveState(javax.faces.context.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(java.lang.Object userObject) |
void |
toggleExpanded() |
void |
toggleSelected() |
protected static TreePath |
translatePath(int[] path,
TreeModel model) |
protected static int[] |
translatePath(TreePath treePath,
TreeModel model) |
getAccesskey, getCharset, getCoords, getDir, getHreflang, getLang, getOnblur, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRel, getRev, getShape, getStyle, getStyleClass, getTabindex, getTarget, getTitle, getType, setAccesskey, setCharset, setCoords, setDir, setHreflang, setLang, setOnblur, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRel, setRev, setShape, setStyle, setStyleClass, setTabindex, setTarget, setTitle, setTypeaddActionListener, broadcast, getAction, getActionListener, getActionListeners, getFamily, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionListener, setImmediate, setValueaddFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBindingpublic static final java.lang.String COMPONENT_TYPE
public static final java.lang.String EXPAND_COLLAPSE_FACET
public static final int OPEN
public static final int OPEN_FIRST
public static final int OPEN_LAST
public static final int OPEN_SINGLE
public static final int CLOSED
public static final int CLOSED_FIRST
public static final int CLOSED_LAST
public static final int CLOSED_SINGLE
public static final int CHILD
public static final int CHILD_FIRST
public static final int CHILD_LAST
public static final int LINE
public static final int EMPTY
public int getLevel()
public int getMaxChildLevel()
public TreePath getPath()
public void setPath(TreePath path)
public java.lang.Object getUserObject()
public void setUserObject(java.lang.Object userObject)
public boolean isExpanded()
public void setExpanded(boolean expanded)
public void toggleExpanded()
public boolean isSelected()
public void setSelected(boolean selected)
public void toggleSelected()
public int[] getLayout()
public void setLayout(int[] layout)
public void setLayout(int[] parentLayout,
int layout)
public HtmlTreeImageCommandLink getExpandCollapseCommand(javax.faces.context.FacesContext context)
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.html.HtmlCommandLinkpublic void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.html.HtmlCommandLinkprotected TreeModel getTreeModel(javax.faces.context.FacesContext context)
protected HtmlTree getTree()
public boolean isLeaf(javax.faces.context.FacesContext context)
public void expandPath(int[] translatedPath,
int current)
public void restoreItemState(HtmlTreeNode node)