public class GraphRendererEvent extends IlEventObject
Modifier and Type | Class and Description |
---|---|
static class |
GraphRendererEvent.Type
Event type
|
source
Constructor and Description |
---|
GraphRendererEvent(Object source,
IlEventType type,
IlpRepresentationObject ro)
Creates events of type
GraphRendererEvent.Type.CONTAINER_ADDED
or GraphRendererEvent.Type.CONTAINER_UPDATED |
GraphRendererEvent(Object source,
IlEventType type,
IlpRepresentationObject ro,
IlpGraphic graphic,
IlpGraphicRendererContext context)
Creates events of type
GraphRendererEvent.Type.GRAPHIC_ADDED
or GraphRendererEvent.Type.GRAPHIC_UPDATED |
Modifier and Type | Method and Description |
---|---|
IlpGraphic |
getGraphic()
Returns the graphic object which has been added or updated.
|
IlpGraphicRendererContext |
getRendererContext()
Returns the renderer context when the graphic was added or updated.
|
IlpRepresentationObject |
getRepresentationObject()
Returns the representation object whose graphic has generated this event.
|
getType
getSource, toString
public GraphRendererEvent(Object source, IlEventType type, IlpRepresentationObject ro)
GraphRendererEvent.Type.CONTAINER_ADDED
or GraphRendererEvent.Type.CONTAINER_UPDATED
source
- Event sourcetype
- GraphRendererEvent.Type.CONTAINER_ADDED
or GraphRendererEvent.Type.CONTAINER_UPDATED
ro
- Representation objectpublic GraphRendererEvent(Object source, IlEventType type, IlpRepresentationObject ro, IlpGraphic graphic, IlpGraphicRendererContext context)
GraphRendererEvent.Type.GRAPHIC_ADDED
or GraphRendererEvent.Type.GRAPHIC_UPDATED
source
- Event sourcetype
- GraphRendererEvent.Type.GRAPHIC_ADDED
or GraphRendererEvent.Type.GRAPHIC_UPDATED
ro
- Representation objectgraphic
- Container graphicpublic IlpRepresentationObject getRepresentationObject()
public IlpGraphic getGraphic()
public IlpGraphicRendererContext getRendererContext()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.