org.apache.myfaces.tobago.component
Class UITreeListbox
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
org.apache.myfaces.tobago.component.UITree
org.apache.myfaces.tobago.component.UITreeListbox
- All Implemented Interfaces:
- ActionSource, EditableValueHolder, NamingContainer, StateHolder, ValueHolder, LayoutProvider
public class UITreeListbox
- extends UITree
- implements LayoutProvider
User: weber
Date: Mar 16, 2005
Time: 12:33:08 PM
Nested classes/interfaces inherited from class org.apache.myfaces.tobago.component.UITree |
UITree.Command |
Fields inherited from class org.apache.myfaces.tobago.component.UITree |
COMMAND_COPY, COMMAND_CUT, COMMAND_DELETE, COMMAND_EDIT, COMMAND_MOVE_DOWN, COMMAND_MOVE_UP, COMMAND_NEW, COMMAND_PASTE, COMMAND_PREFIX, FACET_TREE_NODE_COMMAND, MARKER, MESSAGE_NOT_LEAF, PARAMETER_TREE_NODE_ID, SELECT_STATE, SEP, TREE_STATE |
Methods inherited from class org.apache.myfaces.tobago.component.UITree |
addActionListener, broadcast, createDefaultToolbar, findUITreeNode, getAction, getActionListener, getActionListeners, getCommands, getRendersChildren, getRoot, getState, isSelectableTree, isShowIcons, isShowJunctions, isShowRoot, isShowRootJunction, processDecodes, removeActionListener, restoreState, saveState, setAction, setActionListener, setShowIcons, setShowJunctions, setShowRoot, setShowRootJunction, setState, updateModel, validate |
Methods inherited from class javax.faces.component.UIInput |
addValidator, addValueChangeListener, compareValues, decode, getConvertedValue, getFamily, getSubmittedValue, getValidator, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processUpdates, processValidators, removeValidator, removeValueChangeListener, setImmediate, setLocalValueSet, setRequired, setSubmittedValue, setValid, setValidator, setValue, setValueChangeListener, validateValue |
Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, findComponent, getAttributes, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
BOXES_PREFIX
public static final String BOXES_PREFIX
- See Also:
- Constant Field Values
UITreeListbox
public UITreeListbox()
nodeStateId
protected String nodeStateId(FacesContext facesContext,
UITreeNode node)
encodeBegin
public void encodeBegin(FacesContext facesContext)
throws IOException
- Overrides:
encodeBegin
in class UITree
- Throws:
IOException
createSelectionPath
public void createSelectionPath()
encodeChildren
public void encodeChildren(FacesContext facesContext)
throws IOException
- Overrides:
encodeChildren
in class UITree
- Throws:
IOException
encodeEnd
public void encodeEnd(FacesContext facesContext)
throws IOException
- Overrides:
encodeEnd
in class UIComponentBase
- Throws:
IOException
getChildCount
public int getChildCount()
- Overrides:
getChildCount
in class UIComponentBase
getChildren
public List getChildren()
- Overrides:
getChildren
in class UIComponentBase
getSelectedNode
public UITreeNode getSelectedNode(int level)
getSelectionPath
public List<UITreeNode> getSelectionPath()
getExpandPath
public List<UITreeNode> getExpandPath()
isSelectedNode
public boolean isSelectedNode(DefaultMutableTreeNode treeNode)
provideLayout
public UILayout provideLayout()
- Specified by:
provideLayout
in interface LayoutProvider
Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.