|
OGS Java API Spec | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An object that can be attached to another object. While attached, a attachable may modify the object that it is attached to. These modifications should be reversible if and when the attachable is detached from the object.
Method Summary | |
boolean |
attachObject(Object object)
Attach this attachable to an object. |
boolean |
detachObject()
Detach this attachable from an object. |
Object |
getObject()
Determine the object that this attachable is currently attached to. |
Method Detail |
public boolean attachObject(Object object)
object
- Object to attach this attachable to.
public boolean detachObject()
public Object getObject()
|
OGS Java API Spec | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |