|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--TObject | +--TVCpn
Type VisualComponent:
Class TVCpn
is the root of the visual components
hierarchy. All visual components implement the methods of this class.
Field Summary | |
int |
height
The height of the component. |
boolean |
visible
The component's visibility |
int |
width
The width of the component. |
int |
x
The x coordinate. |
int |
y
The y coordinate. |
Constructor Summary | |
TVCpn()
Instanciates a new Type Visual Component. |
Method Summary | |
int |
getHeight()
Returns the height of the component. |
boolean |
getVisible()
Returns the visibility of the component. |
int |
getWidth()
Returns the width of the component. |
int |
getX()
Returns the x coodinate. |
int |
getY()
Returns the y coodinate. |
void |
move(int x,
int y)
Moves the component to the specified coordinates. |
void |
setDim(int height,
int width)
Sets the dimensions of the component. |
void |
setHeight(int height)
Sets the height of the component. |
void |
setVisible(boolean visible)
Sets the visibility of the component. |
void |
setWidth(int width)
Sets the width of the component. |
void |
setX(int x)
Sets the x coodinate. |
void |
setY(int y)
Sets the y coodinate. |
Methods inherited from class TObject |
clone, Destroy, equals, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public boolean visible
public int x
public int y
public int height
public int width
Constructor Detail |
public TVCpn()
Method Detail |
public void setVisible(boolean visible)
visible
- The component's visibility.public void move(int x, int y)
x
- The x coordinate.y
- The y coordinate.public void setX(int x)
x
- The x coordinate.public void setY(int y)
y
- The y coordinate.public void setHeight(int height)
height
- The height of the component.public void setWidth(int width)
width
- The width of the component.public void setDim(int height, int width)
height
- The height of the component.width
- The width of the component.public boolean getVisible()
public int getX()
public int getY()
public int getHeight()
public int getWidth()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |