Class UITreeCommand
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- javax.faces.component.UICommand
-
- org.apache.myfaces.tobago.internal.component.AbstractUICommandBase
-
- org.apache.myfaces.tobago.internal.component.AbstractUICommand
-
- org.apache.myfaces.tobago.internal.component.AbstractUITreeCommand
-
- org.apache.myfaces.tobago.component.UITreeCommand
-
- All Implemented Interfaces:
EventListener
,javax.faces.component.ActionSource
,javax.faces.component.ActionSource2
,javax.faces.component.behavior.ClientBehaviorHolder
,javax.faces.component.PartialStateHolder
,javax.faces.component.StateHolder
,javax.faces.event.ComponentSystemEventListener
,javax.faces.event.FacesListener
,javax.faces.event.SystemEventListenerHolder
,SupportFieldId
,SupportsAccessKey
,Visual
@Deprecated @Generated("component.stg") public class UITreeCommand extends AbstractUITreeCommand implements SupportsAccessKey
Deprecated.Renders a command inside of a tree. UIComponent class, generated from templatecomponent.stg
with classTreeCommandTagDeclaration
.
-
-
Field Summary
Fields Modifier and Type Field Description static String
COMPONENT_FAMILY
Deprecated.static String
COMPONENT_TYPE
Deprecated.
-
Constructor Summary
Constructors Constructor Description UITreeCommand()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Character
getAccessKey()
Deprecated.The access key of this control.String
getConfirmation()
Deprecated.Text to use as confirmation message.CustomClass
getCustomClass()
Deprecated.Sets a CSS class in its parent, if the parent supports it.String
getDefaultEventName()
Deprecated.Collection<String>
getEventNames()
Deprecated.String
getFamily()
Deprecated.String
getFragment()
Deprecated.The identifier of the page fragment which should be brought into focus when the target page is rendered.String
getLabel()
Deprecated.A localized user presentable label for this component.String
getLink()
Deprecated.Link to an arbitrary URL, either an internal link or an external link.Markup
getMarkup()
Deprecated.String
getOutcome()
Deprecated.Link to an internal facelet page, like the outcome of an action.Integer
getTabIndex()
Deprecated.Controls the navigation of the focus through the input controls on a page with the Tab-Key.String
getTarget()
Deprecated.Name of a frame where the resource retrieved via this hyperlink is to be displayed.String
getTip()
Deprecated.Text value to display as tooltip.boolean
isOmit()
Deprecated.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()
Deprecated.Specify, if the command calls an JSF-Action.void
restoreState(javax.faces.context.FacesContext context, Object state)
Deprecated.void
setAccessKey(Character accessKey)
Deprecated.void
setConfirmation(String confirmation)
Deprecated.void
setCustomClass(CustomClass customClass)
Deprecated.void
setFragment(String fragment)
Deprecated.void
setLabel(String label)
Deprecated.void
setLink(String link)
Deprecated.void
setMarkup(Markup markup)
Deprecated.void
setOmit(boolean omit)
Deprecated.void
setOutcome(String outcome)
Deprecated.void
setTabIndex(Integer tabIndex)
Deprecated.void
setTarget(String target)
Deprecated.void
setTip(String tip)
Deprecated.void
setTransition(boolean transition)
Deprecated.-
Methods inherited from class org.apache.myfaces.tobago.internal.component.AbstractUICommand
getFieldId, isParentOfCommands
-
Methods inherited from class org.apache.myfaces.tobago.internal.component.AbstractUICommandBase
isDisabled, isRendered, processDecodes, processEvent, queueEvent, setDisabled
-
Methods inherited from class javax.faces.component.UICommand
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getValue, isImmediate, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValue
-
Methods inherited from class javax.faces.component.UIComponentBase
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, isTransient, markInitialState, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree
-
Methods inherited from class javax.faces.component.UIComponent
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
-
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.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors
-
Methods inherited from interface org.apache.myfaces.tobago.component.Visual
getRendererType, isPlain
-
-
-
-
Field Detail
-
COMPONENT_TYPE
public static final String COMPONENT_TYPE
Deprecated.
-
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
getEventNames
public Collection<String> getEventNames()
Deprecated.- Specified by:
getEventNames
in interfacejavax.faces.component.behavior.ClientBehaviorHolder
- Overrides:
getEventNames
in classjavax.faces.component.UIComponentBase
-
getDefaultEventName
public String getDefaultEventName()
Deprecated.- Specified by:
getDefaultEventName
in interfacejavax.faces.component.behavior.ClientBehaviorHolder
- Overrides:
getDefaultEventName
in classjavax.faces.component.UIComponentBase
-
getFamily
public String getFamily()
Deprecated.- Overrides:
getFamily
in classjavax.faces.component.UICommand
-
setMarkup
public void setMarkup(Markup markup)
Deprecated.
-
getLink
public String getLink()
Deprecated.Link to an arbitrary URL, either an internal link or an external link. For internal URLs, a session id will be added, if needed (when cookies disabled). The context path needs to be added manually e.g. #{request.contextPath}. For JSF navigation to a viewId use the outcome attribute!
The semantic of this attributes has been changed from Tobago 3 to 4!
- Specified by:
getLink
in classAbstractUICommandBase
-
setLink
public void setLink(String link)
Deprecated.
-
getTabIndex
public Integer getTabIndex()
Deprecated.Controls the navigation of the focus through the input controls on a page with the Tab-Key. The navigation starts from the element with the lowest tabIndex value to the element with the highest value. Elements that have identical tabIndex values should be navigated in the order they appear in the character stream Elements that are disabled or with a negative tabIndex do not participate in the tabbing order.
-
setTabIndex
public void setTabIndex(Integer tabIndex)
Deprecated.
-
getConfirmation
public String getConfirmation()
Deprecated.Text to use as confirmation message.- Specified by:
getConfirmation
in classAbstractUICommandBase
-
setConfirmation
public void setConfirmation(String confirmation)
Deprecated.
-
getLabel
public String getLabel()
Deprecated.A localized user presentable label for this component.- Specified by:
getLabel
in interfaceSupportsAccessKey
- Specified by:
getLabel
in classAbstractUICommand
-
setLabel
public void setLabel(String label)
Deprecated.
-
isTransition
public boolean isTransition()
Deprecated.Specify, if the command calls an JSF-Action. Useful to switch off the Double-Submit-Check and Waiting-Behavior.
Default:true
- Specified by:
isTransition
in classAbstractUICommandBase
-
setTransition
public void setTransition(boolean transition)
Deprecated.
-
getTarget
public String getTarget()
Deprecated.Name of a frame where the resource retrieved via this hyperlink is to be displayed. The target attribute is not reliable in combination with DeltaSpike and its- Specified by:
getTarget
in classAbstractUICommandBase
-
setTarget
public void setTarget(String target)
Deprecated.
-
getFragment
public String getFragment()
Deprecated.The identifier of the page fragment which should be brought into focus when the target page is rendered. The value of this attribute is appended to the end of target URL following a hash (#) mark. This notation is part of the standard URL syntax.- Specified by:
getFragment
in classAbstractUICommandBase
-
setFragment
public void setFragment(String fragment)
Deprecated.
-
getAccessKey
public Character getAccessKey()
Deprecated.The access key of this control.- Specified by:
getAccessKey
in interfaceSupportsAccessKey
-
setAccessKey
public void setAccessKey(Character accessKey)
Deprecated.
-
getCustomClass
public CustomClass getCustomClass()
Deprecated.Sets a CSS class in its parent, if the parent supports it. Which this feature it is possible to put a CSS class name into a component with the <tc:style> tag. Example:<tc:in> <tc:style customClass="my-emphasized"/> </tc:in>
One capability is, to used external CSS libs.
This feature should not be used imprudent. Because it might be unstable against changes in the renderered HTML code.- Specified by:
getCustomClass
in interfaceVisual
-
setCustomClass
public void setCustomClass(CustomClass customClass)
Deprecated.- Specified by:
setCustomClass
in interfaceVisual
-
getTip
public String getTip()
Deprecated.Text value to display as tooltip.
-
setTip
public void setTip(String tip)
Deprecated.
-
isOmit
public boolean isOmit()
Deprecated.Flag indicating that the action of this element, will not be executed from client side (e. g. when the user clicks a button. When setting this value to true, the action will not be executed by the Tobago, but it can executed by JavaScript. This attribute is useful, when you want to add JavaScript event handlers to commands manually. In this case you usually don't want a submit with a full reload of the page.
Default:false
- Specified by:
isOmit
in classAbstractUICommandBase
-
setOmit
public void setOmit(boolean omit)
Deprecated.- Specified by:
setOmit
in classAbstractUICommandBase
-
getOutcome
public String getOutcome()
Deprecated.Link to an internal facelet page, like the outcome of an action. The context path will be added. A session id will be added, if needed.- Specified by:
getOutcome
in classAbstractUICommandBase
-
setOutcome
public void setOutcome(String outcome)
Deprecated.
-
restoreState
public void restoreState(javax.faces.context.FacesContext context, Object state)
Deprecated.- Specified by:
restoreState
in interfacejavax.faces.component.StateHolder
- Overrides:
restoreState
in classjavax.faces.component.UIComponentBase
-
-