public class IlpNetworkController extends IlpGraphController
IlpNetworkView
.lastInteractedObject, lastInteractionStates
Constructor and Description |
---|
IlpNetworkController(IlpContext context)
Creates a controller.
|
Modifier and Type | Method and Description |
---|---|
IlpBackgroundsRenderer |
getBackgroundsRenderer()
Accesses the background renderer.
|
protected Logger |
getControllerLogger()
Access the logger.
|
protected IlpGraphHandler |
getDefaultHandler()
Retrieves the default handler.
|
protected Class |
getDefaultHandlerClass()
Retrieves the default handler class.
|
IlpGraphLayoutRenderer |
getGraphLayoutRenderer()
Accesses the graphic layout renderer.
|
IlpNetworkHandler |
getHandler()
Returns the handler for everything.
|
IlpInteractorRenderer |
getInteractorRenderer()
Accesses the interactor renderer.
|
IlpLabelLayoutRenderer |
getLabelLayoutRenderer()
Accesses the label layout renderer.
|
IlpLinkLayoutRenderer |
getLinkLayoutRenderer()
Accesses the link layout renderer.
|
IlpNetworkObjectHandler |
getObjectHandler()
Deprecated.
Please use
getNodeHandler instead. |
IlpOverviewRenderer |
getOverviewRenderer()
Accesses the overview renderer.
|
IlpPositioningRenderer |
getPositioningRenderer()
Accesses the position renderer.
|
IlpToolBarRenderer |
getToolBarRenderer()
Accesses the toolbar renderer.
|
IlpViewRenderer |
getViewRenderer()
Accesses the view renderer.
|
IlpZoomingRenderer |
getZoomingRenderer()
Accesses the zooming renderer.
|
void |
setEditingHandler(IlpNetworkEditingHandler handler)
Sets the handler for editing operations.
|
void |
setExpansionHandler(IlpNetworkExpansionHandler expansionHandler)
Deprecated.
Please use
ilog.cpl.graph.IlpGraphController.setExpansionHandler
instead. |
void |
setHandler(IlpNetworkHandler handler)
Sets the handler for everything.
|
void |
setLoadHandler(IlpNetworkLoadHandler loadHandler)
Deprecated.
Please use
ilog.cpl.graph.IlpGraphController.setLoadHandler
instead. |
void |
setObjectHandler(IlpNetworkObjectHandler objectHandler)
Deprecated.
Please use
setNodeHandler instead. |
void |
setPositionHandler(IlpNetworkPositionHandler positionHandler)
Deprecated.
Please use
ilog.cpl.graph.IlpGraphController.setPositionHandler
instead. |
cleanMutableStyleSheet, cloneObject, collapseObject, createObject, expandObject, getCollapsionBackgroundInteractor, getCollapsionIconInteractor, getCompleteObjectInteractor, getExpansionHandler, getExpansionIconInteractor, getExpansionInteractor, getFocusEventComponent, getGraphHandler, getGraphView, getKeyEventComponent, getLoadHandler, getMouseEventComponent, getNodeHandler, getObjectInteractionState, getPositionHandler, handleChangeRelationship, isUsingCustomHandler, load, moveObject, removeObject, removeObjectInteractors, setCollapsionBackgroundInteractor, setCollapsionIconInteractor, setExpansionHandler, setExpansionIconInteractor, setExpansionInteractor, setGraphHandler, setLoadHandler, setNodeHandler, setPositionHandler, setViewInteractor, updateObject
attach, attachView, createGraphicViewStyleManager, createViewInteractionContext, detach, focusGained, focusLost, getContext, getDefaultInteractorManager, getDefaultViewInteractor, getObjectInteractor, getObjectInteractor, getObjectInteractor, getObjectInteractor, getObjectInteractor, getView, getViewInteractionContext, getViewInteractor, initGraphicViewStyleManager, initInteractorManager, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, removeObjectInteractors, removeObjectInteractors, setDefaultInteractorManager, setDefaultViewInteractor, setObjectInteractor, setObjectInteractor, setObjectInteractor, setObjectInteractor, setObjectInteractor
public IlpNetworkController(IlpContext context)
IlpNetworkView
by calling setController
on the view.protected Logger getControllerLogger()
getControllerLogger
in class IlpGraphController
protected Class getDefaultHandlerClass()
getDefaultHandlerClass
in class IlpGraphController
protected IlpGraphHandler getDefaultHandler()
getDefaultHandler
in class IlpGraphController
public IlpNetworkHandler getHandler()
This method returns the handler if set through setHandler
.
The method returns null
if individual handlers have been
installed for object-related, move/reshape, container, loading or editing
operations.
null
.setHandler(ilog.cpl.network.IlpNetworkHandler)
,
IlpGraphController.getNodeHandler()
,
IlpGraphController.getPositionHandler()
,
IlpGraphController.getExpansionHandler()
,
IlpGraphController.getLoadHandler()
public void setHandler(IlpNetworkHandler handler)
The default handler for the network component is
IlpNetworkHandlerWithoutDataSource
. A predefined
handler can be used with data source
(IlpNetworkHandlerWithDataSource
).
public void setEditingHandler(IlpNetworkEditingHandler handler)
public IlpToolBarRenderer getToolBarRenderer()
public IlpViewRenderer getViewRenderer()
public IlpOverviewRenderer getOverviewRenderer()
public IlpInteractorRenderer getInteractorRenderer()
public IlpZoomingRenderer getZoomingRenderer()
public IlpGraphLayoutRenderer getGraphLayoutRenderer()
public IlpLinkLayoutRenderer getLinkLayoutRenderer()
public IlpLabelLayoutRenderer getLabelLayoutRenderer()
public IlpBackgroundsRenderer getBackgroundsRenderer()
public IlpPositioningRenderer getPositioningRenderer()
@Deprecated public IlpNetworkObjectHandler getObjectHandler()
getNodeHandler
instead.@Deprecated public void setObjectHandler(IlpNetworkObjectHandler objectHandler)
setNodeHandler
instead.@Deprecated public void setPositionHandler(IlpNetworkPositionHandler positionHandler)
ilog.cpl.graph.IlpGraphController.setPositionHandler
instead.@Deprecated public void setExpansionHandler(IlpNetworkExpansionHandler expansionHandler)
ilog.cpl.graph.IlpGraphController.setExpansionHandler
instead.@Deprecated public void setLoadHandler(IlpNetworkLoadHandler loadHandler)
ilog.cpl.graph.IlpGraphController.setLoadHandler
instead.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.