|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.graph.IlpDefaultNodeRenderer
public class IlpDefaultNodeRenderer
This class creates and updates the IlpGraphic objects that
represent an IlpRepresentationObject object.
This renderer works as follows. First, it fetches the
graphicRenderer property in the CSS customization. If one is
found, it is used. This renderer provides no additional functionality.
If no such renderer is found, or if its createGraphic
function returns null, this renderer uses the view's default
renderer.
IlpGraphView.setNodeRenderer(ilog.cpl.graph.IlpNodeRenderer)| Constructor Summary | |
|---|---|
IlpDefaultNodeRenderer()
Default constructor |
|
| Method Summary | |
|---|---|
IlpGraphic |
createGraphic(IlpGraphView view,
IlpRepresentationObject object,
IlpGraphicRendererContext rendererContext,
IlpGraphic previousGraphic)
Creates a new graphic representation or reuses the previous one. |
void |
updateGraphic(IlpGraphic graphic,
IlpGraphicRendererContext rendererContext)
Updates an existing IlpGraphic, to reflect the changes made
to the IlpRepresentationObject object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlpDefaultNodeRenderer()
| Method Detail |
|---|
public IlpGraphic createGraphic(IlpGraphView view,
IlpRepresentationObject object,
IlpGraphicRendererContext rendererContext,
IlpGraphic previousGraphic)
createGraphic in interface IlpNodeRendererview - An IlpGraphView.object - The object to be displayed.rendererContext - Renderer information to create the graphic representation.previousGraphic - The previous graphic representation, or
null.
public void updateGraphic(IlpGraphic graphic,
IlpGraphicRendererContext rendererContext)
IlpGraphic, to reflect the changes made
to the IlpRepresentationObject object.
updateGraphic in interface IlpNodeRenderergraphic - The graphic to be updated.rendererContext - The context which carries information to be used
in the rendering process, such as selection
information.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||