|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PComponent
Interface that a component needs to implement if it wants to act as a Piccolo canvas.
| Method Summary | |
|---|---|
void |
paintImmediately()
Sends a repaint notification the repaint manager if PComponent is not already painting immediately. |
void |
popCursor()
Pops the topmost cursor from the stack and sets it as the current one. |
void |
pushCursor(Cursor cursor)
Pushes the given cursor onto the cursor stack and sets the current cursor to the one provided. |
void |
repaint(PBounds bounds)
Called to notify PComponent that given bounds need repainting. |
void |
setInteracting(boolean interacting)
Sets whether the component is currently being interacted with. |
| Method Detail |
|---|
void repaint(PBounds bounds)
bounds - bounds needing repaintvoid paintImmediately()
void pushCursor(Cursor cursor)
cursor - The cursor to set as the current one and pushvoid popCursor()
void setInteracting(boolean interacting)
interacting - whether the component is currently being interacted
with
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||