butler.client.record
Class DDualListRecordSelector

java.lang.Object
  extended by butler.client.record.DRecordSelector
      extended by butler.client.record.DDualListRecordSelector

public class DDualListRecordSelector
extends DRecordSelector

Selector that uses a dual list for selecting records. Every record in the table will be selectable in the lis.

Author:
Fredrik Bertilsson

Field Summary
 
Fields inherited from class butler.client.record.DRecordSelector
_multipleMode, _query, _table
 
Constructor Summary
DDualListRecordSelector()
           
DDualListRecordSelector(Column col)
           
DDualListRecordSelector(Table tab)
          Constructs a dual list selector for the given table.
DDualListRecordSelector(Table tab, Column col)
          Construcs a dual list selector for the given table, showing the value of the given column.
 
Method Summary
 RecordComparator getComparator()
           
 RecordFormatter getFormatter()
           
 void setFormatter(RecordFormatter formatter)
          Sets the formatter to be used.
 
Methods inherited from class butler.client.record.DRecordSelector
getCaption, getQuery, getTable, isEnabled, isMultipleMode, isNewMode, parse, setDatatype, setEnabled, setMultipleMode, setNewMode, setTable, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDualListRecordSelector

public DDualListRecordSelector(Table tab)
Constructs a dual list selector for the given table.


DDualListRecordSelector

public DDualListRecordSelector(Column col)

DDualListRecordSelector

public DDualListRecordSelector()

DDualListRecordSelector

public DDualListRecordSelector(Table tab,
                               Column col)
Construcs a dual list selector for the given table, showing the value of the given column.

Method Detail

getFormatter

public RecordFormatter getFormatter()

setFormatter

public void setFormatter(RecordFormatter formatter)
Sets the formatter to be used. The formatter will control how the record will be displayed in the combo. This method can be used if a customized display of the record is needed.


getComparator

public RecordComparator getComparator()