public class IlvDHTMLImageButton extends IlvImageButton implements IlvDHTMLConstants
style
and
styleClass
properties.onclick
action is executed.Modifier and Type | Field and Description |
---|---|
static Boolean |
DO_ACTION_ON_BG_DESELECT_DEFAULT_VALUE
Default value of doActionOnBGDeselect property
|
ENABLED_DEFAULT_VALUE, SELECTED_DEFAULT_VALUE, TOGGLE_DEFAULT_VALUE
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
ACCESSIBLE, ACTION_NAME, AUTO_SUBMIT, BACKGROUND_COLOR, CAPABILITIES_LOADED_HANDLER, COMPONENT, DO_ACTION_ON_BG_DESELECT, ERROR_MESSAGE, GENERATE_IMAGE_MAP, HOTKEYS, IMAGE_FORMAT, IMAGE_LOADED_HANDLER, IMAGE_MAP_GENERATOR, IMAGE_MAP_GENERATOR_CLASS, IMAGE_MAP_VISIBLE, IMAGE_SERVLET_CONTEXT, INVOCATION_CONTEXT, JSF_CONTEXT, ON_CLICK, ON_SELECTION_CHANGED, PARTIAL_SUBMIT, PORTLET_CONTEXT_KEY, PORTLET_SESSION_KEY, REPLACE_PATTERN, RESIZABLE, SELECTION_RESIZABLE_CLASS, SESSION_EXP_HANDLER, SUBMITTED_VALUE, WAITING_IMAGE
AFTER_HANDLER, BASETEXTDIRECTION, BEFORE_HANDLER, BUTTON_GROUP_ID, BUTTON_TYPE, CHARTS_BUNDLE, CHARTS_MESSAGE_BUNDLE, CORE_BUNDLE, CORE_MESSAGE_BUNDLE, CURSOR, DATA, DECODED_PROPERTY, DEFAULT_LINE_COLOR, DELETION_ALLOWED, DIAGRAMMER_BUNDLE, DIAGRAMMER_MESSAGE_BUNDLE, ENABLED, EVENT_TYPE, FILL_ON, FORCE_UPDATE_PROPERTIES, FRAMEWORK_BUNDLE, FRAMEWORK_MESSAGE_BUNDLE, GANTT_BUNDLE, GANTT_MESSAGE_BUNDLE, HEIGHT, IMAGE, IMAGE_MODE, INFO_PROVIDER_MB, INT_NOT_DEFINED, INTERACTORS, INTERCEPT_INTERACTOR, ITEM_DISABLED_STYLE_CLASS, ITEM_HIGHLIGHTED_STYLE_CLASS, ITEM_STYLE_CLASS, LINE_COLOR, LINE_WIDTH, MAPS_BUNDLE, MAPS_MESSAGE_BUNDLE, MENU_MODEL_ID, MESSAGE, MESSAGE_BOX, MESSAGE_BOX_ID, MOVE_ALLOWED, OBJECT_FINDER, PARAM_COMPID, PARAM_DATA, PARAM_KEY, PARAM_NAMESPACE, PARAM_RESOURCE, PARAM_SERVICE, PARAM_TYPE, POPUP_MENU, POPUP_MENU_FACTORY, POPUP_MENU_FACTORY_CLASS, PORTLET_NAMESPACE, PROGRESSIVE_ZOOM, PROJECT, RENDER, RESOURCES_PATH, RESOURCES_PATH_PREFIX, ROLLOVER_IMAGE, SCROLL_BAR, SELECTED, SELECTED_IMAGE, SERVICE_FORWARD, SERVICE_FORWARD_INT, SERVLET, SERVLET_CLASS, SERVLET_URL, STYLE, STYLE_CLASS, TGO_BUNDLE, TGO_MESSAGE_BUNDLE, TITLE, TOGGLE, VALUE, VIEW, VIEW_ID, WIDTH
Constructor and Description |
---|
IlvDHTMLImageButton()
Creates a new
IlvDHTMLImageButton instance. |
Modifier and Type | Method and Description |
---|---|
String |
getBaseTextDirection()
Returns the baseTextDirection.
|
static String |
getComponentType()
Returns the type of this component.
|
String |
getFamily() |
IlvMessageBox |
getMessageBox()
Returns the message box.
|
String |
getMessageBoxId()
Returns the message box identifier.
|
String |
getOnclick()
Returns the onclick action of the button.
|
String |
getStyle()
Returns the inline client style of this component.
|
String |
getStyleClass()
Returns the client CSS class(es) of this component.
|
String |
getTitle()
Returns the title of the button.
|
String |
getType()
Returns the type of the button.
|
boolean |
isDoActionOnBGDeselect()
Returns whether the button should execute its action when it's deselected by its button group.
|
void |
restoreState(javax.faces.context.FacesContext context,
Object stateObj)
Restores the state of this component from the
state parameter. |
Object |
saveState(javax.faces.context.FacesContext context)
Returns the
state of this component. |
void |
setBaseTextDirection(String baseTextDirection)
Sets the baseTextDirection.
|
void |
setDoActionOnBGDeselect(boolean doActionOnBGDeselect)
Sets whether the button should execute its action when it's deselected by its button group.
|
void |
setMessageBox(IlvMessageBox messageBox)
The message box property.
|
void |
setMessageBoxId(String messageBoxId)
The message box identifier property.
|
void |
setOnclick(String onclick)
Sets the onclick action of the button.
|
void |
setStyle(String style)
The inline client style of this component.
|
void |
setStyleClass(String styleClass)
The client CSS class(es) of this component.
|
void |
setTitle(String title)
The title of the button.
|
void |
setType(String type)
Sets the type of the button.
|
void |
updateModel(javax.faces.context.FacesContext context)
This method updates the referenced values with the local values of the
component if these values were updated from the client.
|
clearDecodedPropertyMap, createFacesComponent, getAttributes, getButtonGroupId, getCursor, getImage, getMessage, getOrCreateButtonGroup, getRolloverImage, getSelectedImage, getValue, isDecodedProperty, isEnabled, isSelected, isToggle, processUpdates, resetDecodedProperties, setButtonGroupId, setCursor, setDecodedProperty, setEnabled, setImage, setMessage, setRolloverImage, setSelected, setSelectedImage, setToggle, setValue
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, isImmediate, queueEvent, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate
addClientBehavior, addFacesListener, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
public static final Boolean DO_ACTION_ON_BG_DESELECT_DEFAULT_VALUE
public IlvDHTMLImageButton()
IlvDHTMLImageButton
instance.public String getFamily()
getFamily
in class javax.faces.component.UICommand
public static String getComponentType()
public String getStyle()
public void setStyle(String style)
style
- The style to set.public String getStyleClass()
styleClass
.public void setStyleClass(String styleClass)
styleClass
- The styleClass
to set.public String getTitle()
public void setTitle(String title)
title
- The title to set.public String getType()
"submit"
or
"button"
. A "submit"
button will submit
a new request to the server. A button set in "button"
type
will execute the onclick action without requesting the server.public IlvMessageBox getMessageBox()
public void setMessageBox(IlvMessageBox messageBox)
messageBox
- The message box to set.public String getMessageBoxId()
public void setMessageBoxId(String messageBoxId)
messageBoxId
- The message box ID to set.public void setType(String type)
"submit"
or
"button"
. A "submit"
button will submit
a new request to the server. A button set in "button"
type
will execute the onclick action without requesting the server.type
- The button type to be set.public String getOnclick()
public void setOnclick(String onclick)
onclick
- The onclick action to be to set on this button.public String getBaseTextDirection()
getBaseTextDirection
in class IlvImageButton
public void setBaseTextDirection(String baseTextDirection)
setBaseTextDirection
in class IlvImageButton
baseTextDirection
- The base Text Direction to set.public boolean isDoActionOnBGDeselect()
public void setDoActionOnBGDeselect(boolean doActionOnBGDeselect)
doActionOnBGDeselect
- The doActionOnBGDeselect to set.public void updateModel(javax.faces.context.FacesContext context)
updateModel
in class IlvImageButton
context
- The current faces context.public Object saveState(javax.faces.context.FacesContext context)
state
of this component.saveState
in interface IlvFacesComponent
saveState
in interface javax.faces.component.StateHolder
saveState
in class IlvImageButton
context
- The current faces context.state
of this component.public void restoreState(javax.faces.context.FacesContext context, Object stateObj)
state
parameter.restoreState
in interface IlvFacesComponent
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class IlvImageButton
context
- The current faces context.stateObj
- The previously saved state
of this component.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.