|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.archiviststoolkit.mydomain.DomainEditorFactory
public final class DomainEditorFactory
A singleton in which we store the dialogs associated with a specific model.
Method Summary | |
---|---|
void |
createDomainEditors()
|
DomainEditor |
createDomainEditorWithParent(java.lang.Class clazz,
javax.swing.JDialog parent,
boolean useParentAsEventListener)
|
DomainEditor |
createDomainEditorWithParent(java.lang.Class clazz,
javax.swing.JDialog parent,
javax.swing.JTable callingTable)
|
DomainEditor |
createDomainEditorWithParent(java.lang.Class clazz,
javax.swing.JDialog parent,
javax.swing.JTable callingTable,
boolean useParentAsEventListener)
|
DomainEditor |
createDomainEditorWithParent(java.lang.Class clazz,
javax.swing.JDialog parent,
javax.swing.JTable callingTable,
DomainObject callingDomainModel)
|
DomainEditor |
getDialog(java.lang.Class clazz)
Get an editor associated with a class. |
DomainEditor |
getDialog(java.lang.Class clazz,
javax.swing.JDialog parent)
Get an editor associated with a class. |
DomainEditor |
getDialog(java.lang.Class clazz,
javax.swing.JDialog parent,
javax.swing.JTable callingTable)
Get an editor associated with a class. |
DomainEditor |
getDialog(java.lang.Class clazz,
javax.swing.JTable callingTable)
Get an editor associated with a class. |
DomainEditor |
getDialog(java.lang.Class clazz,
javax.swing.JTable callingTable,
DomainObject callingDomainModel)
Get an editor associated with a class. |
static DomainEditorFactory |
getInstance()
Singleton access method. |
QueryEditor |
getSearchDialog(java.lang.Class clazz)
Get an editor associated with a class. |
void |
putSearchDialog(java.lang.Class clazz,
javax.swing.JFrame parent)
Place a editor into the cache. |
void |
updateDomainEditors()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DomainEditorFactory getInstance()
public DomainEditor getDialog(java.lang.Class clazz)
clazz
- the class of a specific model
public DomainEditor getDialog(java.lang.Class clazz, javax.swing.JDialog parent) throws UnsupportedDomainEditorException, DomainEditorCreationException
clazz
- the class of a specific model
UnsupportedDomainEditorException
DomainEditorCreationException
public DomainEditor getDialog(java.lang.Class clazz, javax.swing.JTable callingTable)
clazz
- the class of a specific model
public DomainEditor getDialog(java.lang.Class clazz, javax.swing.JDialog parent, javax.swing.JTable callingTable) throws UnsupportedDomainEditorException, DomainEditorCreationException
clazz
- the class of a specific model
UnsupportedDomainEditorException
DomainEditorCreationException
public DomainEditor getDialog(java.lang.Class clazz, javax.swing.JTable callingTable, DomainObject callingDomainModel)
clazz
- the class of a specific model
public QueryEditor getSearchDialog(java.lang.Class clazz)
clazz
- the class of a specific model
public void putSearchDialog(java.lang.Class clazz, javax.swing.JFrame parent)
clazz
- the class to associateparent
- the parent framepublic DomainEditor createDomainEditorWithParent(java.lang.Class clazz, javax.swing.JDialog parent, javax.swing.JTable callingTable) throws DomainEditorCreationException
DomainEditorCreationException
public DomainEditor createDomainEditorWithParent(java.lang.Class clazz, javax.swing.JDialog parent, javax.swing.JTable callingTable, boolean useParentAsEventListener) throws DomainEditorCreationException
DomainEditorCreationException
public DomainEditor createDomainEditorWithParent(java.lang.Class clazz, javax.swing.JDialog parent, javax.swing.JTable callingTable, DomainObject callingDomainModel) throws DomainEditorCreationException
DomainEditorCreationException
public DomainEditor createDomainEditorWithParent(java.lang.Class clazz, javax.swing.JDialog parent, boolean useParentAsEventListener) throws DomainEditorCreationException
DomainEditorCreationException
public void createDomainEditors()
public void updateDomainEditors()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |