|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 2 (11.1.2.2.0) E17492-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
javax.faces.component.UIComponent
org.apache.myfaces.trinidad.component.UIXComponent
org.apache.myfaces.trinidad.component.UIXComponentBase
org.apache.myfaces.trinidad.component.UIXCollection
oracle.adf.view.faces.bi.component.gantt.UIGantt
oracle.adf.view.faces.bi.component.gantt.UISchedulingGantt
public class UISchedulingGantt
The Scheduling Gantt control is used to display data in a resource-oriented Gantt chart. The Scheduling Gantt control consists of a menu bar, a tool bar, a TreeTable on the left that is capable of displaying hierarchical data, a chart on the right that displays task bars, and a legend.
The Scheduling Gantt component uses a model to access the data in the underlying list. The specific model class is org.apache.myfaces.trinidad.model.TreeModel.
The immediate children of a Scheduling Gantt component. Each visibleColumn component creates a separate column in the left hand side TreeTable. For more information see the documentation for <af:column>
The Scheduling Gantt control requires a major and a minor time axis. You can specify them by adding a timeAxis component using a facet named "major" and a facet named "minor" as a child of the Gantt.
The Scheduling Gantt component supports sorting columns in ascending or descending order in the exact same way as the Table
and TreeTable
components. Please refer to the documentation for these components for details on sorting.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.myfaces.trinidad.component.UIXCollection |
---|
org.apache.myfaces.trinidad.component.UIXCollection.NoColumnFacetsVisitContext |
Field Summary | |
---|---|
static java.lang.String |
BRICK_RED_FORMAT The pre-defined 'Brick Red' TaskbarFormat for the metric bar. |
static java.lang.String |
COMPONENT_FAMILY |
static java.lang.String |
COMPONENT_TYPE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CURRENT_TASK_ROW_KEY_KEY |
static java.lang.String |
DEPENDENCY_LINES_VISIBLE_ALL |
static org.apache.myfaces.trinidad.bean.PropertyKey |
DEPENDENCY_LINES_VISIBLE_KEY |
static java.lang.String |
DEPENDENCY_LINES_VISIBLE_NONE |
static java.lang.String |
DEPENDENCYLINES |
static org.apache.myfaces.trinidad.bean.PropertyKey |
DOUBLE_CLICK_LISTENER_KEY |
static java.lang.String |
GOLD_FORMAT The pre-defined 'Gold' TaskbarFormat for the metric bar. |
static java.lang.String |
GREEN_FORMAT The pre-defined 'Green' TaskbarFormat for the metric bar. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
HORIZONTAL_GRID_VISIBLE_KEY |
static java.lang.String |
INDIGO_FORMAT The pre-defined 'Indigo' TaskbarFormat for the metric bar. |
static java.lang.String |
LAVENDER_FORMAT The pre-defined 'Lavender' TaskbarFormat for the metric bar. |
static java.lang.String |
LEMON_FORMAT The pre-defined 'Lemon' TaskbarFormat for the metric bar. |
static java.lang.String |
LIME_FORMAT The pre-defined 'Lime' TaskbarFormat for the metric bar. |
static java.lang.String |
MIDNIGHT_BLUE_FORMAT The pre-defined 'Midnight Blue' TaskbarFormat for the metric bar. |
static java.lang.String |
ORANGE_FORMAT The pre-defined 'Orange' TaskbarFormat for the metric bar. |
static java.lang.String |
PLACEMENT_END |
static java.lang.String |
PLACEMENT_INNER_CENTER |
static java.lang.String |
PLACEMENT_INNER_END |
static java.lang.String |
PLACEMENT_INNER_LEFT |
static java.lang.String |
PLACEMENT_INNER_RIGHT |
static java.lang.String |
PLACEMENT_INNER_START |
static java.lang.String |
PLACEMENT_INSIDE |
static java.lang.String |
PLACEMENT_LEFT |
static java.lang.String |
PLACEMENT_RIGHT |
static java.lang.String |
PLACEMENT_START |
static java.lang.String |
PLUM_FORMAT The pre-defined 'Plum' TaskbarFormat for the metric bar. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
RESOURCE_SELECTION_LISTENER_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SELECTED_TASK_ROW_KEYS_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SHOWTASKS_AS_DAILYBAR_KEY |
static java.lang.String |
STEEL_BLUE_FORMAT The pre-defined 'Steel Blue' TaskbarFormat for the metric bar. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
TASK_SELECTION_LISTENER_KEY |
static java.lang.String |
TEAL_FORMAT The pre-defined 'Teal' TaskbarFormat for the metric bar. |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
WORKINGTIME_COLOR_KEY |
Fields inherited from class org.apache.myfaces.trinidad.component.UIXCollection |
---|
VAR_KEY |
Fields inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase |
---|
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY |
Fields inherited from class javax.faces.component.UIComponent |
---|
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY |
Fields inherited from interface oracle.adf.view.rich.dnd.DragSourceFactory |
---|
DEFAULT_DRAGSOURCE |
Fields inherited from interface javax.faces.component.NamingContainer |
---|
SEPARATOR_CHAR |
Constructor Summary | |
---|---|
UISchedulingGantt() Constructs an instance of UISchedulingGantt. |
|
UISchedulingGantt(java.lang.String rendererType) Constructs an instance of UISchedulingGantt. |
Method Summary | |
---|---|
void |
addDoubleClickListener(DoubleClickListener listener) Adds a double click listener. |
void |
addResourceSelectionListener(ResourceSelectionListener listener) Adds a resource selection listener. |
void |
addTaskSelectionListener(TaskSelectionListener listener) Adds a task selection listener. |
void |
broadcast(javax.faces.event.FacesEvent evt) Internal. |
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
protected java.text.DateFormat |
getDefaultDateFormat() |
protected Filter |
getDefaultFilter() |
protected java.lang.String |
getDefaultIconPlacement() |
protected java.lang.String |
getDefaultLabelPlacement() |
protected TaskbarFormatManager |
getDefaultTaskbarFormatManager() |
java.lang.String |
getDependencyLinesVisible() Gets the visibility of the dependency lines. |
javax.el.MethodExpression |
getDoubleClickListener() Gets a method reference to a double click listener |
DoubleClickListener[] |
getDoubleClickListeners() Returns an array of attached double click listeners. |
java.lang.String |
getFamily() |
javax.el.MethodExpression |
getResourceSelectionListener() Gets a method reference to resource selection listener |
ResourceSelectionListener[] |
getResourceSelectionListeners() Returns an array of attached resource selection listeners. |
org.apache.myfaces.trinidad.model.RowKeySet |
getSelectedTaskRowKeys() Retrieves the selected task keys. |
java.lang.Object |
getTaskData(java.lang.Object rowKey) Retrieves the task data |
java.lang.Object |
getTaskRowKey() Retrieves the current task rowKey |
javax.el.MethodExpression |
getTaskSelectionListener() Gets a method reference to task selection listener |
TaskSelectionListener[] |
getTaskSelectionListeners() Returns an array of attached task selection listeners. |
java.lang.String |
getWorkingTimeColor() Retrieves the color used to highlight the working time period. |
boolean |
isHorizontalGridVisible() Gets whether horizontal gridlines should be drawn in the chart portion of the Gantt. |
boolean |
isShowTasksAsDailyBar() Gets whether all the task bars within the same day should be shown as one task bar. |
void |
removeDoubleClickListener(DoubleClickListener listener) Removes a double click listener. |
void |
removeResourceSelectionListener(ResourceSelectionListener listener) Removes a resource selection listener. |
void |
removeTaskSelectionListener(TaskSelectionListener listener) Removes a task selection listener. |
void |
setDependencyLinesVisible(java.lang.String visible) Sets the visibility of the dependency lines. |
void |
setDoubleClickListener(javax.el.MethodExpression doubleClickListener) Sets a method reference to a double click listener |
void |
setHorizontalGridVisible(boolean visible) Sets whether horizontal gridlines should be drawn in the chart portion of the Gantt. |
void |
setResourceSelectionListener(javax.el.MethodExpression resourceSelectionListener) Sets a method reference to resource selection listener |
void |
setSelectedTaskRowKeys(org.apache.myfaces.trinidad.model.RowKeySet selectedRowKeys) Sets the RowKeySet of selected task. |
void |
setShowTasksAsDailyBar(boolean showTasksAsDailyBar) Specifies whether all the task bars within the same day should be shown as one task bar. |
void |
setTaskSelectionListener(javax.el.MethodExpression taskSelectionListener) Sets a method reference to task selection listener |
void |
setWorkingTimeColor(java.lang.String color) Specifies the color used to highlight the working time period. |
Methods inherited from class org.apache.myfaces.trinidad.component.UIXCollection |
---|
areRowsAvailable, areRowsAvailable, areRowsAvailable, areRowsLocallyAvailable, areRowsLocallyAvailable, areRowsLocallyAvailable, clearCachedRow, clearCachedRow, clearCachedRows, clearCachedRows, clearCurrencyStringCache, clearLocalCache, createVarStatusMap, decodeChildrenImpl, defaultVisitChildren, encodeBegin, encodeEnd, getCachingStrategy, getClientRowKey, getClientRowKeyManager, getCollectionModel, getCollectionModel, getContainerClientId, getCurrencyString, getEstimatedRowCount, getEstimatedRowCountConfidence, getRowCount, getRowData, getRowData, getRowData, getRowIndex, getRowKey, getSortCriteria, getStamps, getVar, isRowAvailable, isRowAvailable, isRowAvailable, isRowLocallyAvailable, isRowLocallyAvailable, isSortable, postCreateCollectionModel, postRowDataChange, preRowDataChange, processComponent, processDecodes, processSaveState, resetStampState, restoreStampState, saveStampState, saveState, setClientRowKey, setCurrencyString, setRowIndex, setVar, updateChildrenImpl, validateChildrenImpl, visitChildrenWithoutIterating, visitUnstampedFacets |
Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase |
---|
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addFacesListener, broadcastToMethodBinding, broadcastToMethodExpression, clearInitialState, createFacesBean, decode, decodeChildren, encodeChildren, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getContainerClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getId, getIntProperty, getLifecycleRenderer, getListenersForEventClass, getParent, getProperty, getPropertyKey, getRenderedFacetsAndChildren, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, initialStateMarked, invokeOnChildrenComponents, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processRestoreState, processUpdates, processValidators, removeAttributeChangeListener, removeFacesListener, satisfiesPartialTrigger, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setValueBinding, setValueExpression, subscribeToEvent, toString, unsubscribeFromEvent, updateChildren, validateChildren |
Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponent |
---|
addPartialTarget, clearCachedClientIds, clearCachedClientIds, encodeFlattenedChild, encodeFlattenedChildren, getLogicalParent, getLogicalParent, getStateHelper, getStateHelper, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setupChildrenEncodingContext, setupChildrenVisitingContext, setupEncodingContext, setUpEncodingContext, tearDownChildrenEncodingContext, tearDownChildrenVisitingContext, tearDownEncodingContext, visitAllChildren, visitChildren, visitTree, visitTree |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, setInView |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String MIDNIGHT_BLUE_FORMAT
TaskbarFormat
for the metric bar.
public static final java.lang.String BRICK_RED_FORMAT
TaskbarFormat
for the metric bar.
public static final java.lang.String LAVENDER_FORMAT
TaskbarFormat
for the metric bar.
public static final java.lang.String TEAL_FORMAT
TaskbarFormat
for the metric bar.
public static final java.lang.String ORANGE_FORMAT
TaskbarFormat
for the metric bar.
public static final java.lang.String PLUM_FORMAT
TaskbarFormat
for the metric bar.
public static final java.lang.String LIME_FORMAT
TaskbarFormat
for the metric bar.
public static final java.lang.String INDIGO_FORMAT
TaskbarFormat
for the metric bar.
public static final java.lang.String GREEN_FORMAT
TaskbarFormat
for the metric bar.
public static final java.lang.String GOLD_FORMAT
TaskbarFormat
for the metric bar.
public static final java.lang.String STEEL_BLUE_FORMAT
TaskbarFormat
for the metric bar.
public static final java.lang.String LEMON_FORMAT
TaskbarFormat
for the metric bar.
public static final org.apache.myfaces.trinidad.bean.PropertyKey WORKINGTIME_COLOR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SHOWTASKS_AS_DAILYBAR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey RESOURCE_SELECTION_LISTENER_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey TASK_SELECTION_LISTENER_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey DOUBLE_CLICK_LISTENER_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey HORIZONTAL_GRID_VISIBLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SELECTED_TASK_ROW_KEYS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CURRENT_TASK_ROW_KEY_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey DEPENDENCY_LINES_VISIBLE_KEY
public static final java.lang.String PLACEMENT_LEFT
public static final java.lang.String PLACEMENT_RIGHT
public static final java.lang.String PLACEMENT_INSIDE
public static final java.lang.String PLACEMENT_INNER_CENTER
public static final java.lang.String PLACEMENT_INNER_LEFT
public static final java.lang.String PLACEMENT_INNER_RIGHT
public static final java.lang.String PLACEMENT_START
public static final java.lang.String PLACEMENT_END
public static final java.lang.String PLACEMENT_INNER_START
public static final java.lang.String PLACEMENT_INNER_END
public static final java.lang.String DEPENDENCY_LINES_VISIBLE_ALL
public static final java.lang.String DEPENDENCY_LINES_VISIBLE_NONE
public static final java.lang.String DEPENDENCYLINES
Constructor Detail |
---|
public UISchedulingGantt()
public UISchedulingGantt(java.lang.String rendererType)
rendererType
- the renderer type.Method Detail |
---|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class UIGantt
public java.lang.String getFamily()
getFamily
in class org.apache.myfaces.trinidad.component.UIXComponentBase
public final boolean isHorizontalGridVisible()
false
.true
if horizontal gridlines should be drawn in the chart portion of the Gantt. false
Otherwise.public final void setHorizontalGridVisible(boolean visible)
visible
- whether horizontal gridlines should be drawn in the chart portion of the Gantt. Default value is false
.public final javax.el.MethodExpression getTaskSelectionListener()
public final void setTaskSelectionListener(javax.el.MethodExpression taskSelectionListener)
taskSelectionListener
- the task selecton listener method reference to setpublic final void addTaskSelectionListener(TaskSelectionListener listener)
listener
- the task selection listener to addpublic final void removeTaskSelectionListener(TaskSelectionListener listener)
listener
- the task selection listener to removepublic final TaskSelectionListener[] getTaskSelectionListeners()
public final java.lang.String getWorkingTimeColor()
setWorkingTimeColor(java.lang.String)
public final void setWorkingTimeColor(java.lang.String color)
color
- The color used to highlight the working time period.getWorkingTimeColor()
public final boolean isShowTasksAsDailyBar()
true
if all the task bars within the same day should be shown as one task bar, false
otherwise.public final void setShowTasksAsDailyBar(boolean showTasksAsDailyBar)
showTasksAsDailyBar
- true
if all the task bars within the same day should be shown as one task bar, false
otherwise.public final javax.el.MethodExpression getResourceSelectionListener()
public final void setResourceSelectionListener(javax.el.MethodExpression resourceSelectionListener)
resourceSelectionListener
- the resource selection listener method reference to set.public final void addResourceSelectionListener(ResourceSelectionListener listener)
listener
- the resource selection listener to addpublic final void removeResourceSelectionListener(ResourceSelectionListener listener)
listener
- the resource selection listener to removepublic final ResourceSelectionListener[] getResourceSelectionListeners()
public final void setDoubleClickListener(javax.el.MethodExpression doubleClickListener)
doubleClickListener
- the double click listener method reference to setpublic final DoubleClickListener[] getDoubleClickListeners()
public final javax.el.MethodExpression getDoubleClickListener()
public final void addDoubleClickListener(DoubleClickListener listener)
listener
- the double click listener to addpublic final void removeDoubleClickListener(DoubleClickListener listener)
listener
- the double click listener to removeprotected Filter getDefaultFilter()
getDefaultFilter
in class UIGantt
protected java.text.DateFormat getDefaultDateFormat()
getDefaultDateFormat
in class UIGantt
protected TaskbarFormatManager getDefaultTaskbarFormatManager()
getDefaultTaskbarFormatManager
in class UIGantt
protected java.lang.String getDefaultLabelPlacement()
getDefaultLabelPlacement
in class UIGantt
protected java.lang.String getDefaultIconPlacement()
getDefaultIconPlacement
in class UIGantt
public void broadcast(javax.faces.event.FacesEvent evt)
broadcast
in class UIGantt
evt
-public final org.apache.myfaces.trinidad.model.RowKeySet getSelectedTaskRowKeys()
public final void setSelectedTaskRowKeys(org.apache.myfaces.trinidad.model.RowKeySet selectedRowKeys)
selectedRowKeys
- the rowKey setpublic final java.lang.Object getTaskRowKey()
public final java.lang.Object getTaskData(java.lang.Object rowKey)
rowKey
- rowKey of the taskpublic void setDependencyLinesVisible(java.lang.String visible)
visible
- Valid values are "all" or "none"public java.lang.String getDependencyLinesVisible()
|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 2 (11.1.2.2.0) E17492-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |