All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface jp.kyasu.awt.TextModel

public interface TextModel
The model interface for an object that acts as a text model.

Version:
11 Dec 1997
Author:
Kazuki YASUMATSU
See Also:
TextModelEvent, TextModelListener

Method Index

 o addTextModelListener(TextModelListener)
Adds the specified text model listener to receive text model events from this text model.
 o getRichText()
Returns the rich text of this text model.
 o removeTextModelListener(TextModelListener)
Removes the specified text model listener so it no longer receives text model events from this text model.
 o setRichText(RichText)
Sets the rich text of this text model to be the specified rich text.

Methods

 o addTextModelListener
 public abstract void addTextModelListener(TextModelListener listener)
Adds the specified text model listener to receive text model events from this text model.

Parameters:
listener - the text model listener.
 o removeTextModelListener
 public abstract void removeTextModelListener(TextModelListener listener)
Removes the specified text model listener so it no longer receives text model events from this text model.

Parameters:
listener - the text model listener.
 o getRichText
 public abstract RichText getRichText()
Returns the rich text of this text model.

Returns:
the rich text.
 o setRichText
 public abstract void setRichText(RichText richText)
Sets the rich text of this text model to be the specified rich text.

Parameters:
richText - the rich text.

All Packages  Class Hierarchy  This Package  Previous  Next  Index