|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sub_arctic.text.screen_rect
This object is the base class for all objects which can appear on the screen.
Field Summary | |
protected int |
_h
Height within the containing structure. |
protected int |
_w
Width within the containing structure. |
protected int |
_x
X coord within the containing structure. |
protected int |
_y
Y coord within the containing structure. |
Constructor Summary | |
screen_rect()
Construct a screen rect. |
Method Summary | |
abstract boolean |
can_overlap()
This function is called to see if this object may overlap its predecessor as it is layed out. |
int |
h()
This returns the height of the object within its containing structure. |
void |
set_h(int new_h)
Set the height of a screen object. |
java.lang.String |
toString()
Display this sucker. |
int |
w()
This returns the width of the object. |
int |
x()
This returns the x position of the object within its containing structure. |
int |
y()
This returns the y position of the object within its containing structure. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected int _x
protected int _y
protected int _w
protected int _h
Constructor Detail |
public screen_rect()
Method Detail |
public abstract boolean can_overlap()
public int x()
public int y()
public int w()
public int h()
public void set_h(int new_h)
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |