|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Method Summary | |
void |
accept(UiVisitor visitor)
Accept a UiVisitor. |
void |
childChanged()
Called by a child object if something in it or below it changes |
boolean |
equals(java.lang.Object o)
Based on the uid |
java.io.Serializable |
getInterfaceIdentifier()
Produces an object that uniquely identifies this interface; this identifier remains the same across sessions and is based on the structure of the interface. |
java.lang.String |
getTextLabel()
Get the text label for the object |
SuppleType |
getType()
Returns the Supple type of this object |
int |
getUniqueId()
Returns a unique id of this instantiation. |
RenderedView |
getView()
Returns the view that shows this UI object; usuall only the root knows directly abou the view so this object may need to ask up the hierarchy to get the information |
int |
hashCode()
Based on the uid |
boolean |
hasTextLabel()
Lets you check if the object has a meaningful text label |
boolean |
isActive()
UiObjects (well, really StateVars and UiActions) can become inactive if some preconditions are not satisfied (e.g., you cannot execute an action, if it's parameters are not set). |
boolean |
isLeaf()
A convenience method -- returns true if the corresponding type has no children (state vars or actions) |
boolean |
isModifiable()
|
boolean |
isRuntime()
Runtime objects are created on the fly to represent dynamic data objects -- they are unlikely to appear in other instances of the UI; their names are instance-specific |
void |
setActive(boolean a)
Lets you manually set the active state of a UiObject. |
void |
setRuntime(boolean r)
|
void |
setView(RenderedView view)
Tells this object what view shows it -- should only be called by RenderedView objects themselves |
java.lang.String |
toPrettyString(java.lang.String pref)
|
java.lang.String |
toString()
|
| Methods inherited from interface edu.washington.cs.supple.rep.SuppleUiObjectHierarchyElement |
getAncestors, getFullName, getName, getParent, getParentObject, getRootObject, isChildOf, isDescendantOf, isRoot, setName, setParent |
| Methods inherited from interface edu.washington.cs.supple.rep.SuppleBean |
addPropertyChangeListener, removePropertyChangeListener |
| Methods inherited from interface java.beans.PropertyChangeListener |
propertyChange |
| Methods inherited from interface edu.washington.cs.supple.rep.ConstraintManipulation |
addRenderingConstraint, addRenderingHint, getRenderingConstraints, getRenderingHints |
| Method Detail |
public boolean isActive()
public void setActive(boolean a)
a - public SuppleType getType()
public RenderedView getView()
public void setView(RenderedView view)
view - the view that shows this objectpublic boolean isLeaf()
public java.lang.String getTextLabel()
public boolean hasTextLabel()
public java.io.Serializable getInterfaceIdentifier()
public boolean isRuntime()
public void setRuntime(boolean r)
public boolean isModifiable()
public int hashCode()
Object.hashCode()public boolean equals(java.lang.Object o)
Object.equals(java.lang.Object)public void childChanged()
public int getUniqueId()
public void accept(UiVisitor visitor)
public java.lang.String toString()
public java.lang.String toPrettyString(java.lang.String pref)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||