public interface Portrayal
Modifier and Type | Method and Description |
---|---|
Inspector |
getInspector(LocationWrapper wrapper,
GUIState state)
Provide an inspector for an object.
|
java.lang.String |
getName(LocationWrapper wrapper)
Returns a static, one-line name for the given object that is useful for a human
to distinguish it from other objects.
|
java.lang.String |
getStatus(LocationWrapper wrapper)
Returns a simple, informative one-line description of the current status of the object,
which may change at any time to reflect how the object is changing.
|
boolean |
setSelected(LocationWrapper wrapper,
boolean selected)
Change the portrayal state to reflect the fact that you've
been selected or not selected.
|
Inspector getInspector(LocationWrapper wrapper, GUIState state)
java.lang.String getName(LocationWrapper wrapper)
java.lang.String getStatus(LocationWrapper wrapper)
boolean setSelected(LocationWrapper wrapper, boolean selected)