org.primefaces.extensions.component.tooltip
Class Tooltip

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by org.primefaces.extensions.component.tooltip.Tooltip
All Implemented Interfaces:
java.util.EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.component.ValueHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, org.primefaces.component.api.Widget, Attachable, EnhancedAttachable

public class Tooltip
extends javax.faces.component.UIOutput
implements org.primefaces.component.api.Widget, EnhancedAttachable

Tooltip component.

Since:
0.2
Version:
$Revision$
Author:
Oleg Varaksin / last modified by $Author$

Nested Class Summary
protected static class Tooltip.PropertyKeys
          Properties that are tracked by state saving.
 
Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
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
 
Constructor Summary
Tooltip()
           
 
Method Summary
 int getAdjustX()
           
 int getAdjustY()
           
 java.lang.String getAtPosition()
           
 java.lang.String getFamily()
           
 java.lang.String getFor()
           
 java.lang.String getForSelector()
           
 int getHideDelay()
           
 java.lang.String getHideEffect()
           
 int getHideEffectLength()
           
 java.lang.String getHideEvent()
           
 java.lang.String getMyPosition()
           
 int getShowDelay()
           
 java.lang.String getShowEffect()
           
 int getShowEffectLength()
           
 java.lang.String getShowEvent()
           
 java.lang.String getWidgetVar()
           
 boolean isAutoShow()
           
 boolean isGlobal()
           
 boolean isMouseTracking()
           
 boolean isShared()
           
 java.lang.String resolveWidgetVar()
           
 void setAdjustX(int adjustX)
           
 void setAdjustY(int adjustY)
           
 void setAtPosition(java.lang.String atPosition)
           
 void setAttribute(Tooltip.PropertyKeys property, java.lang.Object value)
           
 void setAutoShow(boolean autoShow)
           
 void setFor(java.lang.String forValue)
           
 void setForSelector(java.lang.String forSelector)
           
 void setGlobal(boolean global)
           
 void setHideDelay(int hideDelay)
           
 void setHideEffect(java.lang.String hideEffect)
           
 void setHideEffectLength(int hideEffectLength)
           
 void setHideEvent(java.lang.String hideEvent)
           
 void setMouseTracking(boolean mouseTracking)
           
 void setMyPosition(java.lang.String myPosition)
           
 void setShared(boolean shared)
           
 void setShowDelay(int showDelay)
           
 void setShowEffect(java.lang.String showEffect)
           
 void setShowEffectLength(int showEffectLength)
           
 void setShowEvent(java.lang.String showEvent)
           
 void setWidgetVar(java.lang.String widgetVar)
           
 
Methods inherited from class javax.faces.component.UIOutput
clearInitialState, getConverter, getLocalValue, getValue, markInitialState, restoreState, saveState, setConverter, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values
Constructor Detail

Tooltip

public Tooltip()
Method Detail

getFamily

public java.lang.String getFamily()
Overrides:
getFamily in class javax.faces.component.UIOutput

getWidgetVar

public java.lang.String getWidgetVar()

setWidgetVar

public void setWidgetVar(java.lang.String widgetVar)

isGlobal

public boolean isGlobal()

setGlobal

public void setGlobal(boolean global)

isShared

public boolean isShared()

setShared

public void setShared(boolean shared)

isAutoShow

public boolean isAutoShow()

setAutoShow

public void setAutoShow(boolean autoShow)

isMouseTracking

public boolean isMouseTracking()

setMouseTracking

public void setMouseTracking(boolean mouseTracking)

getAdjustX

public int getAdjustX()

setAdjustX

public void setAdjustX(int adjustX)

getAdjustY

public int getAdjustY()

setAdjustY

public void setAdjustY(int adjustY)

getAtPosition

public java.lang.String getAtPosition()

setAtPosition

public void setAtPosition(java.lang.String atPosition)

getMyPosition

public java.lang.String getMyPosition()

setMyPosition

public void setMyPosition(java.lang.String myPosition)

getShowEvent

public java.lang.String getShowEvent()

setShowEvent

public void setShowEvent(java.lang.String showEvent)

getShowDelay

public int getShowDelay()

setShowDelay

public void setShowDelay(int showDelay)

getShowEffect

public java.lang.String getShowEffect()

setShowEffect

public void setShowEffect(java.lang.String showEffect)

getShowEffectLength

public int getShowEffectLength()

setShowEffectLength

public void setShowEffectLength(int showEffectLength)

getHideEvent

public java.lang.String getHideEvent()

setHideEvent

public void setHideEvent(java.lang.String hideEvent)

getHideDelay

public int getHideDelay()

setHideDelay

public void setHideDelay(int hideDelay)

getHideEffect

public java.lang.String getHideEffect()

setHideEffect

public void setHideEffect(java.lang.String hideEffect)

getHideEffectLength

public int getHideEffectLength()

setHideEffectLength

public void setHideEffectLength(int hideEffectLength)

getFor

public java.lang.String getFor()
Specified by:
getFor in interface Attachable

setFor

public void setFor(java.lang.String forValue)
Specified by:
setFor in interface Attachable

getForSelector

public java.lang.String getForSelector()
Specified by:
getForSelector in interface EnhancedAttachable

setForSelector

public void setForSelector(java.lang.String forSelector)
Specified by:
setForSelector in interface EnhancedAttachable

resolveWidgetVar

public java.lang.String resolveWidgetVar()
Specified by:
resolveWidgetVar in interface org.primefaces.component.api.Widget

setAttribute

public void setAttribute(Tooltip.PropertyKeys property,
                         java.lang.Object value)


Copyright © 2011-2013. All Rights Reserved.