public interface IlpGraphicRenderer
It allows the creation and update of an IlpGraphic
object, which will
represent either a IlpRepresentationObject
or a specific attribute
in this object.
Modifier and Type | Method and Description |
---|---|
IlpGraphic |
createGraphic(IlpGraphicView view,
IlpRepresentationObject object,
IlpAttribute attribute,
IlpGraphicRendererContext rendererContext)
Creates a new
IlpGraphic from an IlpRepresentationObject and
optional attribute. |
void |
updateGraphic(IlpGraphic g,
IlpGraphicRendererContext rendererContext)
Updates an existing
IlpGraphic . |
IlpGraphic createGraphic(IlpGraphicView view, IlpRepresentationObject object, IlpAttribute attribute, IlpGraphicRendererContext rendererContext)
IlpGraphic
from an IlpRepresentationObject
and
optional attribute.
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
.
view
- Graphic view in which the object will be displayed.object
- The representation object.attribute
- The attribute in the representation object.rendererContext
- The context which carries information to be used in the
rendering process, such as selection information.void updateGraphic(IlpGraphic g, IlpGraphicRendererContext rendererContext)
IlpGraphic
.g
- The graphic to be updated.rendererContext
- The context which carries information to be used in the
rendering process, such as selection information.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.