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

Quick Search    Search Deep

samples.swing.activemodel
Class ActivemodelModel  view ActivemodelModel download ActivemodelModel.java

java.lang.Object
  extended byorg.scopemvc.model.basic.BasicModel
      extended bysamples.swing.activemodel.ActivemodelModel
All Implemented Interfaces:
org.scopemvc.core.ModelChangeEventSource, org.scopemvc.core.ModelChangeListener, org.scopemvc.core.ModelChangeTypes

public class ActivemodelModel
extends org.scopemvc.model.basic.BasicModel

A version of samples.helloworld2.Hello2Model that implements ModelChangeEventSource by subclassing BasicModel and calling fireModelChange() after setters that change the model's state.

Version:
$Revision: 1.2 $ $Date: 2002/01/12 09:35:40 $

Field Summary
private  java.lang.String name
           
 
Fields inherited from class org.scopemvc.model.basic.BasicModel
 
Fields inherited from interface org.scopemvc.core.ModelChangeTypes
ACCESS_CHANGED, VALUE_ADDED, VALUE_CHANGED, VALUE_REMOVED
 
Constructor Summary
ActivemodelModel()
           
 
Method Summary
 void changeNameToFred()
           
 java.lang.String getName()
           
 void setName(java.lang.String inName)
           
 
Methods inherited from class org.scopemvc.model.basic.BasicModel
addModelChangeListener, fireModelChange, listenNewSubmodel, makeActive, modelChanged, removeModelChangeListener, unlistenOldSubmodel
 
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
Constructor Detail

ActivemodelModel

public ActivemodelModel()
Method Detail

setName

public void setName(java.lang.String inName)

getName

public java.lang.String getName()

changeNameToFred

public void changeNameToFred()