|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ColorSource: trivial interface to be used for deferred (on-demand) Color queries.
The principal use in HADES is to reduce the enormous overhead of setColor() operations on animated Symbol graphics objects. For example, in a typical RTLIB simulation, the values of registers and ouput pins are constructed, formatted, and set many times before the next repaint occurs. By registering a ColorSource with Label, the Label will not perform Color construction, unless it is actually repainted, resulting in much better performance and memory efficiency.
Method Summary | |
java.awt.Color |
getColor()
get the current value of the Color from this ColorSource |
Method Detail |
public java.awt.Color getColor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |