public class UITreeCommand extends AbstractUITreeCommand implements SupportsAccessKey, Visual
component.stg
with class
TreeCommandTagDeclaration
.Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
MARKER
Constructor and Description |
---|
UITreeCommand() |
Modifier and Type | Method and Description |
---|---|
Character |
getAccessKey()
The access key of this control.
|
CustomClass |
getCustomClass()
Sets a CSS class in its parent, if the parent supports it.
|
String[] |
getExecutePartially() |
String |
getFamily() |
String |
getLabel()
Text value to display as label.
|
String |
getLink()
Link to an arbitrary URL, either an internal link or an external link.
|
Markup |
getMarkup() |
String[] |
getRenderedPartially()
Indicate the partially rendered components in a case of a submit.
|
String[] |
getRenderPartially()
TODO: check this all
Indicate the partially rendered components in a case of a submit.
|
String |
getResource()
Link to an internal resource.
|
Style |
getStyle()
For internal use.
|
Integer |
getTabIndex()
Controls the navigation of the focus through the
input controls on a page with the Tab-Key.
|
String |
getTarget()
Name of a frame where the resource retrieved via this hyperlink is to be
displayed.
|
String |
getTip()
Text value to display as tooltip.
|
boolean |
isJsfResource()
Flag indicating that the resource referenced by the resource attribute is a jsf resource.
|
boolean |
isOmit()
Flag indicating that the action of this element, will not be executed from client side
(e. g. when the user clicks a button.
|
boolean |
isTransition()
Specify, if the command calls an JSF-Action.
|
void |
setAccessKey(Character accessKey) |
void |
setCustomClass(CustomClass customClass) |
void |
setExecutePartially(String[] executePartially) |
void |
setJsfResource(boolean jsfResource) |
void |
setLabel(String label) |
void |
setLink(String link) |
void |
setMarkup(Markup markup) |
void |
setOmit(boolean omit) |
void |
setRenderedPartially(String[] renderedPartially) |
void |
setRenderPartially(String[] renderPartially) |
void |
setResource(String resource) |
void |
setStyle(Style style) |
void |
setTabIndex(Integer tabIndex) |
void |
setTarget(String target) |
void |
setTip(String tip) |
void |
setTransition(boolean transition) |
getDefaultEventName, getEventNames, isDisabled, isParentOfCommands, onComponentPopulated, processDecodes, queueEvent, setDisabled
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getValue, isImmediate, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValue
addClientBehavior, addFacesListener, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRendererType
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily
in class javax.faces.component.UICommand
public String[] getRenderPartially()
Indicate the partially rendered components in a case of a submit.
The search depends on the number of prefixed colons in the relativeId:
If a literal is specified: to use more than one identifier the identifiers must be space delimited.
Using this in a UISheet or UITabGroup component this list indicates components to update when calling internal AJAX requests like sort or paging commands. Don't forget to add the sheet-id or tagGroup-id in that case, if needed.
You can also use
getRenderPartially
in interface SupportsAjaxBehaviorHolder
getRenderPartially
in class AbstractUICommand
public void setRenderPartially(String[] renderPartially)
setRenderPartially
in interface SupportsAjaxBehaviorHolder
public String getResource()
getResource
in class AbstractUICommand
public void setResource(String resource)
public String getLink()
getLink
in class AbstractUICommand
public void setLink(String link)
public Integer getTabIndex()
public void setTabIndex(Integer tabIndex)
public String getLabel()
getLabel
in interface SupportsAccessKey
getLabel
in class AbstractUICommand
public void setLabel(String label)
public boolean isTransition()
true
isTransition
in class AbstractUICommand
public void setTransition(boolean transition)
public String getTarget()
getTarget
in class AbstractUICommand
public void setTarget(String target)
public String[] getRenderedPartially()
Indicate the partially rendered components in a case of a submit.
The search depends on the number of prefixed colons in the relativeId:
If a literal is specified: to use more than one identifier the identifiers must be space delimited.
Using this in a UISheet or UITabGroup component this list indicates components to update when calling internal AJAX requests like sort or paging commands. Don't forget to add the sheet-id or tagGroup-id in that case, if needed.
You can also use
getRenderedPartially
in interface SupportsRenderedPartially
getRenderedPartially
in class AbstractUICommand
public void setRenderedPartially(String[] renderedPartially)
setRenderedPartially
in interface SupportsRenderedPartially
public boolean isJsfResource()
false
isJsfResource
in class AbstractUICommand
public void setJsfResource(boolean jsfResource)
public Character getAccessKey()
getAccessKey
in interface SupportsAccessKey
public void setAccessKey(Character accessKey)
public String[] getExecutePartially()
getExecutePartially
in interface SupportsAjaxBehaviorHolder
getExecutePartially
in class AbstractUICommand
public void setExecutePartially(String[] executePartially)
setExecutePartially
in interface SupportsAjaxBehaviorHolder
public CustomClass getCustomClass()
<tc:in> <tc:style customClass="my-emphasized"/> </tc:in>One capability is, to used external CSS libs.
getCustomClass
in interface Visual
public void setCustomClass(CustomClass customClass)
setCustomClass
in interface Visual
public String getTip()
getTip
in class AbstractUICommand
public void setTip(String tip)
public Style getStyle()
public boolean isOmit()
false
isOmit
in class AbstractUICommand
public void setOmit(boolean omit)
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.