edu.umd.cs.piccolox.nodes
Class PStyledText.RunInfo
java.lang.Object
edu.umd.cs.piccolox.nodes.PStyledText.RunInfo
- Enclosing class:
- PStyledText
protected static class PStyledText.RunInfo
- extends Object
Simple class to represent an range within the document.
Method Summary |
boolean |
isEmpty()
Returns whether the run is empty. |
int |
length()
Returns the length of the run. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
startIndex
public int startIndex
endIndex
public int endIndex
PStyledText.RunInfo
public PStyledText.RunInfo(int runStart,
int runLimit)
isEmpty
public boolean isEmpty()
- Returns whether the run is empty.
- Returns:
- true is run is empty
length
public int length()
- Returns the length of the run.
- Returns:
- length of run
Copyright © 1995-2011 Piccolo2D. All Rights Reserved.