Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

samples.swing.readonly
Class ReadOnlyModel  view ReadOnlyModel download ReadOnlyModel.java

java.lang.Object
  extended bysamples.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 $

Field Summary
private  java.lang.String name
           
private  boolean nameWritable
           
 
Constructor Summary
ReadOnlyModel()
           
 
Method Summary
 java.lang.String getName()
           
 boolean isPropertyReadOnly(org.scopemvc.core.Selector inSelector)
           
 void setName(java.lang.String inName)
           
 void swapNamePropertyState()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private java.lang.String name

nameWritable

private boolean nameWritable
Constructor Detail

ReadOnlyModel

public ReadOnlyModel()
Method Detail

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()