|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.graphic.IlpEmptyGraphicHolder
public class IlpEmptyGraphicHolder
This is an empty graphic holder. It does not store any reference. It is intended to be used in tables or trees, where it is not necessary to store the references to the graphics that are rendered.
| Constructor Summary | |
|---|---|
protected |
IlpEmptyGraphicHolder()
Default constructor |
| Method Summary | |
|---|---|
void |
addGraphic(IlpRepresentationObject o,
IlpAttribute a,
IlpGraphic g)
This class does not store any association with graphic instances, so this method does nothing. |
void |
addGraphic(IlpRepresentationObject o,
IlpGraphic g)
This class does not store any association with graphic instances, so this method does nothing. |
IlpGraphic |
getGraphic(IlpRepresentationObject o)
Returns null always, as this graphic holder does not
store any references. |
IlpGraphic |
getGraphic(IlpRepresentationObject o,
IlpAttribute a)
Returns null always, as this graphic holder does not
store any references. |
static IlpEmptyGraphicHolder |
GetGraphicHolder()
Returns the single instance of graphic holder that is used when the graphic view is not interested in storing the association between objects/attributes and graphic instances. |
IlpGraphicRendererContext |
getRendererContext(IlpRepresentationObject o)
Returns the renderer context associated with the graphic representation of the given object representation. |
IlpGraphicRendererContext |
getRendererContext(IlpRepresentationObject o,
IlpAttribute a)
Returns the renderer context associated with the graphic representation of the given object representation and attribute. |
void |
invalidate()
Invalidates all graphic instances present in this holder. |
void |
invalidateGraphic(IlpRepresentationObject o)
Invalidates the graphic instance associated with the given object representation. |
void |
invalidateGraphic(IlpRepresentationObject o,
IlpAttribute a)
Invalidates the graphic instance associated with the given object representation and attribute. |
boolean |
isValid(IlpRepresentationObject o)
Returns if the graphic instance associated with the given object representation is valid. |
boolean |
isValid(IlpRepresentationObject o,
IlpAttribute a)
Returns if the graphic instance associated with the given object representation and attribute is valid. |
void |
removeGraphic(IlpRepresentationObject o)
This class does not store any association with graphic instances, so this method does nothing. |
void |
removeGraphic(IlpRepresentationObject o,
IlpAttribute a)
This class does not store any association with graphic instances, so this method does nothing. |
void |
validateGraphic(IlpRepresentationObject o,
IlpAttribute a,
IlpGraphicRendererContext c)
Validates the graphic instance associated with the given object representation and attribute. |
void |
validateGraphic(IlpRepresentationObject o,
IlpGraphicRendererContext c)
Validates the graphic instance associated with the given object representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected IlpEmptyGraphicHolder()
| Method Detail |
|---|
public static IlpEmptyGraphicHolder GetGraphicHolder()
public IlpGraphic getGraphic(IlpRepresentationObject o)
null always, as this graphic holder does not
store any references.
getGraphic in interface IlpGraphicHoldero - Representation object which graphic representation is being requested
public IlpGraphic getGraphic(IlpRepresentationObject o,
IlpAttribute a)
null always, as this graphic holder does not
store any references.
getGraphic in interface IlpGraphicHoldero - Representation objecta - Attribute which graphic representation is being requested
public void addGraphic(IlpRepresentationObject o,
IlpGraphic g)
addGraphic in interface IlpGraphicHoldero - Representation object which graphic representation is being addedg - Graphic representation
public void addGraphic(IlpRepresentationObject o,
IlpAttribute a,
IlpGraphic g)
addGraphic in interface IlpGraphicHoldero - Representation objecta - Attribute which graphic representation is being addedg - Graphic representationpublic void removeGraphic(IlpRepresentationObject o)
removeGraphic in interface IlpGraphicHoldero - Representation object which graphic instance is being removed
public void removeGraphic(IlpRepresentationObject o,
IlpAttribute a)
removeGraphic in interface IlpGraphicHoldero - Representation object which graphic instance is being removeda - Attribute which graphic instance is being removedpublic void invalidateGraphic(IlpRepresentationObject o)
invalidateGraphic in interface IlpGraphicHoldero - Representation object which graphic instance is being invalidated
public void invalidateGraphic(IlpRepresentationObject o,
IlpAttribute a)
invalidateGraphic in interface IlpGraphicHoldero - Representation objecta - Attribute which graphic instance is being invalidatedpublic void invalidate()
invalidate in interface IlpGraphicHolder
public void validateGraphic(IlpRepresentationObject o,
IlpGraphicRendererContext c)
validateGraphic in interface IlpGraphicHoldero - 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.
public void validateGraphic(IlpRepresentationObject o,
IlpAttribute a,
IlpGraphicRendererContext c)
validateGraphic in interface IlpGraphicHoldero - 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.public IlpGraphicRendererContext getRendererContext(IlpRepresentationObject o)
May be null if the graphic renderer context was not set.
getRendererContext in interface IlpGraphicHoldero - Representation object which graphic validity is being queriedvalidateGraphic(ilog.cpl.model.IlpRepresentationObject, ilog.cpl.graphic.IlpGraphicRendererContext)
public IlpGraphicRendererContext getRendererContext(IlpRepresentationObject o,
IlpAttribute a)
May be null if the graphic renderer context was not set.
getRendererContext in interface IlpGraphicHoldero - Representation object which graphic validity is being querieda - Attribute which graphic representation is being validatedvalidateGraphic(ilog.cpl.model.IlpRepresentationObject, ilog.cpl.graphic.IlpGraphicRendererContext)public boolean isValid(IlpRepresentationObject o)
isValid in interface IlpGraphicHoldero - Representation object which graphic validity is being queried
public boolean isValid(IlpRepresentationObject o,
IlpAttribute a)
isValid in interface IlpGraphicHoldero - 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 | |||||||||