|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.dbarnes.sgme.MapWidget
public class MapWidget
Represents an instance of a Widget on a Map. More than one MapWidget may exist at any given set of coordinates.
| Constructor Summary | |
|---|---|
MapWidget(int x,
int y,
Widget widget)
Creates and initializes the MapWidget object. |
|
| Method Summary | |
|---|---|
Widget |
getWidget()
Returns the Widget object. |
int |
getX()
Returns the x coordinate. |
int |
getY()
Returns the y coordinate. |
void |
setWidget(Widget widget)
Sets the Widget object. |
void |
setX(int x)
Sets the x coordinate. |
void |
setY(int y)
Sets the x coordinate. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapWidget(int x,
int y,
Widget widget)
| Method Detail |
|---|
public Widget getWidget()
public void setWidget(Widget widget)
public int getX()
public void setX(int x)
public int getY()
public void setY(int y)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||