| java.lang.Object edu.rice.cs.drjava.model.definitions.reducedmodel.HighlightStatus
HighlightStatus | public class HighlightStatus (Code) | | A block that represents information about the highlighting status of a particular section in the document.
version: $Id: HighlightStatus.java 4255 2007-08-28 19:17:37Z mgricken $ |
Constructor Summary | |
public | HighlightStatus(int location, int length, int state) Constructor. |
Method Summary | |
public int | getLength() Get the size of this coloring block. | public int | getLocation() Get the starting location of this coloring block. | public int | getState() Get the coloring state of this block. |
COMMENTED | final public static int COMMENTED(Code) | | |
DOUBLE_QUOTED | final public static int DOUBLE_QUOTED(Code) | | |
KEYWORD | final public static int KEYWORD(Code) | | |
NORMAL | final public static int NORMAL(Code) | | |
NUMBER | final public static int NUMBER(Code) | | |
SINGLE_QUOTED | final public static int SINGLE_QUOTED(Code) | | |
TYPE | final public static int TYPE(Code) | | |
HighlightStatus | public HighlightStatus(int location, int length, int state)(Code) | | Constructor.
Parameters: location - the starting character offset of the block Parameters: length - length of block Parameters: state - coloring state of the block |
getLength | public int getLength()(Code) | | Get the size of this coloring block.
the number of characters spanned by this block. |
getLocation | public int getLocation()(Code) | | Get the starting location of this coloring block.
an integer offset |
getState | public int getState()(Code) | | Get the coloring state of this block.
an integer representing the color to paint the textin the bounds of this block |
|
|