|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This interface should be implemented by any objects that Can be added to and manipulated by DrawingPanes.
| Method Summary | |
int |
getHeight()
Returns the height of the component |
int |
getWidth()
Returns the width of the component |
void |
moveTo(double x,
double y)
Moves the component to the given coordinates |
void |
redraw()
Calls Component.repaint() in a thread-safe way. |
void |
resizeTo(double width,
double height)
Resizes the component to the given dimensions |
void |
setFeedbackText(String text)
If possible, sets the text at the bottom of the window that this component is displayed in. |
void |
smoothMove(double x,
double y,
int milliseconds)
Smoothly moves this component to the given coordinates over the time interval given. |
void |
smoothResize(double width,
double height,
int milliseconds)
Smoothly resizes this component to the given dimensions over the time interval given. |
| Method Detail |
public void redraw()
Component.repaint() in a thread-safe way.
The component is re-drawn on the screen. This is especially useful for PictureComponent objects.
public void resizeTo(double width,
double height)
public void smoothResize(double width,
double height,
int milliseconds)
public void moveTo(double x,
double y)
public void smoothMove(double x,
double y,
int milliseconds)
public int getWidth()
public int getHeight()
public void setFeedbackText(String text)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||