|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensourcephysics.displayejs.Group
public class Group
Constructor Summary | |
---|---|
Group()
|
Method Summary | |
---|---|
double |
getSizeX()
Returns the base size of the group in the X dimension |
double |
getSizeY()
Returns the base size of the group in the Y dimension |
double |
getSizeZ()
Returns the base size of the group in the Z dimension |
double |
getX()
Returns the X location of the group |
double |
getY()
Returns the Y location of the group |
double |
getZ()
Returns the Z location of the group |
boolean |
isVisible()
Whether any element of the group is visible |
void |
reportChange()
|
void |
setSizeX(double sizex)
Resizes the whole group in the X dimension |
void |
setSizeXY(double sizex,
double sizey)
Resizes the whole group in the X and Y dimensions |
void |
setSizeXYZ(double sizex,
double sizey,
double sizez)
Resizes the whole group in the X, Y, and Z dimensions |
void |
setSizeY(double sizey)
Resizes the whole group in the Y dimension |
void |
setSizeZ(double sizez)
Resizes the whole group in the Z dimension |
void |
setVisible(boolean visible)
Sets the visibility of the whole group at once |
void |
setX(double x)
Moves the whole group to a new X location |
void |
setXY(double x,
double y)
Moves the whole group to a new X and Y location |
void |
setXYZ(double x,
double y,
double z)
Moves the whole group to a new X, Y, and Z location |
void |
setY(double y)
Moves the whole group to a new Y location |
void |
setZ(double z)
Moves the whole group to a new Z location |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Group()
Method Detail |
---|
public void setX(double x)
x
- the new base X location for the grouppublic double getX()
public void setY(double y)
y
- the new base Y location for the grouppublic double getY()
public void setZ(double z)
z
- the new base Z location for the grouppublic double getZ()
public void setXY(double x, double y)
x
- the new base X location for the groupy
- the new base Y location for the grouppublic void setXYZ(double x, double y, double z)
x
- the new base X location for the groupy
- the new base Y location for the groupz
- the new base Z location for the grouppublic void setSizeX(double sizex)
sizex
- the new base X size for the grouppublic double getSizeX()
public void setSizeY(double sizey)
sizey
- the new base Y size for the grouppublic double getSizeY()
public void setSizeZ(double sizez)
sizez
- the new base Z size for the grouppublic double getSizeZ()
public void setSizeXY(double sizex, double sizey)
sizex
- the new base X size for the groupsizey
- the new base Y size for the grouppublic void setSizeXYZ(double sizex, double sizey, double sizez)
sizex
- the new base X size for the groupsizey
- the new base Y size for the groupsizez
- the new base Z size for the grouppublic void setVisible(boolean visible)
visible
- the desired visibility for the grouppublic boolean isVisible()
public void reportChange()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |