Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.atomikos.swing
Class PropertiesPanel

    java.lang.Object
      com.atomikos.swing.PropertiesPanel

All Implemented Interfaces:
  ActionListener, EventListener

    public class PropertiesPanel

extends Object
implements ActionListener

A Properties Panel is a GUI tool component for displaying a table of properties, and provides for creation, deletion and editing of such properties.

Constructor Summary
`PropertiesPanel(PropertiesTableModel model)` Creates a new instance.
`PropertiesPanel(PropertiesTableModel model, boolean readonly)` Creates a new instance.

Method Summary
`void` | `actionPerformed(ActionEvent e)`
`void` | `addPropertyListener(PropertyListener l)` Adds a property listener.
`JPanel` | `getPanel()` Gets the actual Swing panel.
`void` | `removePropertyListener(PropertyListener l)` Removes the given property listener.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PropertiesPanel

    public PropertiesPanel(PropertiesTableModel model)

  Creates a new instance.

  Parameters:
    `model` - The PropertiesTableModel to use.

### PropertiesPanel

    public PropertiesPanel(PropertiesTableModel model,
                           boolean readonly)

  Creates a new instance.

  Parameters:
    `model` - The PropertiesTableModel to use.
    `readonly` - If true, then there will be no new or delete buttons, and the edit button will be a view button.

Method Detail

### actionPerformed

    public void actionPerformed(ActionEvent e)

  Specified by:
    `actionPerformed` in interface `ActionListener`
  See Also:
    `ActionListener`

### addPropertyListener

    public void addPropertyListener(PropertyListener l)

  Adds a property listener.

  Parameters:
    `l` - The listener to add.

### removePropertyListener

    public void removePropertyListener(PropertyListener l)

  Removes the given property listener.

  Parameters:
    `l` - The listener to remove.

### getPanel

    public JPanel getPanel()

  Gets the actual Swing panel.

  Returns:
    JPanel The panel.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012. All Rights Reserved.