Overview  Package   Class  Tree  Index 

be.lassi.ui.main
Class ShowFileDialog

java.lang.Object
  extended by be.lassi.ui.main.ShowFileDialog

public class ShowFileDialog
extends java.lang.Object

Dialog to ask user for show file name.


Constructor Summary
ShowFileDialog()
          Constructs a new instance.
ShowFileDialog(java.awt.Component parent)
          Constructs a new instance.
 
Method Summary
 java.io.File open()
          Gets show file to open.
 java.io.File open(java.lang.String filename)
          Gets show file to open.
 java.io.File save()
          Gets file to save show in.
 java.io.File save(java.lang.String filename)
          Gets file to save show in.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShowFileDialog

public ShowFileDialog()
Constructs a new instance.


ShowFileDialog

public ShowFileDialog(java.awt.Component parent)
Constructs a new instance.

Parameters:
parent - the parent component (used for positioning the dialog on the screen).
Method Detail

open

public java.io.File open()
Gets show file to open.

Returns:
the show file, null if no file selected

open

public java.io.File open(java.lang.String filename)
Gets show file to open.

Parameters:
filename - the default filename
Returns:
the show file, null if no file selected

save

public java.io.File save()
Gets file to save show in.

Returns:
the show file, null if no file selected

save

public java.io.File save(java.lang.String filename)
Gets file to save show in.

Parameters:
filename - the default filename
Returns:
the show file, null if no file selected

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2