JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.util.value
Class MutableValueModel

java.lang.Object
  |
  +--com.klg.jclass.util.value.AbstractValueModel
        |
        +--com.klg.jclass.util.value.MutableValueModel
All Implemented Interfaces:
JCValueModel, Serializable

public class MutableValueModel
extends AbstractValueModel

Generic Value model that is configurable to any class

See Also:
Serialized Form

Field Summary
protected  Class c
           
 
Fields inherited from class com.klg.jclass.util.value.AbstractValueModel
listeners, value
 
Constructor Summary
MutableValueModel()
          Empty constructor.
MutableValueModel(Class c, Object value)
           
 
Method Summary
 Class getValueClass()
          Returns the type of the core value, by default an Object.
 void setValueClass(Class c)
          Sets the type of the core value
 
Methods inherited from class com.klg.jclass.util.value.AbstractValueModel
addValueListener, getValue, removeValueListener, setValue, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

c

protected Class c
Constructor Detail

MutableValueModel

public MutableValueModel()
Empty constructor. Must be followed immediately by a call to setValueClass()

See Also:
setValueClass(java.lang.Class)

MutableValueModel

public MutableValueModel(Class c,
                         Object value)
Method Detail

getValueClass

public Class getValueClass()
Returns the type of the core value, by default an Object.

Specified by:
getValueClass in interface JCValueModel
Specified by:
getValueClass in class AbstractValueModel
Returns:
The class of the value for this value model

setValueClass

public void setValueClass(Class c)
Sets the type of the core value


Copyright © 2004 Quest Software Inc..
All rights reserved.