public abstract class Model
extends java.util.Observable
| Constructor and Description |
|---|
Model() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getProp(java.lang.String key)
Gets the requested property or null.
|
void |
notifyObservers(java.lang.Object arg) |
void |
setProp(java.lang.String key,
java.lang.Object value)
Sets a property to the model
|
public final void setProp(java.lang.String key,
java.lang.Object value)
key - the key to store the value to.value - the value to set.public final java.lang.Object getProp(java.lang.String key)
key - the key where the value was previously stored.public void notifyObservers(java.lang.Object arg)
notifyObservers in class java.util.Observable