|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IlpGraphicHolder
This interface defines methods to associate IlpGraphic
instances with attributes and objects.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
IlpGraphic getGraphic(IlpRepresentationObject o)
null if the object only has graphics associated with
individual attributes.
o - Representation object which graphic representation is being requested
IlpGraphic getGraphic(IlpRepresentationObject o,
IlpAttribute a)
null if the attribute does not have a graphic representation.
o - Representation objecta - Attribute which graphic representation is being requested
void addGraphic(IlpRepresentationObject o,
IlpGraphic g)
o - Representation object which graphic representation is being addedg - Graphic representation
void 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 removed
void 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 invalidated
void 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 queried
boolean isValid(IlpRepresentationObject o,
IlpAttribute a)
o - Representation objecta - Attribute which graphic validity is being queried
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||