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
-
HTMLTextEditModel(HTMLStyle)
- Constructs an empty html text edit model with the specified html style.
-
HTMLTextEditModel(HTMLText)
- Constructs a html text edit model with the specified html text.
-
setParagraphStyle(int, int, ParagraphStyle)
-
-
setRichText(RichText)
- Sets the rich text of this text model to be the specified rich text.
HTMLTextEditModel
public HTMLTextEditModel(HTMLStyle htmlStyle)
- Constructs an empty html text edit model with the specified html style.
- Parameters:
- htmlStyle - the html style.
HTMLTextEditModel
public HTMLTextEditModel(HTMLText htmlText)
- Constructs a html text edit model with the specified html text.
- Parameters:
- htmlText - the html text.
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
setParagraphStyle
public Undo setParagraphStyle(int begin,
int end,
ParagraphStyle pStyle)
- Overrides:
- setParagraphStyle in class DefaultTextEditModel
All Packages Class Hierarchy This Package Previous Next Index