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
-
JavaSyntaxColoringModel()
- Constructs an empty model.
-
JavaSyntaxColoringModel(String)
- Constructs a model with the specified string.
-
isCMode()
- Checks if this component colors the syntax of the C language.
-
isCPPMode()
- Checks if this component colors the syntax of the C++ language.
-
isJavaMode()
- Checks if this component colors the syntax of the Java language.
-
setCMode()
- Makes this component colors the syntax of the C language.
-
setCPPMode()
- Makes this component colors the syntax of the C++ language.
-
setJavaMode()
- Makes this component colors the syntax of the Java language.
JavaSyntaxColoringModel
public JavaSyntaxColoringModel()
- Constructs an empty model.
JavaSyntaxColoringModel
public JavaSyntaxColoringModel(String string)
- Constructs a model with the specified string.
- Parameters:
- string - the string.
isJavaMode
public boolean isJavaMode()
- Checks if this component colors the syntax of the Java language.
- See Also:
- setJavaMode
setJavaMode
public void setJavaMode()
- Makes this component colors the syntax of the Java language.
- See Also:
- isJavaMode
isCMode
public boolean isCMode()
- Checks if this component colors the syntax of the C language.
- See Also:
- setCMode
setCMode
public void setCMode()
- Makes this component colors the syntax of the C language.
- See Also:
- isCMode
isCPPMode
public boolean isCPPMode()
- Checks if this component colors the syntax of the C++ language.
- See Also:
- setCPPMode
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