butler.swing.record
Class RecordEditor
java.lang.Object
butler.swing.record.RecordEditor
- All Implemented Interfaces:
- RecordSelectionListener, java.awt.event.ActionListener, java.util.EventListener
public class RecordEditor
- extends java.lang.Object
- implements RecordSelectionListener, java.awt.event.ActionListener
Component for editing a record.
- Author:
- Fredrik Bertilsson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TABLE_PADDING
public static final int TABLE_PADDING
- See Also:
- Constant Field Values
ROW_PADDING
public static final int ROW_PADDING
- See Also:
- Constant Field Values
RecordEditor
public RecordEditor(Table tab)
throws java.lang.Exception
- Creates a record editor for the given table.
- Throws:
java.lang.Exception
RecordEditor
public RecordEditor(DRecordEditor desc)
throws java.lang.Exception
- Throws:
java.lang.Exception
RecordEditor
public RecordEditor(DRecordEditor desc,
RecordController controller)
throws java.lang.Exception
- Throws:
java.lang.Exception
getComponent
public java.awt.Component getComponent()
- Returns the physical component.
getPanel
public javax.swing.JPanel getPanel()
getController
public RecordController getController()
recordSelected
public void recordSelected(Record rec)
throws java.lang.Exception
- Specified by:
recordSelected
in interface RecordSelectionListener
- Throws:
java.lang.Exception
recordListSelected
public void recordListSelected(RecordList recList)
throws java.lang.Exception
- Specified by:
recordListSelected
in interface RecordSelectionListener
- Throws:
java.lang.Exception
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent event)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener