|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.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 is 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
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.
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 |
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_INSIDE
|
static java.lang.String |
PLACEMENT_LEFT
|
static java.lang.String |
PLACEMENT_RIGHT
|
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 |
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 |
---|
bindings |
Fields inherited from interface javax.faces.component.NamingContainer |
---|
SEPARATOR_CHAR |
Constructor Summary | |
---|---|
UISchedulingGantt()
Constructor an instance of UISchedulingGantt. |
|
UISchedulingGantt(java.lang.String rendererType)
|
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()
|
javax.el.MethodExpression |
getDoubleClickListener()
Gets a method reference to an action 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. |
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()
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 |
setDoubleClickListener(javax.el.MethodExpression doubleClickListener)
Sets a method reference to an action 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 |
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 |
---|
clearCurrencyStringCache, createVarStatusMap, encodeBegin, encodeEnd, getClientRowKey, getClientRowKeyManager, getCollectionModel, getCollectionModel, getContainerClientId, getCurrencyString, getRowCount, getRowData, getRowData, getRowIndex, getRowKey, getSortCriteria, getStamps, getVar, isRowAvailable, isRowAvailable, isSortable, postRowDataChange, preRowDataChange, processComponent, processDecodes, processSaveState, resetStampState, restoreStampState, restoreState, saveStampState, saveState, setClientRowKey, setCurrencyString, setRowIndex, setVar, updateChildrenImpl, validateChildrenImpl |
Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase |
---|
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addFacesListener, broadcastToMethodBinding, broadcastToMethodExpression, createFacesBean, decodeChildren, encodeAll, encodeChildren, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getContainerClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getParent, getProperty, getPropertyKey, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, invokeOnChildrenComponents, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processRestoreState, processUpdates, processValidators, removeAttributeChangeListener, removeFacesListener, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setValueBinding, setValueExpression, toString, updateChildren, validateChildren |
Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponent |
---|
addPartialTarget, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setUpEncodingContext, setupVisitingContext, tearDownEncodingContext, tearDownVisitingContext, visitTree, visitTree |
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 java.lang.String PLACEMENT_LEFT
public static final java.lang.String PLACEMENT_RIGHT
public static final java.lang.String PLACEMENT_INSIDE
Constructor Detail |
---|
public UISchedulingGantt()
public UISchedulingGantt(java.lang.String rendererType)
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)
public 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)
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)
public 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
-
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |