edu.udo.cs.yale.gui.experimenteditor
Class XMLEditor.Keyword
java.lang.Object
edu.udo.cs.yale.gui.experimenteditor.XMLEditor.Keyword
- All Implemented Interfaces:
- java.lang.Comparable
- Enclosing class:
- XMLEditor
private class XMLEditor.Keyword
- extends java.lang.Object
- implements java.lang.Comparable
A keyword for the simple syntax highlighting parser.
Field Summary |
private java.awt.Color |
color
|
private int |
start
|
private java.lang.String |
word
|
Constructor Summary |
XMLEditor.Keyword(java.lang.String word,
int start,
java.awt.Color color)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
word
private java.lang.String word
start
private int start
color
private java.awt.Color color
XMLEditor.Keyword
public XMLEditor.Keyword(java.lang.String word,
int start,
java.awt.Color color)
getKeyword
public java.lang.String getKeyword()
getStart
public int getStart()
getLength
public int getLength()
getColor
public java.awt.Color getColor()
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2001-2006