org.apache.myfaces.tobago.taglib.component
Class TreeListboxTag
java.lang.Object
javax.faces.webapp.UIComponentTag
org.apache.myfaces.tobago.taglib.component.TobagoTag
org.apache.myfaces.tobago.taglib.component.TreeListboxTag
- All Implemented Interfaces:
- JspTag, Tag, TobagoTagDeclaration, TreeListboxTagDeclaration, HasBinding, HasId, HasIdBindingAndRendered, HasIdReference, HasNameReference, HasState, HasTreeNodeValue, IsRendered, IsRequired
public class TreeListboxTag
- extends TobagoTag
- implements TreeListboxTagDeclaration
Method Summary |
java.lang.String |
getComponentType()
|
java.lang.String |
getIdReference()
|
java.lang.String |
getNameReference()
|
java.lang.String |
getRequired()
|
java.lang.String |
getSelectable()
|
java.lang.String |
getState()
|
java.lang.String |
getValue()
|
void |
release()
|
void |
setIdReference(java.lang.String idReference)
Bean property reference to fetch the id for the treeNode's. |
void |
setNameReference(java.lang.String nameReference)
Bean property reference to fetch the label for the treeNode's. |
protected void |
setProperties(UIComponent component)
|
void |
setRequired(java.lang.String required)
Flag indicating that a value is required. |
void |
setSelectable(java.lang.String selectable)
Flag indicating whether or not this component should be render selectable items. |
void |
setState(java.lang.String state)
ValueBindingExpression pointing to a object to save the
component's state. |
void |
setTipReference(java.lang.String tipReference)
reference to tip value. |
void |
setValue(java.lang.String value)
A javax.swing.tree.TreeNode object to use as rootNode in the tree. |
Methods inherited from class org.apache.myfaces.tobago.taglib.component.TobagoTag |
doEndTag, doStartTag, getDisabled, getHeight, getHidden, getInline, getLabel, getReadonly, getRendererType, getTitle, getWidth, setDisabled, setHeight, setHidden, setInline, setLabel, setReadonly, setTitle, setWidth |
Methods inherited from class javax.faces.webapp.UIComponentTag |
encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getDoStartValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasId |
setId |
TreeListboxTag
public TreeListboxTag()
getComponentType
public java.lang.String getComponentType()
- Specified by:
getComponentType
in class UIComponentTag
setProperties
protected void setProperties(UIComponent component)
- Overrides:
setProperties
in class TobagoTag
release
public void release()
- Specified by:
release
in interface Tag
- Overrides:
release
in class TobagoTag
getValue
public java.lang.String getValue()
setValue
public void setValue(java.lang.String value)
- Description copied from interface:
HasTreeNodeValue
- A javax.swing.tree.TreeNode object to use as rootNode in the tree.
- Specified by:
setValue
in interface HasTreeNodeValue
getState
public java.lang.String getState()
setState
public void setState(java.lang.String state)
- Description copied from interface:
HasState
- ValueBindingExpression pointing to a object to save the
component's state.
- Specified by:
setState
in interface HasState
getIdReference
public java.lang.String getIdReference()
setIdReference
public void setIdReference(java.lang.String idReference)
- Description copied from interface:
HasIdReference
- Bean property reference to fetch the id for the treeNode's.
Example:
a idReference="userObject.id" try's to invoke
<UITreeNode>.getUserObject().getId()
to fetch the id.
- Specified by:
setIdReference
in interface HasIdReference
getNameReference
public java.lang.String getNameReference()
setNameReference
public void setNameReference(java.lang.String nameReference)
- Description copied from interface:
HasNameReference
- Bean property reference to fetch the label for the treeNode's.
Example:
a idReference="userObject.name" try's to invoke
<UITreeNode>.getUserObject().getName()
to fetch the label.
- Specified by:
setNameReference
in interface HasNameReference
getSelectable
public java.lang.String getSelectable()
setSelectable
public void setSelectable(java.lang.String selectable)
- Description copied from interface:
TreeListboxTagDeclaration
- Flag indicating whether or not this component should be render selectable items.
Possible values are:
- single : a singleselection tree is rendered
- singleLeafOnly : a singleselection tree is rendered,
only Leaf's are selectable
- siblingLeafOnly : a multiselection tree is rendered,
where only sibling Leaf's are selectable
- Specified by:
setSelectable
in interface TreeListboxTagDeclaration
getRequired
public java.lang.String getRequired()
setRequired
public void setRequired(java.lang.String required)
- Description copied from interface:
IsRequired
- Flag indicating that a value is required.
If the value is an empty string a
ValidationError occurs and a Error Message is rendered.
- Specified by:
setRequired
in interface IsRequired
setTipReference
public void setTipReference(java.lang.String tipReference)
- Description copied from interface:
TreeListboxTagDeclaration
- reference to tip value.
- Specified by:
setTipReference
in interface TreeListboxTagDeclaration
Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.