|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.aitools.iv.graphdrawing.misc.ConfigurationDialog
public class ConfigurationDialog
implements a dialog that deals with ConfigurationPanel
s.
It mainly consists of a JTabbedPane
and four JButton
s: Ok, Apply, Preview and Cancel.
Field Summary | |
---|---|
static java.lang.String |
APPLY
|
static java.lang.String |
CANCEL
|
static java.lang.String |
OK
|
static java.lang.String |
PREVIEW
|
Constructor Summary | |
---|---|
ConfigurationDialog()
creates a dialog dealing with PreferencePanel 's . |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae)
this method is visible, as an implementation side-effect. |
void |
add(ConfigurationPanel pp)
adds a PreferencesPanel to this dialog |
void |
dispose()
dispose |
void |
pack()
minimize the area, this dialog will use |
void |
removeAll()
removes all PreferencesPanel 's from this dialog |
void |
setLocationRelativeTo(java.awt.Component comp)
centers this dialog over the Component comp |
void |
setTitle(java.lang.String title)
sets the title of this dialog |
void |
setVisible(boolean visible)
show or hide this frame |
void |
stateChanged(javax.swing.event.ChangeEvent ce)
this method is visible as an implementation side effect. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String OK
public static final java.lang.String APPLY
public static final java.lang.String PREVIEW
public static final java.lang.String CANCEL
Constructor Detail |
---|
public ConfigurationDialog()
PreferencePanel
's .
Method Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed
in interface java.awt.event.ActionListener
ActionListener.actionPerformed(java.awt.event.ActionEvent)
public void stateChanged(javax.swing.event.ChangeEvent ce)
stateChanged
in interface javax.swing.event.ChangeListener
public void add(ConfigurationPanel pp)
PreferencesPanel
to this dialog
pp
- the Panel to be addedpublic void removeAll()
PreferencesPanel
's from this dialog
public void setLocationRelativeTo(java.awt.Component comp)
public void setVisible(boolean visible)
public void pack()
public void setTitle(java.lang.String title)
public void dispose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |