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.UITreeOld
org.apache.myfaces.tobago.component.UITreeListbox
- All Implemented Interfaces:
- ActionSource, EditableValueHolder, NamingContainer, StateHolder, ValueHolder, LayoutProvider
public class UITreeListbox
- extends UITreeOld
- implements LayoutProvider
Fields inherited from class org.apache.myfaces.tobago.component.UITreeOld |
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, SCROLL_POSITION, SELECT_STATE, SEP, TREE_DIV, TREE_STATE |
Methods inherited from class org.apache.myfaces.tobago.component.UITreeOld |
addActionListener, broadcast, createDefaultToolbar, findUITreeNode, getAction, getActionListener, getActionListeners, getCommands, getMode, getRendersChildren, getRoot, getState, getTabIndex, isSelectableTree, isShowIcons, isShowJunctions, isShowRoot, isShowRootJunction, processDecodes, removeActionListener, restoreState, saveState, setAction, setActionListener, setMode, setShowIcons, setShowJunctions, setShowRoot, setShowRootJunction, setState, setTabIndex, updateModel, validate |
Methods inherited from class javax.faces.component.UIInput |
addValidator, addValueChangeListener, compareValues, decode, getConvertedValue, getFamily, getSubmittedValue, getValidator, getValidators, getValue, 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,
UITreeOldNode node)
encodeBegin
public void encodeBegin(FacesContext facesContext)
throws IOException
- Overrides:
encodeBegin
in class UITreeOld
- Throws:
IOException
createSelectionPath
public void createSelectionPath()
encodeChildren
public void encodeChildren(FacesContext facesContext)
throws IOException
- Overrides:
encodeChildren
in class UITreeOld
- 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 UITreeOldNode getSelectedNode(int level)
getSelectionPath
public List<UITreeOldNode> getSelectionPath()
getExpandPath
public List<UITreeOldNode> getExpandPath()
isSelectedNode
public boolean isSelectedNode(DefaultMutableTreeNode treeNode)
provideLayout
public UILayout provideLayout()
- Specified by:
provideLayout
in interface LayoutProvider
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.