JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.util.value
Class ObjectValueModel

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

public class ObjectValueModel
extends AbstractValueModel

Value model for Objects.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.klg.jclass.util.value.AbstractValueModel
listeners, value
 
Constructor Summary
ObjectValueModel()
          Constructs a value model for Objects with null initial value.
ObjectValueModel(Object value)
          Constructs a value model for Objects with the given initial value.
 
Method Summary
 Class getValueClass()
          Returns the type of the core value, in this case any Object.
 
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
 

Constructor Detail

ObjectValueModel

public ObjectValueModel()
Constructs a value model for Objects with null initial value.


ObjectValueModel

public ObjectValueModel(Object value)
Constructs a value model for Objects with the given initial value.

Method Detail

getValueClass

public Class getValueClass()
Returns the type of the core value, in this case any Object.

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

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