public class UITimeline
extends org.apache.myfaces.trinidad.component.UIXComponentBase
implements javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.NamingContainer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ANIMATION_EFFECT_DEFAULT |
static java.lang.String |
ANIMATION_EFFECT_NONE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
ANIMATION_ON_DATA_CHANGE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
ANIMATION_ON_DISPLAY_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CLIENT_ATTRIBUTES_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CLIENT_COMPONENT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CLIENT_LISTENERS_KEY |
static java.lang.String |
COMPONENT_FAMILY |
static java.lang.String |
COMPONENT_TYPE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CURRENT_TIME_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CUSTOM_TIME_SCALES_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
END_TIME_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
FETCH_END_TIME_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
FETCH_START_TIME_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
FORMATTED_TIME_RANGES_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
INLINE_STYLE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
ITEM_POSITION_KEY |
static java.lang.String |
ITEM_POSITION_NOOVERLAP |
static java.lang.String |
ITEM_POSITION_RANDOM |
static org.apache.myfaces.trinidad.bean.PropertyKey |
ITEM_SELECTION_KEY |
static java.lang.String |
ITEM_SELECTION_MULTIPLE |
static java.lang.String |
ITEM_SELECTION_NONE |
static java.lang.String |
ITEM_SELECTION_SINGLE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
MINIMUM_WIDTH_KEY |
static java.lang.String |
ORIENTATION_HORIZONTAL |
static org.apache.myfaces.trinidad.bean.PropertyKey |
ORIENTATION_KEY |
static java.lang.String |
ORIENTATION_VERTICAL |
static org.apache.myfaces.trinidad.bean.PropertyKey |
PARTIAL_TRIGGERS_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SCROLL_LEFT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SCROLL_TOP_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SHORT_DESC_KEY |
static java.lang.String |
SORT_AUTO |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SORT_DATA_KEY |
static java.lang.String |
SORT_NONE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
START_TIME_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
STYLE_CLASS_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SUMMARY_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
TIME_RANGE_CHANGE_LISTENER_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
TIMEZONE_KEY |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
VISIBLE_KEY |
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY
Constructor and Description |
---|
UITimeline() |
UITimeline(java.lang.String string) |
Modifier and Type | Method and Description |
---|---|
void |
addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior) |
void |
addTimeRangeChangeListener(TimeRangeChangeListener listener)
Adds a time range change listener.
|
void |
broadcast(javax.faces.event.FacesEvent evt)
Internal.
|
java.lang.String |
getAnimationOnDataChange()
Gets the type of animation to apply for data change.
|
java.lang.String |
getAnimationOnDisplay()
Gets the type of animation to apply on initial display.
|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
java.util.Set |
getClientAttributes()
Gets a set of client attribute names.
|
java.util.Map<java.lang.String,java.util.List<javax.faces.component.behavior.ClientBehavior>> |
getClientBehaviors() |
oracle.adf.view.rich.event.ClientListenerSet |
getClientListeners()
Gets a set of client listeners.
|
java.util.Date |
getCurrentTime()
Gets the current date which will be shown as an indicator on the timeline.
|
java.util.Map<java.lang.String,CustomTimeScale> |
getCustomTimeScales() |
java.lang.String |
getDefaultEventName() |
java.util.Date |
getEndTime()
Gets the end time of the timeline.
|
java.util.Collection<java.lang.String> |
getEventNames() |
java.lang.String |
getFamily() |
java.util.Date |
getFetchEndTime() |
java.util.Date |
getFetchStartTime() |
java.util.List<FormattedTimeRange> |
getFormattedTimeRanges()
Gets a list of time ranges to format.
|
java.lang.String |
getInlineStyle()
Gets the CSS styles to use for this component.
|
java.lang.String |
getItemPosition()
Gets how items in the timeline are positioned.
|
java.lang.String |
getItemSelection()
Gets whether items in the timeline are selectable.
|
java.lang.String |
getOrientation() |
java.lang.String[] |
getPartialTriggers()
Gets the IDs of the components that should trigger a partial update.
|
java.lang.String |
getSortData()
Gets whether timeline should automatically sort data by time of the event.
|
java.util.Date |
getStartTime()
Gets the start time of the timeline.
|
java.lang.String |
getSummary() |
javax.el.MethodExpression |
getTimeRangeChangeListener()
Gets a method reference to a time range change listener
|
TimeRangeChangeListener[] |
getTimeRangeChangeListeners()
Returns an array of attached time range change listeners.
|
java.util.TimeZone |
getTimeZone()
Gets the time zone for the timeline.
|
boolean |
isClientComponent()
Gets whether a client-side component will be generated.
|
void |
removeTimeRangeChangeListener(TimeRangeChangeListener listener)
Removes a time range change listener.
|
void |
setAnimationOnDataChange(java.lang.String animationOnDataChange)
Specifies the type of animation to apply for data change.
|
void |
setAnimationOnDisplay(java.lang.String animationOnDisplay)
Specifies the type of animation to apply on initial display.
|
void |
setClientAttributes(java.util.Set clientAttributes)
Sets a set of client attribute names.
|
void |
setClientComponent(boolean clientComponent)
Sets whether a client-side component will be generated.
|
void |
setClientListeners(oracle.adf.view.rich.event.ClientListenerSet clientListeners)
Sets a set of client listeners.
|
void |
setCurrentTime(java.util.Date currentTime)
Sets the current date which will be shown as an indicator on the timeline.
|
void |
setCustomTimeScales(java.util.Map<java.lang.String,CustomTimeScale> customTimeScales) |
void |
setEndTime(java.util.Date endTime)
Sets the end time of the timeline.
|
void |
setFetchEndTime(java.util.Date fetchEndTime) |
void |
setFetchStartTime(java.util.Date fetchStartTime) |
void |
setFormattedTimeRanges(java.util.List<FormattedTimeRange> timeRanges)
Specify a list of time ranges to highlight.
|
void |
setInlineStyle(java.lang.String inlineStyle)
Sets the CSS styles to use for this component.
|
void |
setItemPosition(java.lang.String itemPosition)
Sets how items in the timeline are positioned.
|
void |
setItemSelection(java.lang.String itemSelection)
Specifies whether items in the timeline are selectable.
|
void |
setOrientation(java.lang.String orientation) |
void |
setPartialTriggers(java.lang.String[] partialTriggers)
Sets the IDs of the components that should trigger a partial update.
|
void |
setSortData(java.lang.String sortData)
Sets whether timeline should automatically sort data by time of the event.
|
void |
setStartTime(java.util.Date startTime)
Sets the start time of the timeline.
|
void |
setSummary(java.lang.String summary) |
void |
setTimeRangeChangeListener(javax.el.MethodExpression timeRangeChangeListener)
Sets a method reference to a time range change listener
|
void |
setTimeZone(java.util.TimeZone timeZone)
Sets the time zone for the timeline.
|
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, broadcastToMethodBinding, broadcastToMethodExpression, clearCachedClientIds, clearInitialState, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getComponentChangeFilters, getContainerClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getListenersForEventClass, getParent, getProperty, getPropertyKey, getRenderedFacetsAndChildren, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, initialStateMarked, invokeOnChildrenComponents, invokeOnComponent, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeAttributeChangeListener, removeComponentChangeFilter, removeFacesListener, restoreState, satisfiesPartialTrigger, saveState, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setupFlattenedChildrenContext, setupFlattenedContext, setValueBinding, setValueExpression, subscribeToEvent, tearDownFlattenedChildrenContext, tearDownFlattenedContext, toString, unsubscribeFromEvent, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpl
addPartialTarget, broadcastInContext, clearCachedClientIds, defaultGetRenderedFacetsAndChildren, encodeFlattenedChild, encodeFlattenedChildren, getLogicalParent, getLogicalParent, getStateHelper, getStateHelper, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setupChildrenEncodingContext, setupChildrenVisitingContext, setupEncodingContext, setUpEncodingContext, setupVisitingContext, tearDownChildrenEncodingContext, tearDownChildrenVisitingContext, tearDownEncodingContext, tearDownVisitingContext, visitAllChildren, visitChildren, visitChildren, visitTree, visitTree
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getPassThroughAttributes, getResourceBundleMap, getTransientStateHelper, getTransientStateHelper, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey ANIMATION_ON_DATA_CHANGE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey ANIMATION_ON_DISPLAY_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CLIENT_ATTRIBUTES_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CLIENT_COMPONENT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CLIENT_LISTENERS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CURRENT_TIME_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CUSTOM_TIME_SCALES_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey END_TIME_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey FETCH_START_TIME_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey FETCH_END_TIME_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey FORMATTED_TIME_RANGES_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey INLINE_STYLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey ITEM_POSITION_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey ITEM_SELECTION_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey MINIMUM_WIDTH_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey ORIENTATION_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey PARTIAL_TRIGGERS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SCROLL_LEFT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SCROLL_TOP_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SHORT_DESC_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey START_TIME_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SORT_DATA_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey STYLE_CLASS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SUMMARY_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey TIMEZONE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey VISIBLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey TIME_RANGE_CHANGE_LISTENER_KEY
public static final java.lang.String ITEM_POSITION_NOOVERLAP
public static final java.lang.String ITEM_POSITION_RANDOM
public static final java.lang.String ITEM_SELECTION_NONE
public static final java.lang.String ITEM_SELECTION_SINGLE
public static final java.lang.String ITEM_SELECTION_MULTIPLE
public static final java.lang.String ANIMATION_EFFECT_NONE
public static final java.lang.String ANIMATION_EFFECT_DEFAULT
public static final java.lang.String SORT_AUTO
public static final java.lang.String SORT_NONE
public static final java.lang.String ORIENTATION_HORIZONTAL
public static final java.lang.String ORIENTATION_VERTICAL
public UITimeline(java.lang.String string)
public UITimeline()
public java.lang.String getFamily()
getFamily
in class org.apache.myfaces.trinidad.component.UIXComponentBase
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class org.apache.myfaces.trinidad.component.UIXComponentBase
public final java.lang.String getAnimationOnDataChange()
public final void setAnimationOnDataChange(java.lang.String animationOnDataChange)
animationOnDataChange
- the type of animation to apply for data change.public final java.lang.String getAnimationOnDisplay()
public final void setAnimationOnDisplay(java.lang.String animationOnDisplay)
animationOnDisplay
- the type of animation to apply on initial display.public final java.util.Date getCurrentTime()
public final void setCurrentTime(java.util.Date currentTime)
currentTime
- the current time of the timelinepublic final java.util.Map<java.lang.String,CustomTimeScale> getCustomTimeScales()
public final void setCustomTimeScales(java.util.Map<java.lang.String,CustomTimeScale> customTimeScales)
public final java.util.Date getEndTime()
public final void setEndTime(java.util.Date endTime)
endTime
- the end time of the timeline.public final java.util.List<FormattedTimeRange> getFormattedTimeRanges()
FormattedTimeRange
public final void setFormattedTimeRanges(java.util.List<FormattedTimeRange> timeRanges)
timeRanges
- a list of time ranges to highlight.FormattedTimeRange
public final java.lang.String getInlineStyle()
public final void setInlineStyle(java.lang.String inlineStyle)
public final java.lang.String getItemPosition()
public final void setItemPosition(java.lang.String itemPosition)
the
- new itemPosition valuepublic final java.lang.String getItemSelection()
public final void setItemSelection(java.lang.String itemSelection)
itemSelection
- public final java.lang.String getOrientation()
public final void setOrientation(java.lang.String orientation)
public final java.lang.String getSortData()
public final void setSortData(java.lang.String sortData)
the
- new sortData valuepublic final java.util.Date getStartTime()
public final void setStartTime(java.util.Date startTime)
startTime
- the start time of the timeline.public final java.lang.String getSummary()
public final void setSummary(java.lang.String summary)
public final java.util.Date getFetchStartTime()
public final void setFetchStartTime(java.util.Date fetchStartTime)
public final java.util.Date getFetchEndTime()
public final void setFetchEndTime(java.util.Date fetchEndTime)
public final java.util.TimeZone getTimeZone()
public final void setTimeZone(java.util.TimeZone timeZone)
timeZone
- the time zone for the timeline.public final boolean isClientComponent()
public final void setClientComponent(boolean clientComponent)
clientComponent
- the new clientComponent valuepublic final java.util.Set getClientAttributes()
public final void setClientAttributes(java.util.Set clientAttributes)
clientAttributes
- the new clientAttributes valuepublic final java.lang.String[] getPartialTriggers()
public final void setPartialTriggers(java.lang.String[] partialTriggers)
partialTriggers
- the new partialTriggers valuepublic final oracle.adf.view.rich.event.ClientListenerSet getClientListeners()
public final void setClientListeners(oracle.adf.view.rich.event.ClientListenerSet clientListeners)
clientListeners
- the new clientListeners valuepublic final void addTimeRangeChangeListener(TimeRangeChangeListener listener)
listener
- the time range change listener to addpublic final void removeTimeRangeChangeListener(TimeRangeChangeListener listener)
listener
- the time range change listener to removepublic final TimeRangeChangeListener[] getTimeRangeChangeListeners()
public final javax.el.MethodExpression getTimeRangeChangeListener()
public final void setTimeRangeChangeListener(javax.el.MethodExpression timeRangeChangeListener)
sortListener
- the time range change listener method reference to setpublic void broadcast(javax.faces.event.FacesEvent evt)
broadcast
in class org.apache.myfaces.trinidad.component.UIXComponentBase
evt
- public java.lang.String getDefaultEventName()
getDefaultEventName
in interface javax.faces.component.behavior.ClientBehaviorHolder
getDefaultEventName
in class org.apache.myfaces.trinidad.component.UIXComponentBase
public java.util.Collection<java.lang.String> getEventNames()
getEventNames
in interface javax.faces.component.behavior.ClientBehaviorHolder
public java.util.Map<java.lang.String,java.util.List<javax.faces.component.behavior.ClientBehavior>> getClientBehaviors()
getClientBehaviors
in interface javax.faces.component.behavior.ClientBehaviorHolder
getClientBehaviors
in class org.apache.myfaces.trinidad.component.UIXComponentBase
public void addClientBehavior(java.lang.String eventName, javax.faces.component.behavior.ClientBehavior behavior)
addClientBehavior
in interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior
in class org.apache.myfaces.trinidad.component.UIXComponentBase