Class GalleriaBase
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- javax.faces.component.UIOutput
-
- org.primefaces.component.galleria.GalleriaBase
-
- All Implemented Interfaces:
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,TouchAware,Widget
- Direct Known Subclasses:
Galleria
public abstract class GalleriaBase extends javax.faces.component.UIOutput implements Widget, TouchAware
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGalleriaBase.PropertyKeys
-
Field Summary
Fields Modifier and Type Field Description static StringCOMPONENT_FAMILYstatic StringDEFAULT_RENDERER-
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
-
Fields inherited from interface org.primefaces.component.api.Widget
ATTR_WIDGET_VAR_PATTERN, CALLBACK_POST_CONSTRUCT, CALLBACK_POST_REFRESH, CALLBACK_PRE_DESTROY
-
-
Constructor Summary
Constructors Constructor Description GalleriaBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEffect()intgetEffectSpeed()StringgetFamily()intgetFrameHeight()intgetFrameWidth()intgetPanelHeight()intgetPanelWidth()StringgetStyle()StringgetStyleClass()StringgetTabindex()intgetTransitionInterval()ObjectgetValue()StringgetVar()StringgetWidgetVar()booleanisAutoPlay()booleanisShowCaption()booleanisShowFilmstrip()booleanisTouchable()Is this component touch enabled?voidsetAutoPlay(boolean autoPlay)voidsetEffect(String effect)voidsetEffectSpeed(int effectSpeed)voidsetFrameHeight(int frameHeight)voidsetFrameWidth(int frameWidth)voidsetPanelHeight(int panelHeight)voidsetPanelWidth(int panelWidth)voidsetShowCaption(boolean showCaption)voidsetShowFilmstrip(boolean showFilmstrip)voidsetStyle(String style)voidsetStyleClass(String styleClass)voidsetTabindex(String tabindex)voidsetTouchable(boolean touchable)Enable/disable touch support for this component.voidsetTransitionInterval(int transitionInterval)voidsetValue(Object value)voidsetVar(String var)voidsetWidgetVar(String widgetVar)-
Methods inherited from class javax.faces.component.UIOutput
clearInitialState, getConverter, getLocalValue, markInitialState, resetValue, restoreState, saveState, setConverter
-
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, getPassThroughAttributes, 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, getPassThroughAttributes, 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
-
Methods inherited from interface org.primefaces.component.api.Widget
resolveWidgetVar, resolveWidgetVar
-
-
-
-
Field Detail
-
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
-
DEFAULT_RENDERER
public static final String DEFAULT_RENDERER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFamily
public String getFamily()
- Overrides:
getFamilyin classjavax.faces.component.UIOutput
-
getWidgetVar
public String getWidgetVar()
-
setWidgetVar
public void setWidgetVar(String widgetVar)
-
getValue
public Object getValue()
- Specified by:
getValuein interfacejavax.faces.component.ValueHolder- Overrides:
getValuein classjavax.faces.component.UIOutput
-
setValue
public void setValue(Object value)
- Specified by:
setValuein interfacejavax.faces.component.ValueHolder- Overrides:
setValuein classjavax.faces.component.UIOutput
-
getVar
public String getVar()
-
setVar
public void setVar(String var)
-
getStyle
public String getStyle()
-
setStyle
public void setStyle(String style)
-
getStyleClass
public String getStyleClass()
-
setStyleClass
public void setStyleClass(String styleClass)
-
getEffect
public String getEffect()
-
setEffect
public void setEffect(String effect)
-
getEffectSpeed
public int getEffectSpeed()
-
setEffectSpeed
public void setEffectSpeed(int effectSpeed)
-
getFrameWidth
public int getFrameWidth()
-
setFrameWidth
public void setFrameWidth(int frameWidth)
-
getFrameHeight
public int getFrameHeight()
-
setFrameHeight
public void setFrameHeight(int frameHeight)
-
isShowFilmstrip
public boolean isShowFilmstrip()
-
setShowFilmstrip
public void setShowFilmstrip(boolean showFilmstrip)
-
isAutoPlay
public boolean isAutoPlay()
-
setAutoPlay
public void setAutoPlay(boolean autoPlay)
-
getTransitionInterval
public int getTransitionInterval()
-
setTransitionInterval
public void setTransitionInterval(int transitionInterval)
-
getPanelWidth
public int getPanelWidth()
-
setPanelWidth
public void setPanelWidth(int panelWidth)
-
getPanelHeight
public int getPanelHeight()
-
setPanelHeight
public void setPanelHeight(int panelHeight)
-
isShowCaption
public boolean isShowCaption()
-
setShowCaption
public void setShowCaption(boolean showCaption)
-
getTabindex
public String getTabindex()
-
setTabindex
public void setTabindex(String tabindex)
-
isTouchable
public boolean isTouchable()
Description copied from interface:TouchAwareIs this component touch enabled?- Specified by:
isTouchablein interfaceTouchAware- Returns:
- false to disable
-
setTouchable
public void setTouchable(boolean touchable)
Description copied from interface:TouchAwareEnable/disable touch support for this component.- Specified by:
setTouchablein interfaceTouchAware- Parameters:
touchable- true for touch support
-
-