|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SimpleShape
This interface defines the SimpleShape service. This service is used to draw shapes. It has two service properties:
| Field Summary | |
|---|---|
static String |
ICON_PROPERTY
A service property for the icon of the shape. |
static String |
NAME_PROPERTY
A service property for the name of the shape. |
| Method Summary | |
|---|---|
void |
draw(java.awt.Graphics2D g2,
java.awt.Point p)
Method to draw the shape of the service. |
| Field Detail |
|---|
static final String NAME_PROPERTY
static final String ICON_PROPERTY
| Method Detail |
|---|
void draw(java.awt.Graphics2D g2,
java.awt.Point p)
g2 - The graphics object used for painting.p - The position to paint the triangle.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||