java.lang.Object
samples.swing.readonly.ReadOnlyModel
- All Implemented Interfaces:
- org.scopemvc.model.beans.DynamicReadOnly
- public class ReadOnlyModel
- extends java.lang.Object
- implements org.scopemvc.model.beans.DynamicReadOnly
Same as the HelloWorld model except that we implement
org.scopemvc.model.beans.DynamicReadOnly to allow the
name property to be marked read-only or writable.
- Version:
- $Revision: 1.2 $ $Date: 2002/01/12 09:35:42 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
private java.lang.String name
nameWritable
private boolean nameWritable
ReadOnlyModel
public ReadOnlyModel()
setName
public void setName(java.lang.String inName)
getName
public java.lang.String getName()
isPropertyReadOnly
public boolean isPropertyReadOnly(org.scopemvc.core.Selector inSelector)
- Specified by:
isPropertyReadOnly in interface org.scopemvc.model.beans.DynamicReadOnly
swapNamePropertyState
public void swapNamePropertyState()