org.primefaces.extensions.component.timeline
Class Timeline

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.primefaces.extensions.component.timeline.Timeline
All Implemented Interfaces:
java.util.EventListener, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, org.primefaces.component.api.Widget

public class Timeline
extends javax.faces.component.UIComponentBase
implements org.primefaces.component.api.Widget, javax.faces.component.behavior.ClientBehaviorHolder

Timeline component class.

Since:
0.7 (reimplemented)
Version:
$Revision: 1.0 $
Author:
Oleg Varaksin / last modified by $Author: $

Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
static java.lang.String DEFAULT_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
 
Constructor Summary
Timeline()
           
 
Method Summary
 int getDragAreaWidth()
           
 java.util.Date getEnd()
           
 int getEventMargin()
           
 int getEventMarginAxis()
           
 java.util.Collection<java.lang.String> getEventNames()
           
 java.lang.String getEventStyle()
           
 java.lang.String getFamily()
           
 java.lang.String getGroupsWidth()
           
 java.lang.String getHeight()
           
 java.lang.Object getLocale()
           
 java.util.Date getMax()
           
 java.util.Date getMin()
           
 int getMinHeight()
           
 java.util.Date getStart()
           
 java.lang.String getStyle()
           
 java.lang.String getStyleClass()
           
 java.lang.Object getTimeZone()
           
 TimelineModel getValue()
           
 java.lang.String getVar()
           
 java.lang.String getWidgetVar()
           
 java.lang.String getWidth()
           
 long getZoomMax()
           
 long getZoomMin()
           
 boolean isAxisOnTop()
           
 boolean isEditable()
           
 boolean isGroupsChangeable()
           
 boolean isGroupsOnRight()
           
 boolean isMoveable()
           
 boolean isResponsive()
           
 boolean isSelectable()
           
 boolean isShowButtonNew()
           
 boolean isShowCurrentTime()
           
 boolean isShowMajorLabels()
           
 boolean isShowMinorLabels()
           
 boolean isShowNavigation()
           
 boolean isSnapEvents()
           
 boolean isStackEvents()
           
 boolean isZoomable()
           
 void queueEvent(javax.faces.event.FacesEvent event)
           
 java.lang.String resolveWidgetVar()
           
 void setAttribute(org.primefaces.extensions.component.timeline.Timeline.PropertyKeys property, java.lang.Object value)
           
 void setAxisOnTop(boolean axisOnTop)
           
 void setDragAreaWidth(int dragAreaWidth)
           
 void setEditable(boolean editable)
           
 void setEnd(java.util.Date end)
           
 void setEventMargin(int eventMargin)
           
 void setEventMarginAxis(int eventMarginAxis)
           
 void setEventStyle(java.lang.String eventStyle)
           
 void setGroupsChangeable(boolean groupsChangeable)
           
 void setGroupsOnRight(boolean groupsOnRight)
           
 void setGroupsWidth(java.lang.String groupsWidth)
           
 void setHeight(java.lang.String height)
           
 void setLocale(java.lang.Object locale)
           
 void setMax(java.util.Date max)
           
 void setMin(java.util.Date min)
           
 void setMinHeight(int minHeight)
           
 void setMoveable(boolean moveable)
           
 void setResponsive(boolean responsive)
           
 void setSelectable(boolean selectable)
           
 void setShowButtonNew(boolean showButtonNew)
           
 void setShowCurrentTime(boolean showCurrentTime)
           
 void setShowMajorLabels(boolean showMajorLabels)
           
 void setShowMinorLabels(boolean showMinorLabels)
           
 void setShowNavigation(boolean showNavigation)
           
 void setSnapEvents(boolean snapEvents)
           
 void setStackEvents(boolean stackEvents)
           
 void setStart(java.util.Date start)
           
 void setStyle(java.lang.String style)
           
 void setStyleClass(java.lang.String styleClass)
           
 void setTimeZone(java.lang.Object timeZone)
           
 void setValue(TimelineModel value)
           
 void setVar(java.lang.String var)
           
 void setWidgetVar(java.lang.String widgetVar)
           
 void setWidth(java.lang.String width)
           
 void setZoomable(boolean zoomable)
           
 void setZoomMax(long zoomMax)
           
 void setZoomMin(long zoomMin)
           
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, 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
 
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors, getDefaultEventName
 

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
Constructor Detail

Timeline

public Timeline()
Method Detail

getFamily

public java.lang.String getFamily()
Specified by:
getFamily in class javax.faces.component.UIComponent

getWidgetVar

public java.lang.String getWidgetVar()

setWidgetVar

public void setWidgetVar(java.lang.String widgetVar)

getValue

public TimelineModel getValue()

setValue

public void setValue(TimelineModel value)

getVar

public java.lang.String getVar()

setVar

public void setVar(java.lang.String var)

getLocale

public java.lang.Object getLocale()

setLocale

public void setLocale(java.lang.Object locale)

getTimeZone

public java.lang.Object getTimeZone()

setTimeZone

public void setTimeZone(java.lang.Object timeZone)

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)

getHeight

public java.lang.String getHeight()

setHeight

public void setHeight(java.lang.String height)

getMinHeight

public int getMinHeight()

setMinHeight

public void setMinHeight(int minHeight)

getWidth

public java.lang.String getWidth()

setWidth

public void setWidth(java.lang.String width)

isResponsive

public boolean isResponsive()

setResponsive

public void setResponsive(boolean responsive)

isAxisOnTop

public boolean isAxisOnTop()

setAxisOnTop

public void setAxisOnTop(boolean axisOnTop)

getDragAreaWidth

public int getDragAreaWidth()

setDragAreaWidth

public void setDragAreaWidth(int dragAreaWidth)

isEditable

public boolean isEditable()

setEditable

public void setEditable(boolean editable)

isSelectable

public boolean isSelectable()

setSelectable

public void setSelectable(boolean selectable)

isZoomable

public boolean isZoomable()

setZoomable

public void setZoomable(boolean zoomable)

isMoveable

public boolean isMoveable()

setMoveable

public void setMoveable(boolean moveable)

getStart

public java.util.Date getStart()

setStart

public void setStart(java.util.Date start)

getEnd

public java.util.Date getEnd()

setEnd

public void setEnd(java.util.Date end)

getMin

public java.util.Date getMin()

setMin

public void setMin(java.util.Date min)

getMax

public java.util.Date getMax()

setMax

public void setMax(java.util.Date max)

getZoomMin

public long getZoomMin()

setZoomMin

public void setZoomMin(long zoomMin)

getZoomMax

public long getZoomMax()

setZoomMax

public void setZoomMax(long zoomMax)

getEventMargin

public int getEventMargin()

setEventMargin

public void setEventMargin(int eventMargin)

getEventMarginAxis

public int getEventMarginAxis()

setEventMarginAxis

public void setEventMarginAxis(int eventMarginAxis)

getEventStyle

public java.lang.String getEventStyle()

setEventStyle

public void setEventStyle(java.lang.String eventStyle)

isGroupsChangeable

public boolean isGroupsChangeable()

setGroupsChangeable

public void setGroupsChangeable(boolean groupsChangeable)

isGroupsOnRight

public boolean isGroupsOnRight()

setGroupsOnRight

public void setGroupsOnRight(boolean groupsOnRight)

getGroupsWidth

public java.lang.String getGroupsWidth()

setGroupsWidth

public void setGroupsWidth(java.lang.String groupsWidth)

isSnapEvents

public boolean isSnapEvents()

setSnapEvents

public void setSnapEvents(boolean snapEvents)

isStackEvents

public boolean isStackEvents()

setStackEvents

public void setStackEvents(boolean stackEvents)

isShowCurrentTime

public boolean isShowCurrentTime()

setShowCurrentTime

public void setShowCurrentTime(boolean showCurrentTime)

isShowMajorLabels

public boolean isShowMajorLabels()

setShowMajorLabels

public void setShowMajorLabels(boolean showMajorLabels)

isShowMinorLabels

public boolean isShowMinorLabels()

setShowMinorLabels

public void setShowMinorLabels(boolean showMinorLabels)

isShowButtonNew

public boolean isShowButtonNew()

setShowButtonNew

public void setShowButtonNew(boolean showButtonNew)

isShowNavigation

public boolean isShowNavigation()

setShowNavigation

public void setShowNavigation(boolean showNavigation)

getEventNames

public java.util.Collection<java.lang.String> getEventNames()
Specified by:
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHolder
Overrides:
getEventNames in class javax.faces.component.UIComponentBase

queueEvent

public void queueEvent(javax.faces.event.FacesEvent event)
Overrides:
queueEvent in class javax.faces.component.UIComponentBase

resolveWidgetVar

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

setAttribute

public void setAttribute(org.primefaces.extensions.component.timeline.Timeline.PropertyKeys property,
                         java.lang.Object value)


Copyright © 2011-2013. All Rights Reserved.