com.tirsen.angkor.widget
Class ReadOnlyValueModel

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

public class ReadOnlyValueModel
extends BasicValueModel

A value model with a value that can not be modified, useful for creating dynamic content by creating an anonymous class overriding the getValue-method.

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

Constructor Summary
ReadOnlyValueModel()
           
ReadOnlyValueModel(java.lang.Object value)
           
 
Method Summary
 boolean isReadOnly()
           
 
Methods inherited from class com.tirsen.angkor.widget.BasicValueModel
getPropertyEditor, getValue, getValueClass, setValue
 
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

ReadOnlyValueModel

public ReadOnlyValueModel(java.lang.Object value)

ReadOnlyValueModel

public ReadOnlyValueModel()
Method Detail

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in interface ValueModel
Overrides:
isReadOnly in class BasicValueModel


Copyright © 2002-2002 . All Rights Reserved.