|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Window | +--java.awt.Dialog | +--javax.swing.JDialog | +--elge.gui.PoolConfigurer
This dialog is responsible for configuring the class pools.
The dialog uses the ClassPool
object,
which should be firtly configured to have some values, and for this
is the dialog.
The dialog support two configurations, firtly you can add a classes that are subclasses of the main class for the pool, and for each class you can configure a template.
The templates can be then used as predefined instances.
Field Summary | |
protected ClassPool |
cp
The ClassPool to configure |
protected elge.gui.ClassPoolTableModel |
cptm
The model that is for displaying the ClassPool config. |
protected elge.gui.TemplatePoolTableModel |
tptm
The model for templates. |
Fields inherited from class javax.swing.JDialog |
accessibleContext, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
PoolConfigurer(Frame parent,
ClassPool cls)
Creates new instance of the configurer. |
Method Summary | |
void |
refreshTemplateTable()
Refreshes the view of template table. |
void |
tableChanged(TableModelEvent e)
This fine grain notification tells listeners the exact range of cells, rows, or columns that changed. |
void |
valueChanged(ListSelectionEvent e)
Called whenever the value of the selection changes. |
Methods inherited from class java.awt.Dialog |
addNotify, dispose, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected ClassPool cp
protected elge.gui.ClassPoolTableModel cptm
protected elge.gui.TemplatePoolTableModel tptm
Constructor Detail |
public PoolConfigurer(Frame parent, ClassPool cls)
parent
- the parentcls
- the ClassPool to configureClassPool
Method Detail |
public void refreshTemplateTable()
public void tableChanged(TableModelEvent e)
tableChanged
in interface TableModelListener
e
- the event objectpublic void valueChanged(ListSelectionEvent e)
valueChanged
in interface ListSelectionListener
e
- the event that characterizes the change.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |