public class IlvFacesDHTMLScheduleChartView extends IlvFacesScheduleChartView implements IlvFacesDHTMLGanttConstants, IlvFacesDHTMLGanttSupport
DIVIDER_LOCATION_DEFAULT_VALUE, SHEET_H_SCROLL_BACKGROUND_CLICK_EXTENT_DEFAULT_VALUE, ZOOM_FACTOR_DEFAULT_VALUE
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
AUTO_UPDATE_CAPABILITIES, COLUMN_RESIZE_MESSAGE, FILENAME, PARAM_COMPID, SESSION_ID_PREFIX, UPDATE_INTERVAL
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
ACCESSIBLE, ACTION_NAME, AUTO_SUBMIT, BACKGROUND_COLOR, CAPABILITIES_LOADED_HANDLER, COMPONENT, DO_ACTION_ON_BG_DESELECT, ERROR_MESSAGE, GENERATE_IMAGE_MAP, HOTKEYS, IMAGE_FORMAT, IMAGE_LOADED_HANDLER, IMAGE_MAP_GENERATOR, IMAGE_MAP_GENERATOR_CLASS, IMAGE_MAP_VISIBLE, IMAGE_SERVLET_CONTEXT, INVOCATION_CONTEXT, JSF_CONTEXT, ON_CLICK, ON_SELECTION_CHANGED, PARTIAL_SUBMIT, PORTLET_CONTEXT_KEY, PORTLET_SESSION_KEY, REPLACE_PATTERN, RESIZABLE, SELECTION_RESIZABLE_CLASS, SESSION_EXP_HANDLER, SUBMITTED_VALUE, WAITING_IMAGE
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_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 |
---|
IlvFacesDHTMLScheduleChartView()
Creates a new
IlvFacesDHTMLScheduleChartView instance. |
Modifier and Type | Method and Description |
---|---|
String |
getBeforeSessionExpirationHandler()
Returns the JavaScript code that will be called when the session is about to expire.
|
IlvHierarchyChart |
getChart()
Returns the wrapped instance of
IlvHierarchyChart . |
String |
getColumnResizeMessage()
Returns the message displayed by the view message box during the resizing
of a column.
|
static String |
getComponentType()
Returns the type of this component.
|
String |
getControllerURL()
Returns the URL of the controller servlet.
|
String |
getErrorMessage()
Returns the error message displayed by the view when an error occurred
during image loading.
|
String |
getFamily()
Returns the identifier of the component family to which this component
belongs.
|
String |
getHotkeys()
Returns the hotkeys for this view.
|
String |
getImageFormat()
Returns the desired format of the image generated by the servlet.
|
String |
getServlet()
Returns the servlet that will generate the image displayed by the view.
|
String |
getServletClass() |
String |
getServletURL() |
int |
getUpdateInterval()
Returns the automatic update interval (in seconds) of the Gantt.
|
String |
getWaitingImage()
Returns the path to the image displayed when the view loads the image.
|
boolean |
isAccessible()
Returns whether the view is accessible or not.
|
boolean |
isAutoUpdateCapabilities()
Returns whether the automatic update will also update the capabilities.
|
boolean |
isResizable()
Returns whether the view is resizable.
|
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 |
setAccessible(boolean accessible)
Sets whether the view is accessible or not.
|
void |
setAutoUpdateCapabilities(boolean autoUpdateCapabilities)
Sets whether the automatic update will also update the capabilities.
|
void |
setBeforeSessionExpirationHandler(String handler)
Sets the JavaScript code that will be called when the session is about to expire.
|
void |
setColumnResizeMessage(String columnResizeMessage)
Sets the message displayed by the view message box during the resizing of a
column.
|
void |
setErrorMessage(String errorMessage)
Sets the error message displayed by the view when an error occurred during
image loading.
|
void |
setHotkeys(String hotkeys)
Sets the hotkeys for this view.
|
void |
setImageFormat(String imageFormat)
Sets the desired format of the image generated by the servlet.
|
void |
setResizable(boolean resizable)
Sets whether the view is resizable.
|
void |
setServlet(String servlet)
Sets the servlet that will generate the image displayed by the view.
|
void |
setServletClass(String servletClass) |
void |
setServletURL(String servletURL) |
void |
setUpdateInterval(int updateInterval)
Sets the automatic update interval (in seconds) of the Gantt.
|
void |
setValue(Object value)
Sets the value of this component.
|
void |
setWaitingImage(String waitingImage)
Sets the path of the image displayed when the view loads the image.
|
void |
updateModel(javax.faces.context.FacesContext ctx)
This method updates the referenced values with the local values of the
component if these values were updated from the client.
|
createHierarchyChart
getConverter, getDataSource, getDataSourceId, getDefaultObjectFinder, getDividerLocation, getEndVisibleInterval, getLocalValue, getProject, getSheetHScrollBackgroundClickExtent, getSheetInteractor, getSheetInteractorId, getSplitterArrowsVisible, getStartVisibleInterval, getStyleSheet, getStyleSheets, getTableInteractor, getTableInteractorId, getZoomFactor, isEditable, isSheetHScrollable, isSheetVScrollable, setChart, setConverter, setDataSource, setDataSourceId, setDividerLocation, setEditable, setEndVisibleInterval, setProject, setSheetHScrollable, setSheetHScrollBackgroundClickExtent, setSheetInteractor, setSheetInteractorId, setSheetVScrollable, setSplitterArrowsVisible, setStartVisibleInterval, setStyleSheet, setStyleSheets, setTableInteractor, setTableInteractorId, setZoomFactor
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, 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 IlvFacesDHTMLScheduleChartView()
IlvFacesDHTMLScheduleChartView
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 IlvFacesScheduleChartView
public static String getComponentType()
public String getControllerURL() throws Exception
IllegalStateException
- If the type of the request is not handled.Exception
public void setErrorMessage(String errorMessage)
setErrorMessage
in interface IlvFacesDHTMLGanttSupport
errorMessage
- The error message to set.public String getErrorMessage()
getErrorMessage
in interface IlvFacesDHTMLGanttSupport
public void setImageFormat(String imageFormat)
setImageFormat
in interface IlvDHTMLHelper
imageFormat
- The desired image format of the image displayed by the view.public String getImageFormat()
getImageFormat
in interface IlvDHTMLHelper
public void setServlet(String servlet)
setValue
.
The servlet parameter could be a URL to the servlet or a fully qualified
servlet class that will be instantiated to generate the image.setServlet
in interface IlvDHTMLHelper
servlet
- The image generating servlet.public String getServlet()
getServlet
in interface IlvDHTMLHelper
public void setServletClass(String servletClass)
setServletClass
in interface IlvDHTMLHelper
public String getServletClass()
getServletClass
in interface IlvDHTMLHelper
public void setServletURL(String servletURL)
setServletURL
in interface IlvDHTMLHelper
public String getServletURL()
getServletURL
in interface IlvDHTMLHelper
public void setUpdateInterval(int updateInterval)
setUpdateInterval
in interface IlvFacesDHTMLGanttSupport
updateInterval
- The update interval to set.public int getUpdateInterval()
getUpdateInterval
in interface IlvFacesDHTMLGanttSupport
public void setWaitingImage(String waitingImage)
setWaitingImage
in interface IlvDHTMLHelper
waitingImage
- The path of the image displayed when the view loads the image.public String getWaitingImage()
getWaitingImage
in interface IlvDHTMLHelper
public void setAutoUpdateCapabilities(boolean autoUpdateCapabilities)
setAutoUpdateCapabilities
in interface IlvFacesDHTMLGanttSupport
autoUpdateCapabilities
- The automatic update capabilities to set.public boolean isAutoUpdateCapabilities()
isAutoUpdateCapabilities
in interface IlvFacesDHTMLGanttSupport
public void setValue(Object value)
setValue
in interface IlvDHTMLHelper
setValue
in interface javax.faces.component.ValueHolder
setValue
in class javax.faces.component.UIGraphic
value
- The new value.public String getColumnResizeMessage()
getColumnResizeMessage
in interface IlvFacesDHTMLGanttSupport
public void setColumnResizeMessage(String columnResizeMessage)
setColumnResizeMessage
in interface IlvFacesDHTMLGanttSupport
columnResizeMessage
- The message to set.public boolean isResizable()
isResizable
in interface IlvFacesDHTMLGanttSupport
public void setResizable(boolean resizable)
setResizable
in interface IlvFacesDHTMLGanttSupport
resizable
- The resizable to set.public boolean isAccessible()
public void setAccessible(boolean accessible)
public String getHotkeys()
public void setHotkeys(String hotkeys)
public IlvHierarchyChart getChart()
IlvHierarchyChart
.getChart
in interface IlvFacesDHTMLGanttSupport
getChart
in class IlvFacesHierarchyChartView
public String getBeforeSessionExpirationHandler()
getBeforeSessionExpirationHandler
in interface IlvFacesDHTMLGanttSupport
public void setBeforeSessionExpirationHandler(String handler)
This code can use the view
implicit variable that represents the JavaScript proxy of this component.
setBeforeSessionExpirationHandler
in interface IlvFacesDHTMLGanttSupport
handler
- The JavasScript code.public void updateModel(javax.faces.context.FacesContext ctx)
updateModel
in interface IlvDHTMLHelper
updateModel
in class IlvFacesHierarchyChartView
ctx
- The current faces context.public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface IlvFacesComponent
saveState
in interface IlvDHTMLHelper
saveState
in interface javax.faces.component.StateHolder
saveState
in class IlvFacesHierarchyChartView
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 IlvDHTMLHelper
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class IlvFacesHierarchyChartView
context
- The current faces context.stateObj
- The previously saved state of this component.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.