uk.ac.kcl.cch.jb.pliny.views.utils
Class ResourceExplorerSurrogateItem
java.lang.Object
uk.ac.kcl.cch.jb.pliny.views.utils.ResourceExplorerItemBase
uk.ac.kcl.cch.jb.pliny.views.utils.ResourceExplorerNamedModelItem
uk.ac.kcl.cch.jb.pliny.views.utils.ResourceExplorerResourceItem
uk.ac.kcl.cch.jb.pliny.views.utils.ResourceExplorerSurrogateItem
- All Implemented Interfaces:
- EventListener, IResourceExplorerItem, PropertyChangeListener
- public class ResourceExplorerSurrogateItem
- extends ResourceExplorerResourceItem
the Resource Explorer's model element for data that appears in
a Resource's reference/annotation area.
- Author:
- John Bradley
Method Summary |
Object |
getAssociatedObject()
returns the Pliny model object associated with this item. |
int |
getPageNumber()
return the page number data associated with the Pliny model
object associated wtih this item. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceExplorerSurrogateItem
public ResourceExplorerSurrogateItem(IResourceTreeView myView,
IResourceExplorerItem parent,
LinkableObject linkableObject)
getAssociatedObject
public Object getAssociatedObject()
- Description copied from interface:
IResourceExplorerItem
- returns the Pliny model object associated with this item. Return
null
if there is not Pliny model object.
- Specified by:
getAssociatedObject
in interface IResourceExplorerItem
- Overrides:
getAssociatedObject
in class ResourceExplorerItemBase
getPageNumber
public int getPageNumber()
- Description copied from interface:
IResourceExplorerItem
- return the page number data associated with the Pliny model
object associated wtih this item. Return 0 if there is no associated
page number.
- Specified by:
getPageNumber
in interface IResourceExplorerItem
- Overrides:
getPageNumber
in class ResourceExplorerItemBase