public abstract class IlvFacesHierarchyChartView extends IlvBasicView implements IlvFacesGanttConstants, javax.faces.component.ValueHolder
IlvFacesGanttChartView
that is a chart that displays activities or the
IlvFacesScheduleChartView
that is a chart
that displays resources schedule.Modifier and Type | Field and Description |
---|---|
static Integer |
DIVIDER_LOCATION_DEFAULT_VALUE
Default value of dividerLocation property
|
static Double |
SHEET_H_SCROLL_BACKGROUND_CLICK_EXTENT_DEFAULT_VALUE
Default value of sheetHScrollBackgroundClickExtent property
|
static Double |
ZOOM_FACTOR_DEFAULT_VALUE
Default value of zoomFactor property
|
DEFAULT_OBJECT_FINDER
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
DATA_SOURCE, DATA_SOURCE_ID, DIVIDER_LOCATION, EDITABLE, END_VISIBLE_INTERVAL, H_SHEET_SCROLLABLE, HIERARCHY_CHART, MESSAGEBOX, MESSAGEBOX_ID, PROPERTY_ACCESSOR, REFRESH_DATA, RESIZE_ACTIVITY, RESIZE_HEADER_ACTION_NAME, ROW_EXPAND_COLLAPSE_ACTION_NAME, ROW_SELECT_ACTION_NAME, SHEET_H_SCROLL_BACKGROUND_CLICK_EXTENT, SHEET_INTERACTOR, SHEET_INTERACTOR_ID, SPLITTER_ARROWS_VISIBLE, START_VISIBLE_INTERVAL, STYLE_SHEET, STYLE_SHEETS, TABLE_INTERACTOR, TABLE_INTERACTOR_ID, V_SHEET_SCROLLABLE, ZOOM_FACTOR
AFTER_HANDLER, BASETEXTDIRECTION, BEFORE_HANDLER, BUTTON_GROUP_ID, BUTTON_TYPE, CHARTS_BUNDLE, CHARTS_MESSAGE_BUNDLE, CORE_BUNDLE, CORE_MESSAGE_BUNDLE, CURSOR, DATA, DECODED_PROPERTY, DEFAULT_LINE_COLOR, DELETION_ALLOWED, DIAGRAMMER_BUNDLE, DIAGRAMMER_MESSAGE_BUNDLE, ENABLED, EVENT_TYPE, FILL_ON, FORCE_UPDATE_PROPERTIES, FRAMEWORK_BUNDLE, FRAMEWORK_MESSAGE_BUNDLE, GANTT_BUNDLE, GANTT_MESSAGE_BUNDLE, HEIGHT, IMAGE, IMAGE_MODE, INFO_PROVIDER_MB, INT_NOT_DEFINED, INTERACTORS, INTERCEPT_INTERACTOR, ITEM_DISABLED_STYLE_CLASS, ITEM_HIGHLIGHTED_STYLE_CLASS, ITEM_STYLE_CLASS, LINE_COLOR, LINE_WIDTH, MAPS_BUNDLE, MAPS_MESSAGE_BUNDLE, MENU_MODEL_ID, MESSAGE, MESSAGE_BOX, MESSAGE_BOX_ID, MOVE_ALLOWED, OBJECT_FINDER, PARAM_COMPID, PARAM_DATA, PARAM_KEY, PARAM_NAMESPACE, PARAM_RESOURCE, PARAM_SERVICE, PARAM_TYPE, POPUP_MENU, POPUP_MENU_FACTORY, POPUP_MENU_FACTORY_CLASS, PORTLET_NAMESPACE, PROGRESSIVE_ZOOM, PROJECT, RENDER, RESOURCES_PATH, RESOURCES_PATH_PREFIX, ROLLOVER_IMAGE, SCROLL_BAR, SELECTED, SELECTED_IMAGE, SERVICE_FORWARD, SERVICE_FORWARD_INT, SERVLET, SERVLET_CLASS, SERVLET_URL, STYLE, STYLE_CLASS, TGO_BUNDLE, TGO_MESSAGE_BUNDLE, TITLE, TOGGLE, VALUE, VIEW, VIEW_ID, WIDTH
Constructor and Description |
---|
IlvFacesHierarchyChartView()
Creates a new
IlvFacesHierarchyChartView instance. |
Modifier and Type | Method and Description |
---|---|
abstract IlvHierarchyChart |
createHierarchyChart()
Returns the
IlvHierarchyChart instance wrapped by this
component. |
IlvHierarchyChart |
getChart()
Returns the wrapped instance of
IlvHierarchyChart . |
static String |
getComponentType()
Returns the type of this component.
|
javax.faces.convert.Converter |
getConverter()
Returns the converter used to convert the start and the end date interval.
|
IlvFacesGanttDataSource |
getDataSource()
Returns the Gantt data source.
|
String |
getDataSourceId()
Returns the Gantt data source identifier.
|
IlvObjectSelectedFinder |
getDefaultObjectFinder()
Returns the default finder of this view.
|
int |
getDividerLocation()
Returns the location of the divider in pixels.
|
Date |
getEndVisibleInterval()
Returns the end date of the visible interval.
|
String |
getFamily()
Returns the identifier of the component family to which this component
belongs.
|
Object |
getLocalValue()
Returns the local value of this component.
|
String |
getProject()
Returns the URL to a Gantt designer project.
|
double |
getSheetHScrollBackgroundClickExtent()
Returns the extent of the move when one click on the background of the horizontal scrollbar.
|
IlvFacesInteractor |
getSheetInteractor()
Returns the interactor set on the sheet view.
|
String |
getSheetInteractorId()
Returns the interactor identifier of the sheet view.
|
boolean |
getSplitterArrowsVisible()
Gets the arrows of splitter visible.
|
Date |
getStartVisibleInterval()
Returns the start date of the visible interval.
|
String |
getStyleSheet()
Returns the Cascading Style Sheet for the chart.
|
String |
getStyleSheets()
Returns the comma separated list of Cascading Style Sheets for the chart.
|
IlvFacesInteractor |
getTableInteractor()
Returns the view interactor set on the table view.
|
String |
getTableInteractorId()
Returns the interactor identifier of the table view.
|
double |
getZoomFactor()
Returns the factor used when zooming.
|
boolean |
isEditable()
Returns whether or not the
IlvFacesHierachyChartView is
editable. |
boolean |
isSheetHScrollable()
Check whether the sheet view is horizontal scrollable.
|
boolean |
isSheetVScrollable()
Check whether the sheet view is vertical scrollable.
|
void |
restoreState(javax.faces.context.FacesContext context,
Object stateObj)
Restores the state of this component from the
stateObj parameter. |
Object |
saveState(javax.faces.context.FacesContext context)
Returns the state of this component.
|
void |
setChart(IlvHierarchyChart chart)
Sets the wrapped instance of
IlvHierarchyChart . |
void |
setConverter(javax.faces.convert.Converter converter)
Sets the converter used to convert the start and the end date interval.
|
void |
setDataSource(IlvFacesGanttDataSource dataSource)
Sets the Gantt data source.
|
void |
setDataSourceId(String dataSourceId)
Sets the Gantt data source identifier.
|
void |
setDividerLocation(int dividerLocation)
Sets the location of the divider in pixels.
|
void |
setEditable(boolean value)
Sets whether or not the
IlvFacesHierachyChartView is editable. |
void |
setEndVisibleInterval(Date endVisibleInterval)
Sets the end date of the visible interval.
|
void |
setProject(String project)
Sets the URL to a Gantt designer project.
|
void |
setSheetHScrollable(boolean hSheetScrollable)
Sets the sheet view as horizontal scrollable.
|
void |
setSheetHScrollBackgroundClickExtent(double extent)
Sets the extent of the move when one click on the background of the horizontal scrollbar.
|
void |
setSheetInteractor(IlvFacesInteractor interactor)
Sets the interactor on the sheet view.
|
void |
setSheetInteractorId(String interactorId)
Sets the interactor identifier on the sheet view.
|
void |
setSheetVScrollable(boolean vSheetScrollable)
Sets the sheet view as vertical scrollable.
|
void |
setSplitterArrowsVisible(boolean visible)
Sets the arrows of splitter of gantt view visible.
|
void |
setStartVisibleInterval(Date startVisibleInterval)
Sets the start date of the visible interval.
|
void |
setStyleSheet(String styleSheet)
Sets the Cascading Style Sheet for the chart.
|
void |
setStyleSheets(String styleSheets)
Sets the comma separated list of Cascading Style Sheets for the chart.
|
void |
setTableInteractor(IlvFacesInteractor interactor)
Sets the interactor on the table view.
|
void |
setTableInteractorId(String interactorId)
Sets the interactor identifier of the table view.
|
void |
setZoomFactor(double zoomFactor)
Sets the factor used when zooming.
|
void |
updateModel(javax.faces.context.FacesContext context)
This method updates the referenced values with the local values of the
component if these values were updated from the client.
|
clearDecodedPropertyMap, createFacesComponent, getAttributes, getBaseTextDirection, getData, getHeight, getMessageBox, getMessageBoxId, getStyle, getStyleClass, getWidth, isDecodedProperty, processUpdates, resetDecodedProperties, setBaseTextDirection, setData, setDecodedProperty, setHeight, setMessageBox, setMessageBoxId, setStyle, setStyleClass, setWidth
getUrl, getValue, getValueBinding, getValueExpression, setUrl, setValue, setValueBinding, setValueExpression
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTree
public static final Double ZOOM_FACTOR_DEFAULT_VALUE
public static final Double SHEET_H_SCROLL_BACKGROUND_CLICK_EXTENT_DEFAULT_VALUE
public static final Integer DIVIDER_LOCATION_DEFAULT_VALUE
public IlvFacesHierarchyChartView()
IlvFacesHierarchyChartView
instance.public String getFamily()
Returns the identifier of the component family to which this component
belongs. This identifier, in conjunction with the value of the rendererType
property, may be used to select the appropriate Renderer for this component
instance.
This implementation returns the fully qualified class name.
getFamily
in class IlvBasicView
public static String getComponentType()
public IlvHierarchyChart getChart()
IlvHierarchyChart
.public void setChart(IlvHierarchyChart chart)
IlvHierarchyChart
.chart
- The chart to set.public Date getStartVisibleInterval()
public void setStartVisibleInterval(Date startVisibleInterval)
startVisibleInterval
- The start visible interval to set.public Date getEndVisibleInterval()
public boolean isSheetHScrollable()
public void setSheetHScrollable(boolean hSheetScrollable)
hSheetScrollable
- The hSheetScrollable to set.public boolean isSheetVScrollable()
public void setSheetVScrollable(boolean vSheetScrollable)
vSheetScrollable
- The vSheetScrollable to set.public void setEndVisibleInterval(Date endVisibleInterval)
endVisibleInterval
- The end visible interval to set.public IlvFacesInteractor getTableInteractor()
public void setTableInteractor(IlvFacesInteractor interactor)
interactor
- The interactor to set.public String getTableInteractorId()
public void setTableInteractorId(String interactorId)
interactorId
- The interactor identifier to set.public IlvFacesInteractor getSheetInteractor()
public void setSheetInteractor(IlvFacesInteractor interactor)
interactor
- The interactor to set.public String getSheetInteractorId()
public void setSheetInteractorId(String interactorId)
interactorId
- The interactor identifier to set.public double getZoomFactor()
public void setZoomFactor(double zoomFactor)
zoomFactor
- The zoom factor to set.public double getSheetHScrollBackgroundClickExtent()
public void setSheetHScrollBackgroundClickExtent(double extent)
extent
- A strictly positive double which will be used as a multiplier to the sheet visible intervalpublic IlvFacesGanttDataSource getDataSource()
public void setDataSource(IlvFacesGanttDataSource dataSource)
dataSource
- The data source to set.public String getDataSourceId()
public void setDataSourceId(String dataSourceId)
dataSourceId
- The data source identifier to set.public int getDividerLocation()
public void setDividerLocation(int dividerLocation)
dividerLocation
- The divider location to set.public String getProject()
public void setProject(String project)
project
- The project to set.public String getStyleSheets()
public void setStyleSheets(String styleSheets)
styleSheets
- The style sheets to set.public String getStyleSheet()
public void setStyleSheet(String styleSheet)
styleSheet
- The style sheet to set.public boolean isEditable()
IlvFacesHierachyChartView
is
editable. An editable view allows users to modify properties of the
selected objects from the client.
The default value is false
.public void setEditable(boolean value)
IlvFacesHierachyChartView
is editable.
An editable view allows users to modify properties of the selected objects
from the client.value
- The new value.public javax.faces.convert.Converter getConverter()
getConverter
in interface javax.faces.component.ValueHolder
public void setConverter(javax.faces.convert.Converter converter)
setConverter
in interface javax.faces.component.ValueHolder
converter
- The converter to set.public Object getLocalValue()
getValue()
.getLocalValue
in interface javax.faces.component.ValueHolder
public abstract IlvHierarchyChart createHierarchyChart()
IlvHierarchyChart
instance wrapped by this
component.
This method is called if there is no chart bound and if no chart was found
in the session (in the first call for example).IlvHierarchyChart
instance.public IlvObjectSelectedFinder getDefaultObjectFinder()
getDefaultObjectFinder
in class IlvBasicView
null
otherwise.public void updateModel(javax.faces.context.FacesContext context)
updateModel
in class IlvBasicView
context
- The current faces context.public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface IlvFacesComponent
saveState
in interface javax.faces.component.StateHolder
saveState
in class IlvBasicView
context
- The current faces context.state
of this component.public void restoreState(javax.faces.context.FacesContext context, Object stateObj)
stateObj
parameter.restoreState
in interface IlvFacesComponent
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class IlvBasicView
context
- The current faces context.stateObj
- The previously saved state of this component.public boolean getSplitterArrowsVisible()
public void setSplitterArrowsVisible(boolean visible)
visible
- The visible to set.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.