com.tirsen.angkor.widget
Class BasicValueModel

java.lang.Object
  |
  +--com.tirsen.angkor.widget.AbstractValueModel
        |
        +--com.tirsen.angkor.widget.BasicValueModel
All Implemented Interfaces:
java.io.Serializable, ValueModel
Direct Known Subclasses:
ReadOnlyValueModel

public class BasicValueModel
extends AbstractValueModel

A simple value model that keeps track of the a value, the type of the value is determined based on the value given when constructed.

Version:
$Revision: 1.3 $
Author:
$Author: tirsen $
See Also:
Serialized Form

Constructor Summary
BasicValueModel()
           
BasicValueModel(java.lang.Object value)
           
 
Method Summary
 java.beans.PropertyEditor getPropertyEditor()
           
 java.lang.Object getValue()
           
 java.lang.Class getValueClass()
           
 boolean isReadOnly()
           
 void setValue(java.lang.Object value)
           
 
Methods inherited from class com.tirsen.angkor.widget.AbstractValueModel
changed, isChanged, resetChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicValueModel

public BasicValueModel(java.lang.Object value)

BasicValueModel

public BasicValueModel()
Method Detail

getValue

public java.lang.Object getValue()

setValue

public void setValue(java.lang.Object value)

isReadOnly

public boolean isReadOnly()

getValueClass

public java.lang.Class getValueClass()

getPropertyEditor

public java.beans.PropertyEditor getPropertyEditor()


Copyright © 2002-2002 . All Rights Reserved.