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 java.lang.String BOXES_PREFIX
           
static java.lang.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()
           
 java.util.List getChildren()
           
 java.util.List<UITreeOldNode> getExpandPath()
           
 UITreeOldNode getSelectedNode(int level)
           
 java.util.List<UITreeOldNode> getSelectionPath()
           
 boolean isSelectedNode(javax.swing.tree.DefaultMutableTreeNode treeNode)
           
protected  java.lang.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 java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

BOXES_PREFIX

public static final java.lang.String BOXES_PREFIX
See Also:
Constant Field Values
Constructor Detail

UITreeListbox

public UITreeListbox()
Method Detail

nodeStateId

protected java.lang.String nodeStateId(FacesContext facesContext,
                                       UITreeOldNode node)

encodeBegin

public void encodeBegin(FacesContext facesContext)
                 throws java.io.IOException
Overrides:
encodeBegin in class UITreeOld
Throws:
java.io.IOException

createSelectionPath

public void createSelectionPath()

encodeChildren

public void encodeChildren(FacesContext facesContext)
                    throws java.io.IOException
Overrides:
encodeChildren in class UITreeOld
Throws:
java.io.IOException

encodeEnd

public void encodeEnd(FacesContext facesContext)
               throws java.io.IOException
Overrides:
encodeEnd in class UIComponentBase
Throws:
java.io.IOException

getChildCount

public int getChildCount()
Overrides:
getChildCount in class UIComponentBase

getChildren

public java.util.List getChildren()
Overrides:
getChildren in class UIComponentBase

getSelectedNode

public UITreeOldNode getSelectedNode(int level)

getSelectionPath

public java.util.List<UITreeOldNode> getSelectionPath()

getExpandPath

public java.util.List<UITreeOldNode> getExpandPath()

isSelectedNode

public boolean isSelectedNode(javax.swing.tree.DefaultMutableTreeNode treeNode)

provideLayout

public UILayout provideLayout()
Specified by:
provideLayout in interface LayoutProvider


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.