|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PainterInterface
Interface that allows the creation classes resposible for painting a component without
needing to be derived from java.awt.Component or javax.swing.JComponent.
Used by ImageJPanel
and JPaintablePanel
.
Implemented by ImagePainter
Method Summary | |
---|---|
java.awt.Rectangle |
get_selected_rect()
Get rectangle stored with set_selected_rect(). |
void |
paintComponent(java.awt.Graphics g)
Paint to the graphics object. |
void |
set_selected_rect(java.awt.Rectangle rect)
Store a rectangle typically selected by the user via Mouse or MouseMotion event. |
Method Detail |
---|
void paintComponent(java.awt.Graphics g)
g
- Grahics object used for painting.java.awt.Rectangle get_selected_rect()
void set_selected_rect(java.awt.Rectangle rect)
rect
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |