|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIGraphic
ilog.views.faces.component.IlvBasicView
ilog.views.faces.component.IlvFacesView
ilog.tgo.faces.graph.component.IltFacesGraphView
public abstract class IltFacesGraphView
This class defines the basic Graph View Faces component, which holds common properties for both Network and Equipment View components.
IlvFacesView,
IlvFacesConstants,
IltFacesJTGOConstants,
Serialized Form| Field Summary |
|---|
| Fields inherited from class ilog.views.faces.component.IlvFacesView |
|---|
MAX_ZOOM_DEFAULT_VALUE, MIN_ZOOM_DEFAULT_VALUE, PAN_FACTOR_DEFAULT_VALUE, ZOOM_FACTOR_DEFAULT_VALUE |
| Fields inherited from class ilog.views.faces.component.IlvBasicView |
|---|
DEFAULT_OBJECT_FINDER |
| Fields inherited from class javax.faces.component.UIGraphic |
|---|
COMPONENT_FAMILY, COMPONENT_TYPE |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Fields inherited from interface ilog.tgo.faces.IltFacesJTGOConstants |
|---|
CONTEXT, DATA_SOURCE, DATA_SOURCE_ID, DEFAULT_STYLE_SHEET, EQUIPMENT, NETWORK, OBJECT_ACTION_MB, PROPERTY_ACCESSOR, STYLE_SHEETS |
| Fields inherited from interface ilog.views.faces.IlvFrameworkConstants |
|---|
ACTION_NAME, AUTO_REFRESH, BOUNDING_BOX, CONSTRAINED_ON_CONTENTS, INTERACTOR, INTERACTOR_ID, MAX_ZOOM_LEVEL, MIN_ZOOM_LEVEL, NB_BUTTONS, ORIENTATION, ORIENTATION_HORIZONTAL, ORIENTATION_VERTICAL, PAN_FACTOR, STATIC_LAYERS_COUNT, TILE_SIZE, VISIBLE_LAYERS, ZOOM_FACTOR, ZOOM_LEVELS |
| Constructor Summary | |
|---|---|
IltFacesGraphView()
Creates a new IltFacesGraphView. |
|
| Method Summary | |
|---|---|
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(FacesContext context,
Object stateObj)
Restores the state of this component from the stateObj parameter. |
Object |
saveState(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(FacesContext context)
This method updates the referenced values with the local values of the component if these values were updated from the client. |
| Methods inherited from class ilog.views.faces.component.IlvFacesView |
|---|
getBoundingBox, getInteractor, getInteractorId, getMaxZoomLevel, getMinZoomLevel, getPanFactor, getStaticLayersCount, getTileSize, getView, getVisibleLayers, getZoomFactor, getZoomLevels, isConstrainedOnContents, processValidators, setBoundingBox, setConstrainedOnContents, setInteractor, setInteractorId, setMaxZoomLevel, setMinZoomLevel, setPanFactor, setStaticLayersCount, setTileSize, setVisibleLayers, setZoomFactor, setZoomLevels |
| Methods inherited from class ilog.views.faces.component.IlvBasicView |
|---|
clearDecodedPropertyMap, createFacesComponent, getAttributes, getComponentType, getData, getFamily, getHeight, getMessageBox, getMessageBoxId, getStyle, getStyleClass, getWidth, isDecodedProperty, processUpdates, resetDecodedProperties, setData, setDecodedProperty, setHeight, setMessageBox, setMessageBoxId, setStyle, setStyleClass, setWidth |
| Methods inherited from class javax.faces.component.UIGraphic |
|---|
getUrl, getValue, getValueBinding, getValueExpression, setUrl, setValue, setValueBinding, setValueExpression |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IltFacesGraphView()
IltFacesGraphView.
| Method Detail |
|---|
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 IlvFacesViewview - 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 IlvFacesViewnull.public void updateModel(FacesContext context)
updateModel in class IlvFacesViewcontext - The current faces context.public Object saveState(FacesContext context)
saveState in interface IlvFacesComponentsaveState in interface StateHoldersaveState in class IlvFacesViewcontext - The current faces context.
state of this component.
public void restoreState(FacesContext context,
Object stateObj)
stateObj parameter.
restoreState in interface IlvFacesComponentrestoreState in interface StateHolderrestoreState in class IlvFacesViewcontext - The current faces context.stateObj - The previously saved state of this component.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||