jxUtil 0.6

org.sourceforge.jxutil.dbtest.framework
Class LabeledObject

java.lang.Object
  |
  +--org.sourceforge.jxutil.dbtest.framework.LabeledObject

public final class LabeledObject
extends Object

A representation of an object with a corresponding label. Used internally for display with the LabeledObjectRenderer.


Field Summary
private  String label
           
private  Object object
           
 
Constructor Summary
LabeledObject(String label, Object object)
           
 
Method Summary
 String getLabel()
           
 Object getObject()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

label

private final String label

object

private final Object object
Constructor Detail

LabeledObject

public LabeledObject(String label,
                     Object object)
Method Detail

getLabel

public String getLabel()

getObject

public Object getObject()

toString

public String toString()
Overrides:
toString in class Object

jxUtil 0.6

Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.