|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IlpNodeRenderer
This interface defines the basic renderer for a graphic object in the view.
It allows the creation and updating of an IlpGraphic object,
which will represent either an IlpRepresentationObject or a
specific attribute of this object.
| Method Summary | |
|---|---|
IlpGraphic |
createGraphic(IlpGraphView view,
IlpRepresentationObject object,
IlpGraphicRendererContext rendererContext,
IlpGraphic previousGraphic)
Creates a new IlpGraphic from an
IlpRepresentationObject. |
void |
updateGraphic(IlpGraphic graphic,
IlpGraphicRendererContext rendererContext)
Updates an existing IlpGraphic. |
| Method Detail |
|---|
IlpGraphic createGraphic(IlpGraphView view,
IlpRepresentationObject object,
IlpGraphicRendererContext rendererContext,
IlpGraphic previousGraphic)
IlpGraphic from an
IlpRepresentationObject.
The graphic object will be used in the specified view.
An implementation of this method should always create a new
IlpGraphic instance, as instances may be cached externally.
This method should return the completely constructed graphic object.
It may internally call updateGraphic.
If the previousGraphic argument is non-null, this method
may - as an optimization - choose to reuse the previousGraphic instead
of creating a new one.
view - Graphic view in which the object will be displayed.object - The representation object.rendererContext - The context which carries information to be used in
the rendering process, such as selection
information.previousGraphic - The previous graphic object for this object, for
possible optimization, or null.
void updateGraphic(IlpGraphic graphic,
IlpGraphicRendererContext rendererContext)
IlpGraphic.
graphic - 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 | |||||||||