ch.elca.el4j.tests.gui.swing
Class ValueHolder<T>

java.lang.Object
  extended by ch.elca.el4j.tests.gui.swing.ValueHolder<T>

public class ValueHolder<T>
extends Object

A class that holds a value.

Author:
Stefan Wismer (SWI)
File-location:
ValueHolder
Last check-in date:
2009-08-04 15:48:31 +0200 (Di, 04. Aug 2009) by swismer for revision 3884

Field Summary
private  T m_value
          The actual value.
 
Constructor Summary
ValueHolder()
           
 
Method Summary
 T getValue()
           
 void setValue(T value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_value

private T m_value
The actual value.

Constructor Detail

ValueHolder

public ValueHolder()
Method Detail

setValue

public void setValue(T value)
Parameters:
value - the actual value to set.

getValue

public T getValue()
Returns:
the actual value


Copyright © 2005-2011 ELCA. All Rights Reserved.