|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.drjava.model.definitions.reducedmodel.HighlightStatus
public class HighlightStatus
A block that represents information about the highlighting status of a particular section in the document.
| Field Summary | |
|---|---|
static int |
COMMENTED
|
static int |
DOUBLE_QUOTED
|
static int |
KEYWORD
|
static int |
NORMAL
|
static int |
NUMBER
|
static int |
SINGLE_QUOTED
|
static int |
TYPE
|
| Constructor Summary | |
|---|---|
HighlightStatus(int location,
int length,
int state)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getLength()
Get the size of this coloring block. |
int |
getLocation()
Get the starting location of this coloring block. |
int |
getState()
Get the coloring state of this block. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int NORMAL
public static final int COMMENTED
public static final int SINGLE_QUOTED
public static final int DOUBLE_QUOTED
public static final int KEYWORD
public static final int NUMBER
public static final int TYPE
| Constructor Detail |
|---|
public HighlightStatus(int location,
int length,
int state)
location - the starting character offset of the blocklength - length of blockstate - coloring state of the block| Method Detail |
|---|
public int getState()
public int getLocation()
public int getLength()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||