public interface IlpGraphicHolder
IlpGraphic
instances with attributes and objects.Modifier and Type | Method and Description |
---|---|
void |
addGraphic(IlpRepresentationObject o,
IlpAttribute a,
IlpGraphic g)
Associates the given representation object and attribute with
the given graphic representation.
|
void |
addGraphic(IlpRepresentationObject o,
IlpGraphic g)
Associates the given representation object with the given graphic representation.
|
IlpGraphic |
getGraphic(IlpRepresentationObject o)
Gets the graphic object associated with the given representation object.
|
IlpGraphic |
getGraphic(IlpRepresentationObject o,
IlpAttribute a)
Gets the graphic object associated with the given representation object
and attribute.
|
IlpGraphicRendererContext |
getRendererContext(IlpRepresentationObject o)
Returns the renderer context associated with the graphic representation of
the given representation object.
|
IlpGraphicRendererContext |
getRendererContext(IlpRepresentationObject o,
IlpAttribute a)
Returns the renderer context associated with the graphic representation of
the given representation object and attribute.
|
void |
invalidate()
Invalidates all graphic instances present in this holder.
|
void |
invalidateGraphic(IlpRepresentationObject o)
Invalidates the graphic instance associated with the given representation object.
|
void |
invalidateGraphic(IlpRepresentationObject o,
IlpAttribute a)
Invalidates the graphic instance associated with the given representation object
and attribute.
|
boolean |
isValid(IlpRepresentationObject o)
Returns whether the graphic instance associated with the given representation object
is valid.
|
boolean |
isValid(IlpRepresentationObject o,
IlpAttribute a)
Returns whether the graphic instance associated with the given representation object
and attribute is valid.
|
void |
removeGraphic(IlpRepresentationObject o)
Removes the graphic instance associated with the given representation object.
|
void |
removeGraphic(IlpRepresentationObject o,
IlpAttribute a)
Removes the graphic instance associated with the given
representation object and attribute.
|
void |
validateGraphic(IlpRepresentationObject o,
IlpAttribute a,
IlpGraphicRendererContext c)
Validates the graphic instance associated with the given representation object
and attribute.
|
void |
validateGraphic(IlpRepresentationObject o,
IlpGraphicRendererContext c)
Validates the graphic instance associated with the given representation object.
|
IlpGraphic getGraphic(IlpRepresentationObject o)
null
if the object only has graphics associated with
individual attributes.o
- Representation object which graphic representation is being requestedIlpGraphic getGraphic(IlpRepresentationObject o, IlpAttribute a)
null
if the attribute does not have a graphic representation.o
- Representation objecta
- Attribute which graphic representation is being requestedvoid addGraphic(IlpRepresentationObject o, IlpGraphic g)
o
- Representation object which graphic representation is being addedg
- Graphic representationvoid addGraphic(IlpRepresentationObject o, IlpAttribute a, IlpGraphic g)
o
- Representation objecta
- Attribute which graphic representation is being addedg
- Graphic representationvoid removeGraphic(IlpRepresentationObject o)
o
- Representation object which graphic instance is being removedvoid removeGraphic(IlpRepresentationObject o, IlpAttribute a)
o
- Representation object which graphic instance is being removeda
- Attribute which graphic instance is being removedvoid invalidateGraphic(IlpRepresentationObject o)
o
- Representation object which graphic instance is being invalidatedvoid invalidateGraphic(IlpRepresentationObject o, IlpAttribute a)
o
- Representation objecta
- Attribute which graphic instance is being invalidatedvoid invalidate()
void validateGraphic(IlpRepresentationObject o, IlpGraphicRendererContext c)
o
- Representation object which graphic is being validated.c
- Renderer context information that is stored with the representation object
graphic. This information is later used to indicate whether the graphic
must be updated or not.void validateGraphic(IlpRepresentationObject o, IlpAttribute a, IlpGraphicRendererContext c)
o
- Representation objecta
- Attribute which graphic instance is being validatedc
- Renderer context information that is stored with the representation object
graphic. This information is later used to indicate whether the graphic
must be updated or not.IlpGraphicRendererContext getRendererContext(IlpRepresentationObject o)
May be null
if the graphic renderer context was not set.
o
- Representation object which graphic validity is being queriedvalidateGraphic(ilog.cpl.model.IlpRepresentationObject, ilog.cpl.graphic.IlpGraphicRendererContext)
IlpGraphicRendererContext getRendererContext(IlpRepresentationObject o, IlpAttribute a)
May be null
if the graphic renderer context was not set.
o
- Representation object which graphic validity is being querieda
- Attribute which graphic representation is being validatedvalidateGraphic(ilog.cpl.model.IlpRepresentationObject, ilog.cpl.graphic.IlpGraphicRendererContext)
boolean isValid(IlpRepresentationObject o)
o
- Representation object which graphic validity is being queriedboolean isValid(IlpRepresentationObject o, IlpAttribute a)
o
- Representation objecta
- Attribute which graphic validity is being queried© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.