org.archiviststoolkit.mydomain
Class ResourceTableWorkSurface
java.lang.Object
org.archiviststoolkit.mydomain.DomainTableWorkSurface
org.archiviststoolkit.mydomain.ResourceTableWorkSurface
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.awt.event.MouseListener, java.util.EventListener, WorkSurface
public class ResourceTableWorkSurface
- extends DomainTableWorkSurface
Fields inherited from class org.archiviststoolkit.mydomain.DomainTableWorkSurface |
access, clazz, currentDomainObject, currentObjectSublist, currentRecordLock, dialog, eventListener, filterField, humanReadableSearchString, resultSet, resultSizeDisplay, rootComponent, scrollPane, selectedRow, showConfirmDialog, table |
Methods inherited from class org.archiviststoolkit.mydomain.DomainTableWorkSurface |
actionPerformed, addRecordLock, addToResultSet, clearCurrentRecordLock, closeLongSessionForPrinting, exportDublinCore, exportEAD, exportMARC, exportMETS, exportMODS, getClazz, getClazzForReport, getComponent, getCurrentDomainObject, getCurrentDomainObjectFromDatabase, getDomainEditor, getIcon, getName, getNewAction, getResultSet, getResultSetForPrinting, getSelectedRow, getSelectedRowCount, getTable, getTableFormat, getTooltip, init, merge, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, onDelete, onFindAll, onInsert, onRemoveGroup, onSearch, onUpdate, setCurrentDomainObject, setSelectedRow, updateColumns |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceTableWorkSurface
public ResourceTableWorkSurface(java.lang.Class clazz,
java.lang.String name,
javax.swing.Icon icon,
DomainTableFormat tableFormat)
- Constructor.
- Parameters:
clazz
- the domain model classname
- the name of this worksurfaceicon
- the icon of this worksurfacetableFormat
- the table format to use for the domain table
ResourceTableWorkSurface
public ResourceTableWorkSurface(java.lang.Class clazz,
java.lang.String name,
javax.swing.Icon icon)
- Constructor.
- Parameters:
clazz
- the domain model classname
- the name of this worksurfaceicon
- the icon of this worksurface
updateListWithNewResultSet
protected void updateListWithNewResultSet(java.util.Collection newResultSet)
- Overrides:
updateListWithNewResultSet
in class DomainTableWorkSurface
getCurrentDomainObjectFromDatabase
protected void getCurrentDomainObjectFromDatabase(DomainObject domainObject)
throws LookupException
- Overrides:
getCurrentDomainObjectFromDatabase
in class DomainTableWorkSurface
- Throws:
LookupException
setSublistWithCurrentDomainObject
protected void setSublistWithCurrentDomainObject()
- Overrides:
setSublistWithCurrentDomainObject
in class DomainTableWorkSurface
setFilteredListWithCurrentDomainObject
protected void setFilteredListWithCurrentDomainObject()
- Overrides:
setFilteredListWithCurrentDomainObject
in class DomainTableWorkSurface
updateRowCount
protected void updateRowCount()
- Overrides:
updateRowCount
in class DomainTableWorkSurface