All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jp.kyasu.awt.util.HTMLTextEditModel

java.lang.Object
   |
   +----jp.kyasu.awt.DefaultTextModel
           |
           +----jp.kyasu.awt.DefaultTextEditModel
                   |
                   +----jp.kyasu.awt.util.HTMLTextEditModel

public class HTMLTextEditModel
extends DefaultTextEditModel
The HTMLTextEditModel class is an implementation of the TextEditModel interface for the HTMLText.

Version:
09 Jun 1998
Author:
Kazuki YASUMATSU

Constructor Index

 o HTMLTextEditModel(HTMLStyle)
Constructs an empty html text edit model with the specified html style.
 o HTMLTextEditModel(HTMLText)
Constructs a html text edit model with the specified html text.

Method Index

 o setParagraphStyle(int, int, ParagraphStyle)
 o setRichText(RichText)
Sets the rich text of this text model to be the specified rich text.

Constructors

 o HTMLTextEditModel
 public HTMLTextEditModel(HTMLStyle htmlStyle)
Constructs an empty html text edit model with the specified html style.

Parameters:
htmlStyle - the html style.
 o HTMLTextEditModel
 public HTMLTextEditModel(HTMLText htmlText)
Constructs a html text edit model with the specified html text.

Parameters:
htmlText - the html text.

Methods

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

Parameters:
richText - the rich text.
Overrides:
setRichText in class DefaultTextEditModel
 o setParagraphStyle
 public Undo setParagraphStyle(int begin,
                               int end,
                               ParagraphStyle pStyle)
Overrides:
setParagraphStyle in class DefaultTextEditModel

All Packages  Class Hierarchy  This Package  Previous  Next  Index