public abstract class TooltipBase extends javax.faces.component.UIOutput implements ITooltip, IceClientBehaviorHolder
For more information, see the Tooltip Wiki Documentation.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
TooltipBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
TooltipBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior) |
java.lang.String |
getDefaultEventName() |
java.lang.String |
getDefaultExecute(java.lang.String event) |
java.lang.String |
getDefaultRender(java.lang.String event) |
javax.el.MethodExpression |
getDisplayListener()
Return the value of the
displayListener property. |
java.util.Collection<java.lang.String> |
getEventNames() |
java.lang.String |
getFamily() |
javax.el.ValueExpression |
getFetch()
Return the value of the
fetch property. |
java.lang.String |
getFor()
Return the value of the
for property. |
java.lang.String |
getForContainer()
Return the value of the
forContainer property. |
java.lang.String |
getForDelegate()
Return the value of the
forDelegate property. |
java.lang.String |
getForElement()
Return the value of the
forElement property. |
int |
getHideDelay()
Return the value of the
hideDelay property. |
java.lang.String |
getHideEffect()
Return the value of the
hideEffect property. |
int |
getHideEffectLength()
Return the value of the
hideEffectLength property. |
java.lang.String |
getHideEvent()
Return the value of the
hideEvent property. |
java.lang.String |
getListenerArgument(java.lang.String event) |
java.lang.String |
getPosition()
Return the value of the
position property. |
int |
getShowDelay()
Return the value of the
showDelay property. |
java.lang.String |
getShowEffect()
Return the value of the
showEffect property. |
int |
getShowEffectLength()
Return the value of the
showEffectLength property. |
java.lang.String |
getShowEvent()
Return the value of the
showEvent property. |
java.lang.Object |
getStore()
Return the value of the
store property. |
java.lang.String |
getStyle()
Return the value of the
style property. |
java.lang.String |
getStyleClass()
Return the value of the
styleClass property. |
java.lang.String |
getTargetPosition()
Return the value of the
targetPosition property. |
java.lang.String |
getWidgetVar()
Return the value of the
widgetVar property. |
boolean |
isGlobal()
Return the value of the
global property. |
protected boolean |
isPropertySet(java.lang.String finder) |
boolean |
isSpeechBubble()
Return the value of the
speechBubble property. |
void |
setDisplayListener(javax.el.MethodExpression displayListener)
Set the value of the
displayListener property. |
void |
setFetch(javax.el.ValueExpression fetch)
Set the value of the
fetch property. |
void |
setFor(java.lang.String forValue)
Set the value of the
for property. |
void |
setForContainer(java.lang.String forContainer)
Set the value of the
forContainer property. |
void |
setForDelegate(java.lang.String forDelegate)
Set the value of the
forDelegate property. |
void |
setForElement(java.lang.String forElement)
Set the value of the
forElement property. |
void |
setGlobal(boolean global)
Set the value of the
global property. |
void |
setHideDelay(int hideDelay)
Set the value of the
hideDelay property. |
void |
setHideEffect(java.lang.String hideEffect)
Set the value of the
hideEffect property. |
void |
setHideEffectLength(int hideEffectLength)
Set the value of the
hideEffectLength property. |
void |
setHideEvent(java.lang.String hideEvent)
Set the value of the
hideEvent property. |
void |
setPosition(java.lang.String position)
Set the value of the
position property. |
void |
setShowDelay(int showDelay)
Set the value of the
showDelay property. |
void |
setShowEffect(java.lang.String showEffect)
Set the value of the
showEffect property. |
void |
setShowEffectLength(int showEffectLength)
Set the value of the
showEffectLength property. |
void |
setShowEvent(java.lang.String showEvent)
Set the value of the
showEvent property. |
void |
setSpeechBubble(boolean speechBubble)
Set the value of the
speechBubble property. |
void |
setStore(java.lang.Object store)
Set the value of the
store property. |
void |
setStyle(java.lang.String style)
Set the value of the
style property. |
void |
setStyleClass(java.lang.String styleClass)
Set the value of the
styleClass property. |
void |
setTargetPosition(java.lang.String targetPosition)
Set the value of the
targetPosition property. |
void |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding) |
void |
setWidgetVar(java.lang.String widgetVar)
Set the value of the
widgetVar property. |
clearInitialState, getConverter, getLocalValue, getValue, markInitialState, resetValue, restoreState, saveState, setConverter, setValueaddFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTreepublic static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIOutputpublic void setDisplayListener(javax.el.MethodExpression displayListener)
Set the value of the displayListener property.
Contents: A server side listener to be invoked when the tooltip is about to be shown in the client.
setDisplayListener in interface ITooltippublic javax.el.MethodExpression getDisplayListener()
Return the value of the displayListener property.
Contents: A server side listener to be invoked when the tooltip is about to be shown in the client.
getDisplayListener in interface ITooltippublic void setFetch(javax.el.ValueExpression fetch)
Set the value of the fetch property.
Contents: When using "forDelegate", an EL expression can be specified as the value of this attribute. Such expression will be evaluated at the same point (e.g. row) where the component that triggered the tooltip is located, allowing to retrieve row data in a table or iterative container. The result is saved in the bean property specified by the "store" attribute.
public javax.el.ValueExpression getFetch()
Return the value of the fetch property.
Contents: When using "forDelegate", an EL expression can be specified as the value of this attribute. Such expression will be evaluated at the same point (e.g. row) where the component that triggered the tooltip is located, allowing to retrieve row data in a table or iterative container. The result is saved in the bean property specified by the "store" attribute.
public void setFor(java.lang.String forValue)
Set the value of the for property.
Contents: Specifies the id of the component that will display the tooltip. Ignored if "global" is true.
public java.lang.String getFor()
Return the value of the for property.
Contents: Specifies the id of the component that will display the tooltip. Ignored if "global" is true.
public void setForContainer(java.lang.String forContainer)
Set the value of the forContainer property.
Contents: Specifies the id of the component that contains the component referenced by the "for" attribute. This is to be used in cases where the target component is inside an iterative container such as a data table and the tooltip component itself is outside. A more robust solution is to use "forDelegate" instead of this attribute.
setForContainer in interface ITooltippublic java.lang.String getForContainer()
Return the value of the forContainer property.
Contents: Specifies the id of the component that contains the component referenced by the "for" attribute. This is to be used in cases where the target component is inside an iterative container such as a data table and the tooltip component itself is outside. A more robust solution is to use "forDelegate" instead of this attribute.
getForContainer in interface ITooltippublic void setForDelegate(java.lang.String forDelegate)
Set the value of the forDelegate property.
Contents: Specifies the id of the
setForDelegate in interface ITooltippublic java.lang.String getForDelegate()
Return the value of the forDelegate property.
Contents: Specifies the id of the
getForDelegate in interface ITooltippublic void setForElement(java.lang.String forElement)
Set the value of the forElement property.
Contents: Specifies the id of the HTML element that will display the tooltip. Applicable only if "for" component is not specified. Ignored if "global" is true.
setForElement in interface ITooltippublic java.lang.String getForElement()
Return the value of the forElement property.
Contents: Specifies the id of the HTML element that will display the tooltip. Applicable only if "for" component is not specified. Ignored if "global" is true.
getForElement in interface ITooltippublic void setGlobal(boolean global)
Set the value of the global property.
Contents: Boolean value specifying whether to create tooltips for all elements with a title attribute using the title attribute value.
public boolean isGlobal()
Return the value of the global property.
Contents: Boolean value specifying whether to create tooltips for all elements with a title attribute using the title attribute value. Default = 'false'.
public void setHideDelay(int hideDelay)
Set the value of the hideDelay property.
Contents: Time in milliseconds by which to delay the hiding of the tooltip.
setHideDelay in interface ITooltippublic int getHideDelay()
Return the value of the hideDelay property.
Contents: Time in milliseconds by which to delay the hiding of the tooltip. Default = '0'.
getHideDelay in interface ITooltippublic void setHideEffect(java.lang.String hideEffect)
Set the value of the hideEffect property.
Contents: Effect to use upon hiding the tooltip e.g. fade, slide or grow.
setHideEffect in interface ITooltippublic java.lang.String getHideEffect()
Return the value of the hideEffect property.
Contents: Effect to use upon hiding the tooltip e.g. fade, slide or grow. Default = 'fade'.
getHideEffect in interface ITooltippublic void setHideEffectLength(int hideEffectLength)
Set the value of the hideEffectLength property.
Contents: Length of time in milliseconds the hide effect will last for.
setHideEffectLength in interface ITooltippublic int getHideEffectLength()
Return the value of the hideEffectLength property.
Contents: Length of time in milliseconds the hide effect will last for. Default = '500'.
getHideEffectLength in interface ITooltippublic void setHideEvent(java.lang.String hideEvent)
Set the value of the hideEvent property.
Contents: Event which will trigger the hiding of the tooltip. Possible values are DOM events, such as "mouseout", documented under jQuery's Event: bind().
setHideEvent in interface ITooltippublic java.lang.String getHideEvent()
Return the value of the hideEvent property.
Contents: Event which will trigger the hiding of the tooltip. Possible values are DOM events, such as "mouseout", documented under jQuery's Event: bind(). Default = 'mouseout'.
getHideEvent in interface ITooltippublic void setPosition(java.lang.String position)
Set the value of the position property.
Contents: The corner of the tooltip to position in relation to the target's corner. E.g. topLeft, bottomRight. See positioning for all possible values.
setPosition in interface ITooltippublic java.lang.String getPosition()
Return the value of the position property.
Contents: The corner of the tooltip to position in relation to the target's corner. E.g. topLeft, bottomRight. See positioning for all possible values. Default = 'topLeft'.
getPosition in interface ITooltippublic void setShowDelay(int showDelay)
Set the value of the showDelay property.
Contents: Time in milliseconds by which to delay the showing of the tooltip.
setShowDelay in interface ITooltippublic int getShowDelay()
Return the value of the showDelay property.
Contents: Time in milliseconds by which to delay the showing of the tooltip. Default = '140'.
getShowDelay in interface ITooltippublic void setShowEffect(java.lang.String showEffect)
Set the value of the showEffect property.
Contents: Effect to use upon showing the tooltip e.g. fade, slide or grow.
setShowEffect in interface ITooltippublic java.lang.String getShowEffect()
Return the value of the showEffect property.
Contents: Effect to use upon showing the tooltip e.g. fade, slide or grow. Default = 'fade'.
getShowEffect in interface ITooltippublic void setShowEffectLength(int showEffectLength)
Set the value of the showEffectLength property.
Contents: Length of time in milliseconds the show effect will last for.
setShowEffectLength in interface ITooltippublic int getShowEffectLength()
Return the value of the showEffectLength property.
Contents: Length of time in milliseconds the show effect will last for. Default = '500'.
getShowEffectLength in interface ITooltippublic void setShowEvent(java.lang.String showEvent)
Set the value of the showEvent property.
Contents: Event which will trigger the showing of the tooltip. Possible values are DOM events, such as "mouseover", documented under jQuery's Event: bind().
setShowEvent in interface ITooltippublic java.lang.String getShowEvent()
Return the value of the showEvent property.
Contents: Event which will trigger the showing of the tooltip. Possible values are DOM events, such as "mouseover", documented under jQuery's Event: bind(). Default = 'mouseover'.
getShowEvent in interface ITooltippublic void setSpeechBubble(boolean speechBubble)
Set the value of the speechBubble property.
Contents: Specifies whether the tooltip should be stylized as a speech bubble (i.e. with a speech bubble arrow tip pointing to the triggerer element).
setSpeechBubble in interface ITooltippublic boolean isSpeechBubble()
Return the value of the speechBubble property.
Contents: Specifies whether the tooltip should be stylized as a speech bubble (i.e. with a speech bubble arrow tip pointing to the triggerer element). Default = 'false'.
isSpeechBubble in interface ITooltippublic void setStore(java.lang.Object store)
Set the value of the store property.
Contents: The result of evaluating the expression specified in "fetch" is stored in the bean property specified in this attribute.
public java.lang.Object getStore()
Return the value of the store property.
Contents: The result of evaluating the expression specified in "fetch" is stored in the bean property specified in this attribute.
public void setStyle(java.lang.String style)
Set the value of the style property.
Contents: The inline style of the component, rendered on the root div of the component.
public java.lang.String getStyle()
Return the value of the style property.
Contents: The inline style of the component, rendered on the root div of the component.
public void setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property.
Contents: The CSS style class of the component, rendered on the root div of the component.
setStyleClass in interface ITooltippublic java.lang.String getStyleClass()
Return the value of the styleClass property.
Contents: The CSS style class of the component, rendered on the root div of the component.
getStyleClass in interface ITooltippublic void setTargetPosition(java.lang.String targetPosition)
Set the value of the targetPosition property.
Contents: The corner of the target element by which to position the tooltip by. E.g. topLeft, bottomRight. See positioning for all possible values.
setTargetPosition in interface ITooltippublic java.lang.String getTargetPosition()
Return the value of the targetPosition property.
Contents: The corner of the target element by which to position the tooltip by. E.g. topLeft, bottomRight. See positioning for all possible values. Default = 'bottomRight'.
getTargetPosition in interface ITooltippublic void setWidgetVar(java.lang.String widgetVar)
Set the value of the widgetVar property.
Contents: Name of the widget to access client side api
setWidgetVar in interface ITooltippublic java.lang.String getWidgetVar()
Return the value of the widgetVar property.
Contents: Name of the widget to access client side api
getWidgetVar in interface ITooltipprotected boolean isPropertySet(java.lang.String finder)
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
setValueExpression in class javax.faces.component.UIComponentpublic java.util.Collection<java.lang.String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultEventName()
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHoldergetDefaultEventName in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultRender(java.lang.String event)
getDefaultRender in interface IceClientBehaviorHolderpublic java.lang.String getDefaultExecute(java.lang.String event)
getDefaultExecute in interface IceClientBehaviorHolderpublic java.lang.String getListenerArgument(java.lang.String event)
getListenerArgument in interface IceClientBehaviorHolderpublic void addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
addClientBehavior in interface javax.faces.component.behavior.ClientBehaviorHolderaddClientBehavior in class javax.faces.component.UIComponentBaseCopyright 2014 ICEsoft Technologies Canada Corp., All Rights Reserved.