public abstract class IltFacesGraphView extends IlvFacesView implements IlvFacesConstants, IltFacesJTGOConstants
IlvFacesView
,
IlvFacesConstants
,
IltFacesJTGOConstants
,
Serialized FormMAX_ZOOM_DEFAULT_VALUE, MIN_ZOOM_DEFAULT_VALUE, PAN_FACTOR_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
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
CONTEXT, DATA_SOURCE, DATA_SOURCE_ID, DEFAULT_STYLE_SHEET, EQUIPMENT, NETWORK, OBJECT_ACTION_MB, PROPERTY_ACCESSOR, STYLE_SHEETS
AUTO_REFRESH, BOUNDING_BOX, COLOR, CONSTRAINED_ON_CONTENTS, GROUPABLE, HITMAP_LAYERS, IGNORE_CONTENT_ASPECT_RATIO, INTERACTOR, INTERACTOR_ID, MAX_ZOOM_LEVEL, MIN_ZOOM_LEVEL, NB_BUTTONS, OPACITY, ORIENTATION, ORIENTATION_HORIZONTAL, ORIENTATION_VERTICAL, PAN_FACTOR, STATIC_LAYERS_COUNT, TEMPLATE, TILE_SIZE, TOLERANCE, VISIBLE_LAYERS, ZOOM_FACTOR, ZOOM_LEVELS
Constructor and Description |
---|
IltFacesGraphView()
Creates a new
IltFacesGraphView . |
Modifier and Type | Method and Description |
---|---|
IlvRect |
getBoundingBox(Collection objects)
Returns the combined bounding box of the
IlpRepresentationObject
instances contained in the Collection provided in manager
coordinates. |
IlvRect |
getBoundingBox(IlpRepresentationObject object)
Returns the bounding box of the given
IlpRepresentationObject
instance in manager coordinates. |
IlpContext |
getContext()
Returns the JTGO context.
|
IltFacesDataSource |
getDataSource()
Returns the data source.
|
String |
getDataSourceId()
Returns the data source identifier.
|
IlvObjectSelectedFinder |
getDefaultObjectFinder()
Returns the default finder of this view.
|
String |
getDefaultStyleSheet()
Returns the URL of the default style sheet.
|
IlpGraphView |
getGraphView()
Access the view component.
|
String |
getProject()
Returns the component project configuration.
|
String |
getStyleSheets()
Returns the comma separated list of style sheets URL.
|
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 |
setContext(IlpContext context)
Sets the JTGO context.
|
void |
setDataSource(IltFacesDataSource dataSource)
Sets the
IltFacesDataSource data source. |
void |
setDataSourceId(String dataSourceId)
Sets the data source identifier.
|
void |
setDefaultStyleSheet(String defSSheets)
Sets the URL of the default style sheet.
|
void |
setProject(String proj)
Sets the component project configuration.
|
void |
setStyleSheets(String styleSheets)
Sets the comma separated list of style sheets URL.
|
void |
setView(IlvManagerView view)
Sets the manager view that will be displayed by the view.
|
protected boolean |
supportsDynamicLayers()
Returns a boolean determining if this component supports dynamic layers.
|
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.
|
getBoundingBox, getHitmapLayers, getHotkeys, getInteractor, getInteractorId, getMaxZoomLevel, getMinZoomLevel, getPanFactor, getScrollBar, getStaticLayersCount, getTileSize, getView, getVisibleLayers, getZoomFactor, getZoomLevels, isConstrainedOnContents, isProgressiveZoom, processValidators, setBoundingBox, setConstrainedOnContents, setHitmapLayers, setHotkeys, setInteractor, setInteractorId, setMaxZoomLevel, setMinZoomLevel, setPanFactor, setProgressiveZoom, setScrollBar, setStaticLayersCount, setTileSize, setVisibleLayers, setZoomFactor, setZoomLevels
clearDecodedPropertyMap, createFacesComponent, getAttributes, getBaseTextDirection, getComponentType, getData, getFamily, 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, 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 IlpContext getContext()
public void setContext(IlpContext context)
context
- The JTGO context to be set.public IltFacesDataSource getDataSource()
public void setDataSource(IltFacesDataSource dataSource)
IltFacesDataSource
data source.dataSource
- The data source to be set.public String getDataSourceId()
public void setDataSourceId(String dataSourceId)
dataSourceId
- The data source ID to be set.public String getStyleSheets()
public void setStyleSheets(String styleSheets)
styleSheets
- The style sheets to be set.public String getDefaultStyleSheet()
public void setDefaultStyleSheet(String defSSheets)
defSSheets
- The default style sheet to be set.public String getProject()
public void setProject(String proj)
proj
- The new project configuration.public IlpGraphView getGraphView()
IlpGraphView
.public void setView(IlvManagerView view)
setView
in class IlvFacesView
view
- The manager view to be displayed.public IlvRect getBoundingBox(IlpRepresentationObject object)
IlpRepresentationObject
instance in manager coordinates.
The bounding box returned is based on the transformer of the current view. It includes the base rectangle plus all decorations.
object
- The representation object whose bounding box you wish to
compute.object
in manager coordinates
according to the current view transformer. If object
is not
currently visible, null
is returned.IllegalArgumentException
- if object
is
null
.public IlvRect getBoundingBox(Collection objects)
IlpRepresentationObject
instances contained in the Collection
provided in manager
coordinates.
The bounding box is based on the transformer of the current view. It includes the base rectangle plus all decorations of each object.
objects
- The Collection of representation objects whose bounding
box you wish to compute.objects
in manager coordinates
according to the current view transformer. If none of the objects in
objects
is currently visible, null
is
returned.IllegalArgumentException
- if any
object in objects
is not an
IlpRepresentationObject
instance or if
objects
is null
.protected boolean supportsDynamicLayers()
This component supports dynamic layers when it is interacted with interactor faces components using the JSF lifecycle.
true
if dynamic layers are supported and false
otherwise.public IlvObjectSelectedFinder getDefaultObjectFinder()
getDefaultObjectFinder
in class IlvFacesView
null
.public void updateModel(javax.faces.context.FacesContext context)
updateModel
in class IlvFacesView
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 IlvFacesView
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 IlvFacesView
context
- The current faces context.stateObj
- The previously saved state of this component.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.