|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.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.component.UICommand
org.apache.myfaces.tobago.component.UIButton
public class UIButton
Renders a button element.
UIComponent class, generated from template component1.2.stg
with class
ButtonTagDeclaration
.
Field Summary | |
---|---|
static String |
COMPONENT_TYPE
|
Fields inherited from class javax.faces.component.UICommand |
---|
COMPONENT_FAMILY |
Fields inherited from class javax.faces.component.UIComponent |
---|
bindings |
Constructor Summary | |
---|---|
UIButton()
|
Method Summary | |
---|---|
Character |
getAccessKey()
Deprecated. |
String |
getImage()
Url to an image to display. |
String |
getLabel()
Text value to display as label. |
String |
getLabelWithAccessKey()
Deprecated. |
Integer |
getTabIndex()
Controls the navigation of the focus through the input controls on a page with the Tab-Key. |
String |
getTip()
Text value to display as tooltip. |
boolean |
isDefaultCommand()
If true the command is executed as default -- for example if the user presses the enter key inside a related input field. |
boolean |
isDisabled()
Flag indicating that this element is disabled. |
boolean |
isImmediate()
Flag indicating that, if this component is activated by the user, notifications should be delivered to interested listeners and actions immediately (that is, during Apply Request Values phase) rather than waiting until Invoke Application phase. |
boolean |
isInline()
Deprecated. |
boolean |
isJsfResource()
Flag indicating that the resource referenced by the resource attribute is a jsf resource. |
boolean |
isTransition()
Specify, if the command calls an JSF-Action. |
void |
restoreState(javax.faces.context.FacesContext context,
Object componentState)
|
Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setAccessKey(Character accessKey)
Deprecated. |
void |
setDefaultCommand(boolean defaultCommand)
|
void |
setDisabled(boolean disabled)
|
void |
setImage(String image)
|
void |
setImmediate(boolean immediate)
|
void |
setInline(boolean inline)
Deprecated. |
void |
setJsfResource(boolean jsfResource)
|
void |
setLabel(String label)
|
void |
setLabelWithAccessKey(String labelWithAccessKey)
Deprecated. |
void |
setTabIndex(Integer tabIndex)
|
void |
setTip(String tip)
|
void |
setTransition(boolean transition)
|
Methods inherited from class org.apache.myfaces.tobago.internal.component.AbstractUICommandBase |
---|
processDecodes, queueEvent |
Methods inherited from class javax.faces.component.UICommand |
---|
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getFamily, getValue, removeActionListener, setAction, setActionExpression, setActionListener, setValue |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getContainerClientId, getValueExpression, setValueExpression |
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.layout.LayoutComponent |
---|
isRendered |
Methods inherited from interface org.apache.myfaces.tobago.config.Configurable |
---|
getRendererType |
Field Detail |
---|
public static final String COMPONENT_TYPE
Constructor Detail |
---|
public UIButton()
Method Detail |
---|
@Deprecated public Character getAccessKey()
@Deprecated public void setAccessKey(Character accessKey)
@Deprecated public String getLabelWithAccessKey()
@Deprecated public void setLabelWithAccessKey(String labelWithAccessKey)
public boolean isDefaultCommand()
false
public void setDefaultCommand(boolean defaultCommand)
public Integer getTabIndex()
public void setTabIndex(Integer tabIndex)
public String getTip()
public void setTip(String tip)
@Deprecated public boolean isInline()
false
@Deprecated public void setInline(boolean inline)
public boolean isJsfResource()
false
isJsfResource
in class UICommand
public void setJsfResource(boolean jsfResource)
setJsfResource
in class UICommand
public boolean isTransition()
true
isTransition
in class UICommand
public void setTransition(boolean transition)
setTransition
in class UICommand
public String getImage()
public void setImage(String image)
public String getLabel()
public void setLabel(String label)
public boolean isImmediate()
false
isImmediate
in interface javax.faces.component.ActionSource
isImmediate
in class UICommand
public void setImmediate(boolean immediate)
setImmediate
in interface javax.faces.component.ActionSource
setImmediate
in class UICommand
public boolean isDisabled()
false
isDisabled
in class UICommand
public void setDisabled(boolean disabled)
setDisabled
in class UICommand
public void restoreState(javax.faces.context.FacesContext context, Object componentState)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class UICommand
public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class UICommand
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |