|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vizzini.ui.ai.logic.PropertyWrapper
public class PropertyWrapper
Provides a wrapper for properties in the logic system. Wrappers are used to provide a proper display string to the user interface.
Constructor Summary | |
---|---|
PropertyWrapper(String propertyName)
Construct this object with the given parameter. |
Method Summary | |
---|---|
int |
compareTo(Object object)
Return -1, 0, or 1 if this is less than, equal to, or greater than the given object. |
boolean |
equals(Object object)
Return true if this equals the given object. |
String |
getPropertyName()
Return the wrapped property name. |
static void |
setPrefix(String prefix)
|
static void |
setSuffix(String suffix)
|
String |
toString()
Return a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertyWrapper(String propertyName)
propertyName
- Property name.Method Detail |
---|
public static void setPrefix(String prefix)
prefix
- Resource prefix to set.public static void setSuffix(String suffix)
suffix
- Resource suffix to set.public int compareTo(Object object)
compareTo
in interface Comparable
object
- Object to compare.public boolean equals(Object object)
equals
in class Object
object
- Object to compare.public String getPropertyName()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |