com.croftsoft.apps.exemplar
Class Message

java.lang.Object
  extended by com.croftsoft.apps.exemplar.Message

public final class Message
extends Object

Exemplar enumerated type message. Use to pass messages between the model, view, and controller.

Since:
2006-06-22
Version:
$Id: Message.java,v 1.2 2006/06/22 14:23:48 croft Exp $
Author:
David Wallace Croft

Nested Class Summary
static class Message.Type
           
 
Field Summary
static Message CLICK_COUNT_CHANGED_INSTANCE
           
static Message INCREMENT_CLICK_COUNT_INSTANCE
           
 
Constructor Summary
Message(Message.Type type)
           
Message(Message.Type type, Object content)
           
 
Method Summary
 Object getContent()
           
 Message.Type getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLICK_COUNT_CHANGED_INSTANCE

public static final Message CLICK_COUNT_CHANGED_INSTANCE

INCREMENT_CLICK_COUNT_INSTANCE

public static final Message INCREMENT_CLICK_COUNT_INSTANCE
Constructor Detail

Message

public Message(Message.Type type,
               Object content)

Message

public Message(Message.Type type)
Method Detail

getType

public Message.Type getType()

getContent

public Object getContent()

CroftSoft Javadoc

CroftSoft Apps Javadoc (2006-11-12 23:26:47)