|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectks.common.view.BackgroundCopier
Manages the responsibility of filling rectangles that need refreshing into a specific graphics context object using a particular color.
Default Skin for a container; simply copies a known color everywhere.
Constructor Summary | |
BackgroundCopier(java.awt.Graphics g,
java.awt.Color c)
BackgroundCopier constructor comment. |
Method Summary | |
void |
setVisible(boolean visible)
Visitor's chance to release resources once done. |
void |
visit(RectangleHierarchy node)
Copy the appropriate image as based by this node's value. |
void |
visit(RectangleHierarchy node,
java.awt.Rectangle clip)
Copy the appropriate image as based by this node's value. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BackgroundCopier(java.awt.Graphics g, java.awt.Color c)
g
- Graphicsc
- java.awt.ColorMethod Detail |
public void setVisible(boolean visible)
setVisible
in interface RectangleHierarchyVisitor
visible
- booleanpublic void visit(RectangleHierarchy node)
visit
in interface RectangleHierarchyVisitor
node
- node within RectangleHierarchy being visited.public void visit(RectangleHierarchy node, java.awt.Rectangle clip)
clip is unaffected by this method.
In V2.1 fixed defect with child nodes not being pass clip region.
visit
in interface RectangleHierarchyVisitor
node
- node within RectangleHierarchy being visited.clip
- Rectangle to which all drawing is to be clipped.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |