gnu.kawa.models
Class Model

java.lang.Object
  extended by gnu.kawa.models.Model
All Implemented Interfaces:
Viewable
Direct Known Subclasses:
Box, Button, DrawImage, Label, Spacer, Text

public abstract class Model
extends java.lang.Object
implements Viewable

Abstract class for Viewable objects, with notification/listener support.


Constructor Summary
Model()
           
 
Method Summary
 void addListener(ModelListener listener)
           
 void addListener(WeakListener listener)
           
 void notifyListeners(java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gnu.kawa.models.Viewable
makeView
 

Constructor Detail

Model

public Model()
Method Detail

addListener

public void addListener(ModelListener listener)

addListener

public void addListener(WeakListener listener)

notifyListeners

public void notifyListeners(java.lang.String key)