Class Keynote
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- org.primefaces.extensions.component.base.AbstractDynamicData
-
- org.primefaces.extensions.component.keynote.Keynote
-
- All Implemented Interfaces:
java.util.EventListener,javax.faces.component.behavior.ClientBehaviorHolder,javax.faces.component.NamingContainer,javax.faces.component.PartialStateHolder,javax.faces.component.StateHolder,javax.faces.component.TransientStateHolder,javax.faces.component.UniqueIdVendor,javax.faces.event.ComponentSystemEventListener,javax.faces.event.FacesListener,javax.faces.event.SystemEventListenerHolder,org.primefaces.component.api.PrimeClientBehaviorHolder,org.primefaces.component.api.Widget
public class Keynote extends AbstractDynamicData implements org.primefaces.component.api.Widget, javax.faces.component.behavior.ClientBehaviorHolder, org.primefaces.component.api.PrimeClientBehaviorHolder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classKeynote.PropertyKeys
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCOMPONENT_FAMILYstatic java.lang.StringCOMPONENT_TYPEstatic java.lang.StringDEFAULT_RENDERER-
Fields inherited from class org.primefaces.extensions.component.base.AbstractDynamicData
data
-
-
Constructor Summary
Constructors Constructor Description Keynote()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static voidcheckModelInstance(java.lang.Object value)protected KeyDatafindData(java.lang.String key)Finds instance ofKeyDataby corresponding key.intgetAutoSlide()java.lang.StringgetBackgroundTransition()java.util.Map<java.lang.String,java.lang.Class<? extends javax.faces.event.BehaviorEvent>>getBehaviorEventMapping()java.lang.StringgetDefaultEventName()java.util.Collection<java.lang.String>getEventNames()java.lang.StringgetFamily()intgetHeight()UIKeynoteItemgetItem(java.lang.String type)protected java.util.Map<java.lang.String,UIKeynoteItem>getItems()java.lang.StringgetLibrary()java.lang.DoublegetMargin()java.lang.DoublegetMaxScale()java.lang.DoublegetMinScale()java.lang.StringgetNavigationMode()java.lang.StringgetSlideNumber()java.lang.StringgetStyle()java.lang.StringgetStyleClass()java.lang.StringgetTheme()java.lang.StringgetTransition()java.lang.StringgetTransitionSpeed()java.lang.StringgetWidgetVar()intgetWidth()protected booleaninvokeOnChildren(javax.faces.context.FacesContext context, java.lang.String clientId, javax.faces.component.ContextCallback callback)Searches a child component with the given clientId during invokeOnComponent() and invokes the callback on it if found.java.lang.BooleanisCenter()java.lang.BooleanisControls()java.lang.BooleanisDisableLayout()java.lang.BooleanisEmbedded()java.lang.BooleanisLoop()java.lang.BooleanisProgress()java.lang.BooleanisShowNotes()java.lang.BooleanisTouch()protected voidprocessChildren(javax.faces.context.FacesContext context, javax.faces.event.PhaseId phaseId)Processes children components during processDecodes(), processValidators(), processUpdates().voidqueueEvent(javax.faces.event.FacesEvent event)java.lang.ObjectsaveState(javax.faces.context.FacesContext context)voidsetAutoSlide(int autoSlide)voidsetBackgroundTransition(java.lang.String backgroundTransition)voidsetCenter(java.lang.Boolean center)voidsetControls(java.lang.Boolean controls)voidsetDisableLayout(java.lang.Boolean disableLayout)voidsetEmbedded(java.lang.Boolean embedded)voidsetHeight(int height)voidsetLibrary(java.lang.String library)voidsetLoop(java.lang.Boolean loop)voidsetMargin(java.lang.Double margin)voidsetMaxScale(java.lang.Double maxScale)voidsetMinScale(java.lang.Double minScale)voidsetNavigationMode(java.lang.String navigationMode)voidsetProgress(java.lang.Boolean progress)voidsetShowNotes(java.lang.Boolean showNotes)voidsetSlideNumber(java.lang.String slideNumber)voidsetStyle(java.lang.String style)voidsetStyleClass(java.lang.String styleClass)voidsetTheme(java.lang.String theme)voidsetTouch(java.lang.Boolean touch)voidsetTransition(java.lang.String transition)voidsetTransitionSpeed(java.lang.String transitionSpeed)voidsetWidgetVar(java.lang.String widgetVar)voidsetWidth(int width)protected booleanvisitChildren(javax.faces.component.visit.VisitContext context, javax.faces.component.visit.VisitCallback callback)Visits children components during visitTree().-
Methods inherited from class org.primefaces.extensions.component.base.AbstractDynamicData
broadcast, createUniqueId, exposeVar, getClientId, getContainerClientId, getData, getValue, getVar, getVarContainerId, invokeOnComponent, isNestedWithinIterator, preDecode, processDecodes, processFacets, processUpdates, processValidators, resetData, restoreDescendantState, restoreDescendantState, saveDescendantState, saveDescendantState, setData, setData, setId, setValue, setVar, setVarContainerId, visitTree
-
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
-
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression
-
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
-
DEFAULT_RENDERER
public static final java.lang.String DEFAULT_RENDERER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBehaviorEventMapping
public java.util.Map<java.lang.String,java.lang.Class<? extends javax.faces.event.BehaviorEvent>> getBehaviorEventMapping()
- Specified by:
getBehaviorEventMappingin interfaceorg.primefaces.component.api.PrimeClientBehaviorHolder
-
getEventNames
public java.util.Collection<java.lang.String> getEventNames()
- Specified by:
getEventNamesin interfacejavax.faces.component.behavior.ClientBehaviorHolder- Overrides:
getEventNamesin classjavax.faces.component.UIComponentBase
-
getDefaultEventName
public java.lang.String getDefaultEventName()
- Specified by:
getDefaultEventNamein interfacejavax.faces.component.behavior.ClientBehaviorHolder- Overrides:
getDefaultEventNamein classjavax.faces.component.UIComponentBase
-
getFamily
public java.lang.String getFamily()
- Specified by:
getFamilyin classjavax.faces.component.UIComponent
-
getWidth
public int getWidth()
-
setWidth
public void setWidth(int width)
-
getHeight
public int getHeight()
-
setHeight
public void setHeight(int height)
-
getMargin
public java.lang.Double getMargin()
-
setMargin
public void setMargin(java.lang.Double margin)
-
getMinScale
public java.lang.Double getMinScale()
-
setMinScale
public void setMinScale(java.lang.Double minScale)
-
getMaxScale
public java.lang.Double getMaxScale()
-
setMaxScale
public void setMaxScale(java.lang.Double maxScale)
-
getAutoSlide
public int getAutoSlide()
-
setAutoSlide
public void setAutoSlide(int autoSlide)
-
isCenter
public java.lang.Boolean isCenter()
-
setCenter
public void setCenter(java.lang.Boolean center)
-
isControls
public java.lang.Boolean isControls()
-
setControls
public void setControls(java.lang.Boolean controls)
-
isDisableLayout
public java.lang.Boolean isDisableLayout()
-
setDisableLayout
public void setDisableLayout(java.lang.Boolean disableLayout)
-
isEmbedded
public java.lang.Boolean isEmbedded()
-
setEmbedded
public void setEmbedded(java.lang.Boolean embedded)
-
isLoop
public java.lang.Boolean isLoop()
-
setLoop
public void setLoop(java.lang.Boolean loop)
-
getNavigationMode
public java.lang.String getNavigationMode()
-
setNavigationMode
public void setNavigationMode(java.lang.String navigationMode)
-
isProgress
public java.lang.Boolean isProgress()
-
setProgress
public void setProgress(java.lang.Boolean progress)
-
isShowNotes
public java.lang.Boolean isShowNotes()
-
setShowNotes
public void setShowNotes(java.lang.Boolean showNotes)
-
getSlideNumber
public java.lang.String getSlideNumber()
-
setSlideNumber
public void setSlideNumber(java.lang.String slideNumber)
-
isTouch
public java.lang.Boolean isTouch()
-
setTouch
public void setTouch(java.lang.Boolean touch)
-
getTransition
public java.lang.String getTransition()
-
setTransition
public void setTransition(java.lang.String transition)
-
getTransitionSpeed
public java.lang.String getTransitionSpeed()
-
setTransitionSpeed
public void setTransitionSpeed(java.lang.String transitionSpeed)
-
getBackgroundTransition
public java.lang.String getBackgroundTransition()
-
setBackgroundTransition
public void setBackgroundTransition(java.lang.String backgroundTransition)
-
getTheme
public java.lang.String getTheme()
-
setTheme
public void setTheme(java.lang.String theme)
-
getLibrary
public java.lang.String getLibrary()
-
setLibrary
public void setLibrary(java.lang.String library)
-
getWidgetVar
public java.lang.String getWidgetVar()
-
setWidgetVar
public void setWidgetVar(java.lang.String widgetVar)
-
getStyle
public java.lang.String getStyle()
-
setStyle
public void setStyle(java.lang.String style)
-
getStyleClass
public java.lang.String getStyleClass()
-
setStyleClass
public void setStyleClass(java.lang.String styleClass)
-
queueEvent
public void queueEvent(javax.faces.event.FacesEvent event)
- Overrides:
queueEventin classAbstractDynamicData
-
getItem
public UIKeynoteItem getItem(java.lang.String type)
-
getItems
protected java.util.Map<java.lang.String,UIKeynoteItem> getItems()
-
checkModelInstance
protected static void checkModelInstance(java.lang.Object value)
-
findData
protected KeyData findData(java.lang.String key)
Description copied from class:AbstractDynamicDataFinds instance ofKeyDataby corresponding key.- Specified by:
findDatain classAbstractDynamicData- Parameters:
key- unique key- Returns:
- KeyData found data
-
processChildren
protected void processChildren(javax.faces.context.FacesContext context, javax.faces.event.PhaseId phaseId)Description copied from class:AbstractDynamicDataProcesses children components during processDecodes(), processValidators(), processUpdates().- Specified by:
processChildrenin classAbstractDynamicData- Parameters:
context- faces contextFacesContextphaseId- current JSF phase id
-
visitChildren
protected boolean visitChildren(javax.faces.component.visit.VisitContext context, javax.faces.component.visit.VisitCallback callback)Description copied from class:AbstractDynamicDataVisits children components during visitTree().- Specified by:
visitChildrenin classAbstractDynamicData- Parameters:
context- visit contextVisitContextcallback- visit callbackVisitCallback- Returns:
- boolean true - indicates that the children's visit is complete (e.g. all components that need to be visited have been visited), false - otherwise.
-
invokeOnChildren
protected boolean invokeOnChildren(javax.faces.context.FacesContext context, java.lang.String clientId, javax.faces.component.ContextCallback callback)Description copied from class:AbstractDynamicDataSearches a child component with the given clientId during invokeOnComponent() and invokes the callback on it if found.- Specified by:
invokeOnChildrenin classAbstractDynamicData- Parameters:
context- faces contextFacesContextclientId- client Idcallback-ContextCallback- Returns:
- boolean true - child component was found, else - otherwise
-
saveState
public java.lang.Object saveState(javax.faces.context.FacesContext context)
- Specified by:
saveStatein interfacejavax.faces.component.StateHolder- Overrides:
saveStatein classAbstractDynamicData
-
-