|
|||||||||
| Home >> All >> samples >> swing >> timesheet >> [ model overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
samples.swing.timesheet.model
Class PersonViewModel

java.lang.Objectorg.scopemvc.model.basic.BasicModel
samples.swing.timesheet.model.PersonViewModel
- All Implemented Interfaces:
- org.scopemvc.core.ModelChangeEventSource, org.scopemvc.core.ModelChangeListener, org.scopemvc.core.ModelChangeTypes
- public class PersonViewModel
- extends org.scopemvc.model.basic.BasicModel
The view model, this contains a person, and an additional project to be added element.
- Since:
- Scope v0.8
- Version:
- $Revision: 1.2 $ $Date: 2002/01/12 09:35:42 $
| Field Summary | |
static org.scopemvc.core.Selector |
NEW_PROJECT
|
private java.lang.String |
newProject
|
private PersonModel |
person
|
static org.scopemvc.core.Selector |
PERSON
|
| 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 | |
PersonViewModel()
Constructor, creates the person for this model. |
|
| Method Summary | |
java.lang.String |
getNewProject()
|
PersonModel |
getPerson()
|
void |
setNewProject(java.lang.String newProject)
|
| 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 |
PERSON
public static final org.scopemvc.core.Selector PERSON
NEW_PROJECT
public static final org.scopemvc.core.Selector NEW_PROJECT
person
private PersonModel person
newProject
private java.lang.String newProject
| Constructor Detail |
PersonViewModel
public PersonViewModel()
- Constructor, creates the person for this model.
| Method Detail |
getPerson
public PersonModel getPerson()
getNewProject
public java.lang.String getNewProject()
setNewProject
public void setNewProject(java.lang.String newProject)
|
|||||||||
| Home >> All >> samples >> swing >> timesheet >> [ model overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC