butler.swing.record
Class RecordWrapper

java.lang.Object
  extended by butler.swing.record.RecordWrapper

public class RecordWrapper
extends java.lang.Object

Wrapps a Record object and adds toString- method to be used by swing components.

Author:
Fredrik Bertilsson

Constructor Summary
RecordWrapper(Column col)
           
RecordWrapper(Record rec)
           
RecordWrapper(Record rec, Column col)
           
RecordWrapper(Record rec, RecordFormatter formatter)
           
 
Method Summary
 boolean equals(RecordWrapper other)
           
 Record getRecord()
           
 void setRecord(Record rec)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RecordWrapper

public RecordWrapper(Record rec)

RecordWrapper

public RecordWrapper(Column col)

RecordWrapper

public RecordWrapper(Record rec,
                     Column col)

RecordWrapper

public RecordWrapper(Record rec,
                     RecordFormatter formatter)
Method Detail

setRecord

public void setRecord(Record rec)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getRecord

public Record getRecord()

equals

public boolean equals(RecordWrapper other)