All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jp.kyasu.awt.util.JavaSyntaxColoringModel

java.lang.Object
   |
   +----jp.kyasu.awt.DefaultTextModel
           |
           +----jp.kyasu.awt.DefaultTextEditModel
                   |
                   +----jp.kyasu.awt.util.SyntaxColoringModel
                           |
                           +----jp.kyasu.awt.util.FastSyntaxColoringModel
                                   |
                                   +----jp.kyasu.awt.util.JavaSyntaxColoringModel

public class JavaSyntaxColoringModel
extends FastSyntaxColoringModel
The JavaSyntaxColoringModel class implements the TextEditModel interface. The JavaSyntaxColoringModel object hilights the syntax of C, C++, and Java.

Version:
10 Jun 1998
Author:
Kazuki YASUMATSU

Constructor Index

 o JavaSyntaxColoringModel()
Constructs an empty model.
 o JavaSyntaxColoringModel(String)
Constructs a model with the specified string.

Method Index

 o isCMode()
Checks if this component colors the syntax of the C language.
 o isCPPMode()
Checks if this component colors the syntax of the C++ language.
 o isJavaMode()
Checks if this component colors the syntax of the Java language.
 o setCMode()
Makes this component colors the syntax of the C language.
 o setCPPMode()
Makes this component colors the syntax of the C++ language.
 o setJavaMode()
Makes this component colors the syntax of the Java language.

Constructors

 o JavaSyntaxColoringModel
 public JavaSyntaxColoringModel()
Constructs an empty model.

 o JavaSyntaxColoringModel
 public JavaSyntaxColoringModel(String string)
Constructs a model with the specified string.

Parameters:
string - the string.

Methods

 o isJavaMode
 public boolean isJavaMode()
Checks if this component colors the syntax of the Java language.

See Also:
setJavaMode
 o setJavaMode
 public void setJavaMode()
Makes this component colors the syntax of the Java language.

See Also:
isJavaMode
 o isCMode
 public boolean isCMode()
Checks if this component colors the syntax of the C language.

See Also:
setCMode
 o setCMode
 public void setCMode()
Makes this component colors the syntax of the C language.

See Also:
isCMode
 o isCPPMode
 public boolean isCPPMode()
Checks if this component colors the syntax of the C++ language.

See Also:
setCPPMode
 o setCPPMode
 public void setCPPMode()
Makes this component colors the syntax of the C++ language.

See Also:
isCPPMode

All Packages  Class Hierarchy  This Package  Previous  Next  Index