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:
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 -
Field Summary
FieldsFields inherited from class org.primefaces.extensions.component.base.AbstractDynamicData
data
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 javax.faces.component.NamingContainer
SEPARATOR_CHAR
Fields inherited from interface org.primefaces.component.api.PrimeClientBehaviorHolder
DEFAULT_SELECT_EVENT_NAMES
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
checkModelInstance
(Object value) protected KeyData
Finds instance ofKeyData
by corresponding key.int
int
protected Map
<String, UIKeynoteItem> getItems()
getStyle()
getTheme()
int
getWidth()
protected boolean
invokeOnChildren
(javax.faces.context.FacesContext context, 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.isCenter()
isLoop()
isTouch()
protected void
processChildren
(javax.faces.context.FacesContext context, javax.faces.event.PhaseId phaseId) Processes children components during processDecodes(), processValidators(), processUpdates().void
queueEvent
(javax.faces.event.FacesEvent event) saveState
(javax.faces.context.FacesContext context) void
setAutoSlide
(int autoSlide) void
setBackgroundTransition
(String backgroundTransition) void
void
setControls
(Boolean controls) void
setDisableLayout
(Boolean disableLayout) void
setEmbedded
(Boolean embedded) void
setHeight
(int height) void
setLibrary
(String library) void
void
void
setMaxScale
(Double maxScale) void
setMinScale
(Double minScale) void
setNavigationMode
(String navigationMode) void
setProgress
(Boolean progress) void
setShowNotes
(Boolean showNotes) void
setSlideNumber
(String slideNumber) void
void
setStyleClass
(String styleClass) void
void
void
setTransition
(String transition) void
setTransitionSpeed
(String transitionSpeed) void
setWidgetVar
(String widgetVar) void
setWidth
(int width) protected boolean
visitChildren
(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
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors
Methods inherited from interface org.primefaces.component.api.Widget
resolveWidgetVar, resolveWidgetVar
-
Field Details
-
COMPONENT_TYPE
- See Also:
-
COMPONENT_FAMILY
- See Also:
-
DEFAULT_RENDERER
- See Also:
-
-
Constructor Details
-
Keynote
public Keynote()
-
-
Method Details
-
getBehaviorEventMapping
- Specified by:
getBehaviorEventMapping
in interfaceorg.primefaces.component.api.PrimeClientBehaviorHolder
-
getEventNames
- Specified by:
getEventNames
in interfacejavax.faces.component.behavior.ClientBehaviorHolder
- Overrides:
getEventNames
in classjavax.faces.component.UIComponentBase
-
getDefaultEventName
- Specified by:
getDefaultEventName
in interfacejavax.faces.component.behavior.ClientBehaviorHolder
- Overrides:
getDefaultEventName
in classjavax.faces.component.UIComponentBase
-
getFamily
- Specified by:
getFamily
in 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
-
setMargin
-
getMinScale
-
setMinScale
-
getMaxScale
-
setMaxScale
-
getAutoSlide
public int getAutoSlide() -
setAutoSlide
public void setAutoSlide(int autoSlide) -
isCenter
-
setCenter
-
isControls
-
setControls
-
isDisableLayout
-
setDisableLayout
-
isEmbedded
-
setEmbedded
-
isLoop
-
setLoop
-
isProgress
-
setProgress
-
isShowNotes
-
setShowNotes
-
getSlideNumber
-
setSlideNumber
-
isTouch
-
setTouch
-
getTransition
-
setTransition
-
getTransitionSpeed
-
setTransitionSpeed
-
getBackgroundTransition
-
setBackgroundTransition
-
getTheme
-
setTheme
-
getLibrary
-
setLibrary
-
getWidgetVar
-
setWidgetVar
-
getStyle
-
setStyle
-
getStyleClass
-
setStyleClass
-
queueEvent
public void queueEvent(javax.faces.event.FacesEvent event) - Overrides:
queueEvent
in classAbstractDynamicData
-
getItem
-
getItems
-
checkModelInstance
-
findData
Description copied from class:AbstractDynamicData
Finds instance ofKeyData
by corresponding key.- Specified by:
findData
in 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:AbstractDynamicData
Processes children components during processDecodes(), processValidators(), processUpdates().- Specified by:
processChildren
in classAbstractDynamicData
- Parameters:
context
- faces contextFacesContext
phaseId
- current JSF phase id
-
visitChildren
protected boolean visitChildren(javax.faces.component.visit.VisitContext context, javax.faces.component.visit.VisitCallback callback) Description copied from class:AbstractDynamicData
Visits children components during visitTree().- Specified by:
visitChildren
in classAbstractDynamicData
- Parameters:
context
- visit contextVisitContext
callback
- 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, String clientId, javax.faces.component.ContextCallback callback) Description copied from class:AbstractDynamicData
Searches a child component with the given clientId during invokeOnComponent() and invokes the callback on it if found.- Specified by:
invokeOnChildren
in classAbstractDynamicData
- Parameters:
context
- faces contextFacesContext
clientId
- client Idcallback
-ContextCallback
- Returns:
- boolean true - child component was found, else - otherwise
-
saveState
- Specified by:
saveState
in interfacejavax.faces.component.StateHolder
- Overrides:
saveState
in classAbstractDynamicData
-