|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface describes the methods that need to be implemented, when an object is to be represented in a view. These methods perform such operations as setting and getting the hidden status, iconified status and location of the object in the view.
Method Summary | |
ViewObject |
getIcon()
Returns the icon associated with this ViewObject , if one
exists and null otherwise. |
View.Location |
getLocation()
Returns the View.Location of this object. |
ModelObject |
getModelObject()
Returns the model-side object which this ViewObject
represents. |
boolean |
isHidden()
Returns whether this object is hidden. |
boolean |
isHighlighted()
Returns true iff this object is currently highlighted |
boolean |
isIconified()
Returns whether this view element is iconified or not. |
boolean |
isSelected()
Returns whether this object is selected or not. |
void |
setHidden(boolean hide)
Sets whether this object is hidden. |
void |
setHighlighted(boolean highlight)
Sets whether this object is highlighted |
void |
setIconified(ViewObject icon)
Sets whether this view element is to be iconified or not. |
void |
setSelected(boolean select)
Sets whether this object is selected. |
Methods inherited from interface OME.OMEObject |
addLink,
getComment,
getID,
getLinks,
getModel,
getName,
getType,
setComment,
setID,
setName,
setType |
Method Detail |
public boolean isHidden()
public void setHidden(boolean hide)
hide
- the boolean value that indicates whether this object should be
hidden or not.public void setIconified(ViewObject icon)
icon
- the ViewObject that is our iconification. Passing null
de-iconifies the object.public boolean isIconified()
public ViewObject getIcon()
ViewObject
, if one
exists and null otherwise.public ModelObject getModelObject()
ViewObject
represents.public View.Location getLocation()
public boolean isSelected()
public void setSelected(boolean select)
select
- the boolean value that indicates whether this
ViewObject
should be selected or not.public void setHighlighted(boolean highlight)
public boolean isHighlighted()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |