org.purl.sword.client
Class PropertiesDialog

java.lang.Object
  extended by org.purl.sword.client.PropertiesDialog

public class PropertiesDialog
extends Object

Dialog that is used to edit the collection of properties.

Author:
Neil Taylor, Suzana Barreto

Nested Class Summary
 class PropertiesDialog.PropertiesModel
          A table model that is used to show the properties.
 
Constructor Summary
PropertiesDialog(JFrame parentFrame, Properties props)
          Create a new instance.
 
Method Summary
protected  JPanel createControls()
          Create the controls that are to be displayed in the system.
 int show()
          Show the dialog and return the status code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesDialog

public PropertiesDialog(JFrame parentFrame,
                        Properties props)
Create a new instance.

Parameters:
parentFrame - The parent frame for the dialog.
props - The properties lisst to display
Method Detail

createControls

protected final JPanel createControls()
Create the controls that are to be displayed in the system.

Returns:
A panel that contains the controls.

show

public int show()
Show the dialog and return the status code.

Returns:
The status code returned from the dialog.


Copyright © 2013 DuraSpace. All Rights Reserved.