|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MapBeanRepaintPolicy
A MapBeanRepaintPolicy is a policy object that makes decisions on how a MapBean handles repaint requests from a layer. It can forward them on to the Swing thread by calling MapBean.repaint(), or ignore them until conditions that it considers valuable are met.
Method Summary | |
---|---|
java.lang.Object |
clone()
Provide a configured copy (except for the MapBean). |
java.awt.Graphics |
modifyGraphicsForPainting(java.awt.Graphics graphics)
A hook for the RepaintPolicy to make any adjustments to the java.awt.Graphics object before sending the Graphics object to the layers for painting. |
void |
repaint(Layer layer)
Take some action based on a repaint request from this particular layer. |
void |
setMap(MapBean mb)
Set the MapBean to call repaint on when a layer requests it. |
Method Detail |
---|
void setMap(MapBean mb)
void repaint(Layer layer)
java.awt.Graphics modifyGraphicsForPainting(java.awt.Graphics graphics)
java.lang.Object clone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |