|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Picture
Interface for a self-contained object which can paint itself on a
graphics context.
It's very like an Icon
, but intended for
use in contexts which may be headless.
Method Summary | |
---|---|
int |
getPictureHeight()
Get vertical extent. |
int |
getPictureWidth()
Get horizontal extent. |
void |
paintPicture(Graphics2D g2)
Paint the content of this painting on the given graphics context. |
Method Detail |
---|
int getPictureWidth()
int getPictureHeight()
void paintPicture(Graphics2D g2) throws IOException
g2
- graphics context
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |