public class DefaultAboutAction extends AbstractAboutAction
| Modifier and Type | Field and Description |
|---|---|
protected javax.swing.JPanel |
aboutPanel
The Settings panel.
|
app, appDesc| Constructor and Description |
|---|
DefaultAboutAction(GUIApplication app,
java.lang.String name)
Constructor.
|
DefaultAboutAction(GUIApplication app,
java.lang.String name,
boolean modal)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
javax.swing.JComponent |
getAboutComponent()
Return the component associated with the About.
|
java.awt.Dimension |
getDimension()
Return the settings dimension.
|
void |
initialize()
Initialize the settings menu, after all components have been added.
|
void |
setApplication(GUIApplication appli)
Set the application.
|
void |
setDimension(java.awt.Dimension dim)
Set the settings dimension.
|
void |
showAbout()
Show the About panel.
|
getApplicationDescaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic DefaultAboutAction(GUIApplication app, java.lang.String name)
app - the Applicationname - the name of the Actionpublic DefaultAboutAction(GUIApplication app, java.lang.String name, boolean modal)
app - the Applicationname - the name of the Actionmodal - true if the dialog is modalpublic void setApplication(GUIApplication appli)
appli - the applicationpublic void initialize()
public javax.swing.JComponent getAboutComponent()
public void setDimension(java.awt.Dimension dim)
dim - the dimensionpublic java.awt.Dimension getDimension()
public void showAbout()
showAbout in interface MDIAboutshowAbout in class AbstractAboutActionpublic void actionPerformed(java.awt.event.ActionEvent e)