|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectuk.ac.kcl.cch.rdb2java.dynData.PropertyChangeObject
uk.ac.kcl.cch.jb.pliny.model.ReferencerList
the model class that corresponds to the Pliny referencer for
a LinkableObject that can
be displayed in a reference/annotation area. It fetches the set
of Resources that (through the items they display in their
reference/annotation area) contain a reference to the same surrogate
Resource that this LinkableObject refers to.
This class tracks changes in the linked set of {link LinkableObjects}
for this class so that it will be automatically updated if a new
item is added or removed. When this occurs it fires its own event
The creation and management of this class is handled by the
ReferencerManager.
| Field Summary | |
protected org.eclipse.draw2d.geometry.Rectangle |
myBounds
|
protected LinkableObject |
myLinkableObject
|
protected Vector |
myReferencers
|
protected Resource |
myResource
|
static String |
REFBOUNDS_CHANGE
|
static String |
REFLIST_CHANGE
|
| Constructor Summary | |
ReferencerList()
creates an empty instance of this class -- containing no data. |
|
ReferencerList(LinkableObject myLinkableObject)
creates an instance of this class linked to a given LinkableObject
(Reference Object). |
|
| Method Summary | |
void |
dispose()
|
Vector |
getList()
returns the list of Resource objects that also refer to the surrogate for
this object's LinkableObject. |
org.eclipse.draw2d.geometry.Rectangle |
getMyBounds()
|
Resource |
getMyResource()
|
void |
propertyChange(PropertyChangeEvent arg0)
|
void |
setMyBounds(org.eclipse.draw2d.geometry.Rectangle r)
controls the position of the referencer in the 2D reference/anotation space. |
void |
setMySize(org.eclipse.draw2d.geometry.Dimension d)
controls the size of the referencer display in the 2D reference/anotation space. |
| Methods inherited from class uk.ac.kcl.cch.rdb2java.dynData.PropertyChangeObject |
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String REFLIST_CHANGE
public static final String REFBOUNDS_CHANGE
protected Resource myResource
protected LinkableObject myLinkableObject
protected Vector myReferencers
protected org.eclipse.draw2d.geometry.Rectangle myBounds
| Constructor Detail |
public ReferencerList()
public ReferencerList(LinkableObject myLinkableObject)
LinkableObject
(Reference Object).
myLinkableObject - | Method Detail |
public org.eclipse.draw2d.geometry.Rectangle getMyBounds()
public void setMyBounds(org.eclipse.draw2d.geometry.Rectangle r)
r - the position as bounds.public void setMySize(org.eclipse.draw2d.geometry.Dimension d)
d - the position as bounds.public Resource getMyResource()
public void dispose()
public Vector getList()
Resource objects that also refer to the surrogate for
this object's LinkableObject.
public void propertyChange(PropertyChangeEvent arg0)
propertyChange in interface PropertyChangeListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||