cynosurex.lang
Interface TextReceiver

All Superinterfaces:
cynosurex.internal.AuthorCommon, cynosurex.internal.CommonInterface, cynosurex.internal.CompanyCommon
All Known Implementing Classes:
SystemOutReceiver

public interface TextReceiver
extends cynosurex.internal.CommonInterface

This interface allows the TextDistribute class to distribute text messages to any class that implements this interface.

Version:
1.0
Author:
Chieh Cheng
See Also:
TextDistributor

Field Summary
static java.lang.String embed
           
 
Fields inherited from interface cynosurex.internal.CommonInterface
copyright, copyrightYears, notice, program, version
 
Fields inherited from interface cynosurex.internal.AuthorCommon
author, copyrightSymbol, noticeMsg, rights
 
Fields inherited from interface cynosurex.internal.CompanyCommon
company, email, website
 
Method Summary
 void receiveText(java.lang.String text)
          This method must be over-ridden by any class that wish to receive text messages from the TextDistributor.
 

Field Detail

embed

static final java.lang.String embed
See Also:
Constant Field Values
Method Detail

receiveText

void receiveText(java.lang.String text)
This method must be over-ridden by any class that wish to receive text messages from the TextDistributor.

Parameters:
text - The text message sent by the TextDistributor.