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
-
addTextModelListener(TextModelListener)
- Adds the specified text model listener to receive text model events
from this text model.
-
getRichText()
- Returns the rich text of this text model.
-
removeTextModelListener(TextModelListener)
- Removes the specified text model listener so it no longer receives
text model events from this text model.
-
setRichText(RichText)
- Sets the rich text of this text model to be the specified rich text.
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.
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.
getRichText
public abstract RichText getRichText()
- Returns the rich text of this text model.
- Returns:
- the rich text.
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