|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.globalmentor.beans.BoundPropertyObject
com.guiseframework.event.GuiseBoundPropertyObject
com.guiseframework.platform.AbstractDepictedObject
public abstract class AbstractDepictedObject
Abstract implementation of an object that can be depicted on some platform.
| Field Summary |
|---|
| Fields inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
NO_PROPERTY_CHANGE_LISTENERS, NO_VETOABLE_CHANGE_LISTENERS |
| Constructor Summary | |
|---|---|
AbstractDepictedObject()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
depict()
Updates the depiction of the object. |
boolean |
equals(java.lang.Object object)
Indicates whether some other object is "equal to" this one. |
Transferable<?> |
exportTransfer()
Exports data from the depicted object. |
long |
getDepictID()
|
Depictor<? extends DepictedObject> |
getDepictor()
|
protected com.globalmentor.event.EventListenerManager |
getEventListenerManager()
|
int |
hashCode()
|
void |
processEvent(PlatformEvent event)
Processes an event from the platform. |
java.lang.String |
toString()
|
| Methods inherited from class com.guiseframework.event.GuiseBoundPropertyObject |
|---|
getSession |
| Methods inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, createPostponedPropertyChangeEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getForwardPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, getPropertyChangeSupport, getRepeatPropertyChangeListener, getRepeatVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, getVetoableChangeSupport, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.guiseframework.platform.DepictedObject |
|---|
getSession |
| Constructor Detail |
|---|
public AbstractDepictedObject()
java.lang.IllegalStateException - if no depictor is registered for this object type.| Method Detail |
|---|
protected com.globalmentor.event.EventListenerManager getEventListenerManager()
public long getDepictID()
getDepictID in interface DepictedObjectpublic Depictor<? extends DepictedObject> getDepictor()
getDepictor in interface DepictedObjectpublic void processEvent(PlatformEvent event)
processEvent in interface DepictedObjectevent - The event to be processed.
java.lang.IllegalArgumentException - if the given event is a relevant DepictEvent with a source of a different depicted object.getDepictor(),
Depictor.processEvent(PlatformEvent)
public void depict()
throws java.io.IOException
depict in interface DepictedObjectjava.io.IOException - if there is an error updating the depiction.getDepictor(),
Depictor.depict()public Transferable<?> exportTransfer()
null.
Each export strategy, from last to first added, will be asked to export data, until one is successful.
exportTransfer in interface DepictedObjectnull if no data can be transferred.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectobject - The reference object with which to compare.
true if this object is equivalent to the given object.public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||