|
OGS Java API Spec | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--ogs.support.Object
|
+--ogs.core.Feature
|
+--ogs.core.details.Description
A detail that describes some aspect of an object. Predefined aspects include personality, appearance, and background. These aspects are not validated in any way; user-defined aspects can also be substituted.
| Field Summary | |
static int |
APPEARANCE
A description of appearance. |
static int |
BACKGROUND
A description of background. |
static int |
NAME
A name. |
static int |
PERSONALITY
A description of personality. |
| Fields inherited from class ogs.support.Object |
listeners |
| Constructor Summary | |
Description(int aspect)
Create a new description. |
|
Description(int aspect,
String text)
Create a new description. |
|
| Method Summary | |
int |
getAspect()
Determine the aspect of this description. |
String |
getText()
Determine the text of this description. |
void |
setText(String text)
Change the text of this description. |
| Methods inherited from class ogs.core.Feature |
attachObject, canAttach, canDetach, detachObject, getObject |
| Methods inherited from class ogs.support.Object |
addListener, handleEvent, notifyListeners, removeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int NAME
public static final int PERSONALITY
public static final int APPEARANCE
public static final int BACKGROUND
| Constructor Detail |
public Description(int aspect)
aspect - Aspect of description (NAME, PERSONALITY, etc,).
public Description(int aspect,
String text)
aspect - Aspect of description (NAME, PERSONALITY, etc,).text - Text of description.| Method Detail |
public int getAspect()
public String getText()
public void setText(String text)
text - Text of description.
|
OGS Java API Spec | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||