public class UIButton extends AbstractUICommand implements SupportsMarkup
component2.0.stg
with class
ButtonTagDeclaration
.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 |
---|
UIButton() |
Modifier and Type | Method and Description |
---|---|
Character |
getAccessKey()
Deprecated.
|
Integer |
getColumnSpan() |
Measure |
getCurrentHeight()
This value will usually be set by the layout manager.
|
Markup |
getCurrentMarkup() |
Measure |
getCurrentWidth()
This value will usually be set by the layout manager.
|
Display |
getDisplay()
This attribute is for internal use only.
|
String |
getFamily() |
Measure |
getHeight()
This value will usually be set by the layout manager.
|
Integer |
getHorizontalIndex()
This attribute is for internal use only.
|
String |
getImage()
Url to an image to display.
|
String |
getLabel()
Text value to display as label.
|
String |
getLabelWithAccessKey()
Deprecated.
|
Measure |
getLeft()
This value will usually be set by the layout manager.
|
String |
getLink()
Link to an arbitrary URL, either an internal link or an external link.
|
Measure |
getMarginBottom() |
Measure |
getMarginLeft() |
Measure |
getMarginRight() |
Measure |
getMarginTop() |
Markup |
getMarkup() |
Measure |
getMaximumHeight() |
Measure |
getMaximumWidth() |
Measure |
getMinimumHeight() |
Measure |
getMinimumWidth() |
String |
getOnclick()
Script to be invoked when clicked
|
Measure |
getPreferredHeight() |
Measure |
getPreferredWidth() |
String[] |
getRenderedPartially()
Indicate the partially rendered Components in a case of a submit.
|
String |
getResource()
Link to an internal resource.
|
Integer |
getRowSpan() |
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.
|
Measure |
getTop()
This value will usually be set by the layout manager.
|
Integer |
getVerticalIndex()
This attribute is for internal use only.
|
Measure |
getWidth()
This value will usually be set by the layout manager.
|
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 |
isInline()
Deprecated.
|
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.
|
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setAccessKey(Character accessKey)
Deprecated.
|
void |
setColumnSpan(Integer columnSpan) |
void |
setCurrentHeight(Measure currentHeight) |
void |
setCurrentMarkup(Markup currentMarkup) |
void |
setCurrentWidth(Measure currentWidth) |
void |
setDefaultCommand(boolean defaultCommand) |
void |
setDisabled(boolean disabled) |
void |
setDisplay(Display display) |
void |
setHeight(Measure height) |
void |
setHorizontalIndex(Integer horizontalIndex) |
void |
setImage(String image) |
void |
setInline(boolean inline)
Deprecated.
|
void |
setJsfResource(boolean jsfResource) |
void |
setLabel(String label) |
void |
setLabelWithAccessKey(String labelWithAccessKey)
Deprecated.
|
void |
setLeft(Measure left) |
void |
setLink(String link) |
void |
setMarginBottom(Measure marginBottom) |
void |
setMarginLeft(Measure marginLeft) |
void |
setMarginRight(Measure marginRight) |
void |
setMarginTop(Measure marginTop) |
void |
setMarkup(Markup markup) |
void |
setMaximumHeight(Measure maximumHeight) |
void |
setMaximumWidth(Measure maximumWidth) |
void |
setMinimumHeight(Measure minimumHeight) |
void |
setMinimumWidth(Measure minimumWidth) |
void |
setOmit(boolean omit) |
void |
setOnclick(String onclick) |
void |
setPreferredHeight(Measure preferredHeight) |
void |
setPreferredWidth(Measure preferredWidth) |
void |
setRenderedPartially(String[] renderedPartially) |
void |
setResource(String resource) |
void |
setRowSpan(Integer rowSpan) |
void |
setTabIndex(Integer tabIndex) |
void |
setTarget(String target) |
void |
setTip(String tip) |
void |
setTop(Measure top) |
void |
setTransition(boolean transition) |
void |
setVerticalIndex(Integer verticalIndex) |
void |
setWidth(Measure width) |
onComponentPopulated, processDecodes, queueEvent
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, getDefaultEventName, getEventNames, 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, 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
isRendered
getRendererType
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily
in class javax.faces.component.UICommand
@Deprecated public Character getAccessKey()
@Deprecated public void setAccessKey(Character accessKey)
public Markup getMarkup()
getMarkup
in interface SupportsMarkup
public void setMarkup(Markup markup)
setMarkup
in interface SupportsMarkup
public Measure getMarginLeft()
getMarginLeft
in interface LayoutBase
public void setMarginLeft(Measure marginLeft)
setMarginLeft
in interface LayoutBase
public String getLink()
getLink
in class AbstractUICommandBase
public void setLink(String link)
@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 Measure getMinimumHeight()
getMinimumHeight
in interface LayoutBase
public void setMinimumHeight(Measure minimumHeight)
setMinimumHeight
in interface LayoutBase
public String getTip()
public void setTip(String tip)
public Measure getHeight()
getHeight
in interface LayoutBase
public void setHeight(Measure height)
setHeight
in interface LayoutBase
public Measure getMinimumWidth()
getMinimumWidth
in interface LayoutBase
public void setMinimumWidth(Measure minimumWidth)
setMinimumWidth
in interface LayoutBase
@Deprecated public boolean isInline()
false
@Deprecated public void setInline(boolean inline)
public Integer getRowSpan()
getRowSpan
in interface LayoutComponent
public void setRowSpan(Integer rowSpan)
setRowSpan
in interface LayoutComponent
public Measure getLeft()
getLeft
in interface LayoutBase
public void setLeft(Measure left)
setLeft
in interface LayoutBase
public Integer getColumnSpan()
getColumnSpan
in interface LayoutComponent
public void setColumnSpan(Integer columnSpan)
setColumnSpan
in interface LayoutComponent
public Measure getTop()
getTop
in interface LayoutBase
public void setTop(Measure top)
setTop
in interface LayoutBase
public Measure getMaximumHeight()
getMaximumHeight
in interface LayoutBase
public void setMaximumHeight(Measure maximumHeight)
setMaximumHeight
in interface LayoutBase
public Measure getCurrentWidth()
getCurrentWidth
in interface LayoutBase
public void setCurrentWidth(Measure currentWidth)
setCurrentWidth
in interface LayoutBase
public Measure getMarginTop()
getMarginTop
in interface LayoutBase
public void setMarginTop(Measure marginTop)
setMarginTop
in interface LayoutBase
public Measure getWidth()
getWidth
in interface LayoutBase
public void setWidth(Measure width)
setWidth
in interface LayoutBase
public Measure getMarginRight()
getMarginRight
in interface LayoutBase
public void setMarginRight(Measure marginRight)
setMarginRight
in interface LayoutBase
public Measure getPreferredHeight()
getPreferredHeight
in interface LayoutBase
public void setPreferredHeight(Measure preferredHeight)
setPreferredHeight
in interface LayoutBase
public boolean isJsfResource()
false
isJsfResource
in class AbstractUICommandBase
public void setJsfResource(boolean jsfResource)
public String getResource()
getResource
in class AbstractUICommandBase
public void setResource(String resource)
public Measure getCurrentHeight()
getCurrentHeight
in interface LayoutBase
public void setCurrentHeight(Measure currentHeight)
setCurrentHeight
in interface LayoutBase
public boolean isTransition()
true
isTransition
in class AbstractUICommandBase
public void setTransition(boolean transition)
public String getImage()
public void setImage(String image)
public Display getDisplay()
getDisplay
in interface LayoutComponent
public void setDisplay(Display display)
setDisplay
in interface LayoutComponent
public String getLabel()
public void setLabel(String label)
public Measure getMaximumWidth()
getMaximumWidth
in interface LayoutBase
public void setMaximumWidth(Measure maximumWidth)
setMaximumWidth
in interface LayoutBase
public Measure getPreferredWidth()
getPreferredWidth
in interface LayoutBase
public void setPreferredWidth(Measure preferredWidth)
setPreferredWidth
in interface LayoutBase
public Measure getMarginBottom()
getMarginBottom
in interface LayoutBase
public void setMarginBottom(Measure marginBottom)
setMarginBottom
in interface LayoutBase
public Integer getVerticalIndex()
getVerticalIndex
in interface LayoutComponent
public void setVerticalIndex(Integer verticalIndex)
setVerticalIndex
in interface LayoutComponent
public boolean isOmit()
false
isOmit
in class AbstractUICommandBase
public void setOmit(boolean omit)
public String[] getRenderedPartially()
getRenderedPartially
in interface SupportsRenderedPartially
getRenderedPartially
in class AbstractUICommandBase
public void setRenderedPartially(String[] renderedPartially)
setRenderedPartially
in interface SupportsRenderedPartially
public String getTarget()
getTarget
in class AbstractUICommandBase
public void setTarget(String target)
public Markup getCurrentMarkup()
getCurrentMarkup
in interface SupportsMarkup
getCurrentMarkup
in interface Configurable
public void setCurrentMarkup(Markup currentMarkup)
setCurrentMarkup
in interface SupportsMarkup
public String getOnclick()
getOnclick
in class AbstractUICommandBase
public void setOnclick(String onclick)
public Integer getHorizontalIndex()
getHorizontalIndex
in interface LayoutComponent
public void setHorizontalIndex(Integer horizontalIndex)
setHorizontalIndex
in interface LayoutComponent
public boolean isDisabled()
false
public void setDisabled(boolean disabled)
public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIComponentBase
Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.