edu.udo.cs.yale.gui.experimenteditor
Class XMLEditor.Keyword

java.lang.Object
  extended by 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)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 java.awt.Color getColor()
           
 java.lang.String getKeyword()
           
 int getLength()
           
 int getStart()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

word

private java.lang.String word

start

private int start

color

private java.awt.Color color
Constructor Detail

XMLEditor.Keyword

public XMLEditor.Keyword(java.lang.String word,
                         int start,
                         java.awt.Color color)
Method Detail

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