|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GResizable
Specifies the characteristics of a graphical object that supports the
setSize
and setBounds
methods.
Method Summary | |
---|---|
void |
setBounds(double x,
double y,
double width,
double height)
Changes the bounds of this object to the specified values. |
void |
setBounds(GRectangle bounds)
Changes the bounds of this object to the values from the specified GRectangle . |
void |
setSize(double width,
double height)
Changes the size of this object to the specified width and height. |
void |
setSize(GDimension size)
Changes the size of this object as specified by the GDimension
object. |
Method Detail |
---|
void setBounds(double x, double y, double width, double height)
x
- The new x-coordinate for the objecty
- The new y-coordinate for the objectwidth
- The new width of the objectheight
- The new height of the objectvoid setBounds(GRectangle bounds)
GRectangle
.
bounds
- A GRectangle
specifying the new boundsvoid setSize(double width, double height)
width
- The new width of the objectheight
- The new height of the objectvoid setSize(GDimension size)
GDimension
object.
size
- A GDimension
object specifying the new size
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |