org.apache.myfaces.tobago.component
Class UITree
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
- All Implemented Interfaces:
- ActionSource, EditableValueHolder, NamingContainer, StateHolder, ValueHolder
- Direct Known Subclasses:
- UITreeListbox
public class UITree
- extends UIInput
- implements NamingContainer, ActionSource
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, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, 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
MESSAGE_NOT_LEAF
public static final String MESSAGE_NOT_LEAF
- See Also:
- Constant Field Values
SEP
public static final String SEP
- See Also:
- Constant Field Values
TREE_STATE
public static final String TREE_STATE
- See Also:
- Constant Field Values
SELECT_STATE
public static final String SELECT_STATE
- See Also:
- Constant Field Values
MARKER
public static final String MARKER
- See Also:
- Constant Field Values
FACET_TREE_NODE_COMMAND
public static final String FACET_TREE_NODE_COMMAND
- See Also:
- Constant Field Values
PARAMETER_TREE_NODE_ID
public static final String PARAMETER_TREE_NODE_ID
- See Also:
- Constant Field Values
COMMAND_PREFIX
public static final String COMMAND_PREFIX
- See Also:
- Constant Field Values
COMMAND_NEW
public static final String COMMAND_NEW
- See Also:
- Constant Field Values
COMMAND_DELETE
public static final String COMMAND_DELETE
- See Also:
- Constant Field Values
COMMAND_EDIT
public static final String COMMAND_EDIT
- See Also:
- Constant Field Values
COMMAND_CUT
public static final String COMMAND_CUT
- See Also:
- Constant Field Values
COMMAND_COPY
public static final String COMMAND_COPY
- See Also:
- Constant Field Values
COMMAND_PASTE
public static final String COMMAND_PASTE
- See Also:
- Constant Field Values
COMMAND_MOVE_UP
public static final String COMMAND_MOVE_UP
- See Also:
- Constant Field Values
COMMAND_MOVE_DOWN
public static final String COMMAND_MOVE_DOWN
- See Also:
- Constant Field Values
UITree
public UITree()
broadcast
public void broadcast(FacesEvent event)
throws AbortProcessingException
- Overrides:
broadcast
in class UIInput
- Throws:
AbortProcessingException
getAction
public MethodBinding getAction()
- Specified by:
getAction
in interface ActionSource
setAction
public void setAction(MethodBinding methodBinding)
- Specified by:
setAction
in interface ActionSource
getActionListener
public MethodBinding getActionListener()
- Specified by:
getActionListener
in interface ActionSource
setActionListener
public void setActionListener(MethodBinding actionListener)
- Specified by:
setActionListener
in interface ActionSource
addActionListener
public void addActionListener(ActionListener actionListener)
- Specified by:
addActionListener
in interface ActionSource
getActionListeners
public ActionListener[] getActionListeners()
- Specified by:
getActionListeners
in interface ActionSource
removeActionListener
public void removeActionListener(ActionListener actionListener)
- Specified by:
removeActionListener
in interface ActionSource
encodeBegin
public void encodeBegin(FacesContext facesContext)
throws IOException
- Overrides:
encodeBegin
in class UIComponentBase
- Throws:
IOException
createDefaultToolbar
public void createDefaultToolbar(FacesContext facesContext)
getRoot
public UITreeNode getRoot()
encodeChildren
public void encodeChildren(FacesContext context)
throws IOException
- Overrides:
encodeChildren
in class UIComponentBase
- Throws:
IOException
findUITreeNode
public UITreeNode findUITreeNode(UITreeNode node,
TreeNode treeNode)
getRendersChildren
public boolean getRendersChildren()
- Overrides:
getRendersChildren
in class UIComponentBase
isSelectableTree
public boolean isSelectableTree()
processDecodes
public void processDecodes(FacesContext facesContext)
- Overrides:
processDecodes
in class UIInput
validate
public void validate(FacesContext context)
- Overrides:
validate
in class UIInput
updateModel
public void updateModel(FacesContext facesContext)
- Overrides:
updateModel
in class UIInput
saveState
public Object saveState(FacesContext context)
- Specified by:
saveState
in interface StateHolder
- Overrides:
saveState
in class UIInput
restoreState
public void restoreState(FacesContext context,
Object state)
- Specified by:
restoreState
in interface StateHolder
- Overrides:
restoreState
in class UIInput
getCommands
public UITree.Command[] getCommands()
getState
public TreeState getState()
setState
public void setState(TreeState state)
isShowJunctions
public boolean isShowJunctions()
setShowJunctions
public void setShowJunctions(boolean showJunctions)
isShowIcons
public boolean isShowIcons()
setShowIcons
public void setShowIcons(boolean showIcons)
isShowRoot
public boolean isShowRoot()
setShowRoot
public void setShowRoot(boolean showRoot)
isShowRootJunction
public boolean isShowRootJunction()
setShowRootJunction
public void setShowRootJunction(boolean showRootJunction)
Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.