public class OpenLayoutDialog
extends java.lang.Object
implements java.awt.event.ActionListener
Constructor and Description |
---|
OpenLayoutDialog(javax.swing.JFrame parent,
HomerMenu menu)
Create a new instance of the open layout dialog.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
Process action event on choose model and layout buttons.
|
java.io.File |
getLayoutFile()
Return the layout file.
|
java.io.File |
getModelFile()
Return the model file.
|
java.lang.Object |
showDialog()
Shows the open layout dialog.
|
public OpenLayoutDialog(javax.swing.JFrame parent, HomerMenu menu)
parent
- The parent of the dialog.menu
- The homer menu invoking it.public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
event
- the event object.ActionListener.actionPerformed(java.awt.event.ActionEvent)
public java.lang.Object showDialog()
public java.io.File getModelFile()
public java.io.File getLayoutFile()