org.apache.myfaces.tobago.component
Class UITreeListbox

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by javax.faces.component.UIInput
                  extended by org.apache.myfaces.tobago.component.UITreeOld
                      extended by org.apache.myfaces.tobago.component.UITreeListbox
All Implemented Interfaces:
ActionSource, EditableValueHolder, NamingContainer, StateHolder, ValueHolder, LayoutProvider

public class UITreeListbox
extends UITreeOld
implements LayoutProvider


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.myfaces.tobago.component.UITreeOld
UITreeOld.Command
 
Field Summary
static String BOXES_PREFIX
           
static String COMPONENT_TYPE
           
 
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
 
Fields inherited from class javax.faces.component.UIInput
COMPONENT_FAMILY, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
UITreeListbox()
           
 
Method Summary
 void createSelectionPath()
           
 void encodeBegin(FacesContext facesContext)
           
 void encodeChildren(FacesContext facesContext)
           
 void encodeEnd(FacesContext facesContext)
           
 int getChildCount()
           
 List getChildren()
           
 List<UITreeOldNode> getExpandPath()
           
 UITreeOldNode getSelectedNode(int level)
           
 List<UITreeOldNode> getSelectionPath()
           
 boolean isSelectedNode(DefaultMutableTreeNode treeNode)
           
protected  String nodeStateId(FacesContext facesContext, UITreeOldNode node)
           
 UILayout provideLayout()
           
 
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.UIOutput
getConverter, getLocalValue, setConverter
 
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
 
Methods inherited from interface javax.faces.component.ActionSource
isImmediate, setImmediate
 
Methods inherited from interface javax.faces.component.ValueHolder
getConverter, getLocalValue, setConverter
 

Field Detail

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
Constructor Detail

UITreeListbox

public UITreeListbox()
Method Detail

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.