butler.swing.record
Class RecordLookup
java.lang.Object
butler.swing.record.RecordSelector.BaseImpl
butler.swing.record.RecordLookup
- All Implemented Interfaces:
- RecordSelectionListener, RecordSelector, java.util.EventListener
public class RecordLookup
- extends RecordSelector.BaseImpl
- implements RecordSelectionListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecordLookup
public RecordLookup(DRecordLookup desc)
throws java.lang.Exception
- Throws:
java.lang.Exception
clear
public void clear()
throws java.lang.Exception
- Specified by:
clear
in interface RecordSelector
- Overrides:
clear
in class RecordSelector.BaseImpl
- Throws:
java.lang.Exception
getSelectionDialog
public javax.swing.JDialog getSelectionDialog()
getColumns
public java.util.List getColumns()
throws java.lang.Exception
- Throws:
java.lang.Exception
init
public void init(DRecordLookup desc)
throws java.lang.Exception
- Throws:
java.lang.Exception
fireShowButton
public void fireShowButton()
getSelectedRecord
public Record getSelectedRecord()
throws java.lang.Exception
- Specified by:
getSelectedRecord
in interface RecordSelector
- Throws:
java.lang.Exception
getSelectedRecords
public RecordList getSelectedRecords()
throws java.lang.Exception
- Specified by:
getSelectedRecords
in interface RecordSelector
- Throws:
java.lang.Exception
getComponent
public javax.swing.JComponent getComponent()
throws java.lang.Exception
- Specified by:
getComponent
in interface RecordSelector
- Throws:
java.lang.Exception
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
setValue
public void setValue(java.lang.Object value)
throws java.lang.Exception
- Throws:
java.lang.Exception
setDefaultValue
public void setDefaultValue(Column col,
java.lang.Object value)
throws java.lang.Exception
- Overrides:
setDefaultValue
in class RecordSelector.BaseImpl
- Throws:
java.lang.Exception
getValue
public java.lang.Object getValue()
throws java.lang.Exception
- Throws:
java.lang.Exception
getCaption
public java.lang.String getCaption()
throws java.lang.Exception
- Throws:
java.lang.Exception
addChangeListener
public void addChangeListener(javax.swing.event.ChangeListener listener)
- Specified by:
addChangeListener
in interface RecordSelector
- Overrides:
addChangeListener
in class RecordSelector.BaseImpl
setDatatype
public void setDatatype(Column col,
Datatype datatype)
throws java.lang.Exception
- Overrides:
setDatatype
in class RecordSelector.BaseImpl
- Throws:
java.lang.Exception
getValueEditor
public ValueEditor getValueEditor()
setEnabled
public void setEnabled(boolean flag)
- Specified by:
setEnabled
in interface RecordSelector
- Overrides:
setEnabled
in class RecordSelector.BaseImpl