|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.huguesjohnson.tiamat.LocationObjectData
public class LocationObjectData
LocationObjectData - specifies where an object resides in a location
| Nested Class Summary | |
|---|---|
static class |
LocationObjectData.XAlignment
Specifies the x-alignment of the object. |
static class |
LocationObjectData.YAlignment
Specifies the y-alignment of the object. |
| Field Summary | |
|---|---|
static boolean |
DEFAULT_VISIBLE
boolean DEFAULT_VISIBLE=true |
static LocationObjectData.XAlignment |
DEFAULT_X_ALIGN
DEFAULT_X_ALIGN=XAlignment.FIXED |
static LocationObjectData.YAlignment |
DEFAULT_Y_ALIGN
DEFAULT_Y_ALIGN=YAlignment.FIXED |
| Constructor Summary | |
|---|---|
LocationObjectData(java.lang.String name)
Create a new instance of LocationObjectData |
|
LocationObjectData(java.lang.String name,
boolean visible)
Create a new instance of LocationObjectData |
|
LocationObjectData(java.lang.String name,
boolean visible,
LocationObjectData.XAlignment xalign,
LocationObjectData.YAlignment yalign)
Create a new instance of LocationObjectData |
|
LocationObjectData(java.lang.String name,
boolean visible,
LocationObjectData.XAlignment xalign,
LocationObjectData.YAlignment yalign,
int x,
int y)
Create a new instance of LocationObjectData |
|
LocationObjectData(java.lang.String name,
LocationObjectData.XAlignment xalign,
LocationObjectData.YAlignment yalign)
Create a new instance of LocationObjectData |
|
LocationObjectData(java.lang.String name,
LocationObjectData.XAlignment xalign,
LocationObjectData.YAlignment yalign,
int x,
int y)
Create a new instance of LocationObjectData |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
|
boolean |
getVisible()
|
int |
getX()
|
LocationObjectData.XAlignment |
getXalign()
|
int |
getY()
|
LocationObjectData.YAlignment |
getYalign()
|
void |
setName(java.lang.String name)
|
void |
setVisible(boolean visible)
|
void |
setX(int x)
|
void |
setXalign(LocationObjectData.XAlignment xalign)
|
void |
setY(int y)
|
void |
setYalign(LocationObjectData.YAlignment yalign)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final LocationObjectData.XAlignment DEFAULT_X_ALIGN
DEFAULT_X_ALIGN=XAlignment.FIXED
public static final LocationObjectData.YAlignment DEFAULT_Y_ALIGN
DEFAULT_Y_ALIGN=YAlignment.FIXED
public static final boolean DEFAULT_VISIBLE
boolean DEFAULT_VISIBLE=true
| Constructor Detail |
|---|
public LocationObjectData(java.lang.String name)
name - The name of the object.
public LocationObjectData(java.lang.String name,
boolean visible)
name - The name of the object.visible - Whether the object is visible.
public LocationObjectData(java.lang.String name,
LocationObjectData.XAlignment xalign,
LocationObjectData.YAlignment yalign)
name - The name of the object.xalign - The x alignment of the object.yalign - The y alignment of the object.
public LocationObjectData(java.lang.String name,
LocationObjectData.XAlignment xalign,
LocationObjectData.YAlignment yalign,
int x,
int y)
name - The name of the object.xalign - The x alignment of the object.yalign - The y alignment of the object.x - The actual x location of the object.y - The actual y location of the object.
public LocationObjectData(java.lang.String name,
boolean visible,
LocationObjectData.XAlignment xalign,
LocationObjectData.YAlignment yalign)
name - The name of the object.visible - Whether the object is visible.xalign - The x alignment of the object.yalign - The y alignment of the object.
public LocationObjectData(java.lang.String name,
boolean visible,
LocationObjectData.XAlignment xalign,
LocationObjectData.YAlignment yalign,
int x,
int y)
name - The name of the object.visible - Whether the object is visible.xalign - The x alignment of the object.yalign - The y alignment of the object.x - The actual x location of the object.y - The actual y location of the object.| Method Detail |
|---|
public LocationObjectData.XAlignment getXalign()
public void setXalign(LocationObjectData.XAlignment xalign)
xalign - The x alignment of the object.public LocationObjectData.YAlignment getYalign()
public void setYalign(LocationObjectData.YAlignment yalign)
yalign - The y alignment of the object.public int getY()
public void setY(int y)
y - The actual y location of the object.public int getX()
public void setX(int x)
x - The actual x location of the object.public java.lang.String getName()
public void setName(java.lang.String name)
name - The name of the object.public boolean getVisible()
public void setVisible(boolean visible)
visible - True if the object is visible.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||