|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atomikos.swing.PropertiesPanel
public class PropertiesPanel
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 |
---|
public PropertiesPanel(PropertiesTableModel model)
model
- The PropertiesTableModel to use.public PropertiesPanel(PropertiesTableModel model, boolean readonly)
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 |
---|
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
ActionListener
public void addPropertyListener(PropertyListener l)
l
- The listener to add.public void removePropertyListener(PropertyListener l)
l
- The listener to remove.public JPanel getPanel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |