edu.umd.cs.piccolox.nodes
Class PStyledText.RunInfo

java.lang.Object
  extended by 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.


Field Summary
 int endIndex
           
 int startIndex
           
 
Constructor Summary
PStyledText.RunInfo(int runStart, int runLimit)
           
 
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
 

Field Detail

startIndex

public int startIndex

endIndex

public int endIndex
Constructor Detail

PStyledText.RunInfo

public PStyledText.RunInfo(int runStart,
                           int runLimit)
Method Detail

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.