|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
ilog.cpl.graph.IlpGraphView
ilog.cpl.network.IlpNetworkView
public class IlpNetworkView
This class displays the contents of an IlpNetworkModel
in an ILOG JViews grapher.
Note that links whose end nodes are not both visible in the
same IlpNetworkModel cannot be displayed.
IlpNetworkModel,
IlpNetworkController,
IlpNetwork,
Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ilog.cpl.graph.IlpGraphView |
|---|
IlpGraphView.VisibleModelConnector |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
protected NetworkSelectionListener |
selectionModelListener
|
| Fields inherited from class ilog.cpl.graph.IlpGraphView |
|---|
configuration, SCROLLBAR_UNIT_INCREMENT |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface ilog.cpl.css.IlpStylable |
|---|
UPDATE_ALL_MASK, UPDATE_COMPONENT_MASK, UPDATE_NONE_MASK, UPDATE_OBJECTS_MASK |
| Fields inherited from interface ilog.views.util.styling.IlvStylable |
|---|
APPLIED_RULE_MASK, BAD_CLASS_MASK, BAD_PROP_MASK, BAD_PROP_WITH_STACK_MASK, CREATED_MASK, DECL_MASK, DECL_VALUE_MASK, FAILED_CONVERSIONS_MASK, TIME_REPORT_MASK, WARNING_PROP_MASK |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
IlpNetworkView(IlpContext context)
Creates a view. |
|
| Method Summary | |
|---|---|
protected IlpGraphSelectionModel |
createGraphSelectionModel()
This method creates the default selection model. |
Object |
createToolBarButtonFromAction(Action a)
Creates a toolbar button to execute the given action. |
protected ilog.cpl.graph.css.internal.IlpGraphViewCSSContext |
createViewCSSContext()
Creates the CSS context that will provide support for Cascading Style Sheets in this graph view. |
protected ilog.cpl.graph.internal.IlpGraphVisibleModel |
createVisibleModel()
Create a new visible model. |
protected Class |
getDefaultLinkClass()
Retrieves the default class that implements IlpNetworkLink. |
protected Class |
getDefaultNodeClass()
Retrieves the default class that implements IlpNetworkNode. |
Class |
getGraphicComponentClass()
Returns the graphic component class supported by this implementation of graphic view. |
IlpNetworkRenderer |
getNetworkRenderer()
Deprecated. Use ilog.cpl.graph.IlpGraphView.getNodeRenderer
instead. |
IlpNetworkSelectionModel |
getSelectionModel()
Returns the selection model. |
IlpStyle |
getStyle()
Deprecated. The Style API has been replaced by the Cascading Style Sheet mechanism. |
IlpStyle |
getStyle(Class clazz)
Deprecated. The Style API has been replaced by the Cascading Style Sheet mechanism. |
IlpStyle |
getStyle(IlpClass clazz)
Deprecated. The style API has been replaced by the Cascading Style Sheet mechanism. |
IlpStyle |
getStyle(IlpObject object)
Deprecated. The Style API has been replaced by the Cascading Style Sheet mechanism. |
IlpStyle |
getStyle(IlpRepresentationObject object)
Deprecated. The Style API has been replaced by the Cascading Style Sheet mechanism. |
IlpGraphicViewStyleManager |
getStyleManager()
Deprecated. The Style API has been replaced by the Cascading Style Sheet mechanism. Use the method setStyleSheets
or getStyleSheets instead. |
String |
getToolBarButtonClassFromActionType(String actionType)
Returns the button class name that corresponds to the given action type This is used when configuring buttons for the component toolbar |
protected Logger |
getViewLogger()
Accesses the proper logger for handling log messages. |
protected void |
initRenderers()
Call partial renderer initialization. |
boolean |
isVisible(IlpLayer layer)
Deprecated. Use getCompositeGrapher().isVisible((IltcLayer)layer) instead. |
boolean |
isVisible(IlpLayer layer,
IlvManagerView view)
Deprecated. Use getCompositeGrapher().isVisible((IltcLayer)layer, view) instead. |
void |
setGraphSelectionModel(IlpGraphSelectionModel selectionModel)
Sets the selection model. |
void |
setNetworkRenderer(IlpNetworkRenderer renderer)
Deprecated. Use ilog.cpl.graph.IlpGraphView.setNodeRenderer
instead. |
void |
setStyleManager(IlpGraphicViewStyleManager configuration)
Deprecated. The Style API has been replaced by the Cascading Style Sheet mechanism. Use the method setStyleSheets
or getStyleSheets instead. |
void |
setVisible(IlpLayer layer,
boolean visible)
Deprecated. Use getCompositeGrapher().setVisible((IltcLayer)layer, visible) instead. |
void |
setVisible(IlpLayer layer,
IlvManagerView view,
boolean visible)
Deprecated. Use getCompositeGrapher().setVisible((IltcLayer)layer, view, visible) instead. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ilog.views.util.styling.IlvStylable |
|---|
addPropertyChangeListener, removePropertyChangeListener |
| Field Detail |
|---|
protected NetworkSelectionListener selectionModelListener
| Constructor Detail |
|---|
public IlpNetworkView(IlpContext context)
The underlying grapher is created through a call to
createGrapher, and the attached IlvManagerView
is created through a call to createManagerView.
| Method Detail |
|---|
protected Logger getViewLogger()
getViewLogger in class IlpGraphViewpublic Class getGraphicComponentClass()
getGraphicComponentClass in interface IlpGraphicViewgetGraphicComponentClass in class IlpGraphViewprotected Class getDefaultNodeClass()
IlpNetworkNode.
getDefaultNodeClass in class IlpGraphViewClass that implements IlpNetworkNode.protected Class getDefaultLinkClass()
IlpNetworkLink.
getDefaultLinkClass in class IlpGraphViewClass that implements
IlpNetworkLink.protected ilog.cpl.graph.css.internal.IlpGraphViewCSSContext createViewCSSContext()
createViewCSSContext in class IlpGraphViewprotected ilog.cpl.graph.internal.IlpGraphVisibleModel createVisibleModel()
createVisibleModel in class IlpGraphViewstaticModel is not
null; null otherwise.public String getToolBarButtonClassFromActionType(String actionType)
getToolBarButtonClassFromActionType in class IlpGraphViewpublic Object createToolBarButtonFromAction(Action a)
IlpGraphView
createToolBarButtonFromAction in class IlpGraphViewa - Actionpublic