Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.awt.font
Class LineBreakMeasurer  view LineBreakMeasurer download LineBreakMeasurer.java

java.lang.Object
  extended byjava.awt.font.LineBreakMeasurer

public final class LineBreakMeasurer
extends java.lang.Object


Field Summary
private  java.text.BreakIterator bi
           
private  java.text.AttributedCharacterIterator ci
           
private  FontRenderContext frc
           
 
Constructor Summary
LineBreakMeasurer(java.text.AttributedCharacterIterator text, java.text.BreakIterator breakIter, FontRenderContext frc)
          Constructs a LineBreakMeasurer object.
LineBreakMeasurer(java.text.AttributedCharacterIterator text, FontRenderContext frc)
          Constructs a LineBreakMeasurer object.
 
Method Summary
 void deleteChar(java.text.AttributedCharacterIterator newParagraph, int deletePos)
           
 int getPosition()
           
 void insertChar(java.text.AttributedCharacterIterator newParagraph, int insertPos)
           
 TextLayout nextLayout(float wrappingWidth)
           
 TextLayout nextLayout(float wrappingWidth, int offsetLimit, boolean requireNextWord)
           
 int nextOffset(float wrappingWidth)
           
 int nextOffset(float wrappingWidth, int offsetLimit, boolean requireNextWord)
           
 void setPosition(int newPosition)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ci

private java.text.AttributedCharacterIterator ci

frc

private FontRenderContext frc

bi

private java.text.BreakIterator bi
Constructor Detail

LineBreakMeasurer

public LineBreakMeasurer(java.text.AttributedCharacterIterator text,
                         FontRenderContext frc)
Constructs a LineBreakMeasurer object.


LineBreakMeasurer

public LineBreakMeasurer(java.text.AttributedCharacterIterator text,
                         java.text.BreakIterator breakIter,
                         FontRenderContext frc)
Constructs a LineBreakMeasurer object.

Method Detail

deleteChar

public void deleteChar(java.text.AttributedCharacterIterator newParagraph,
                       int deletePos)
                throws gnu.classpath.NotImplementedException

getPosition

public int getPosition()

insertChar

public void insertChar(java.text.AttributedCharacterIterator newParagraph,
                       int insertPos)
                throws gnu.classpath.NotImplementedException

nextLayout

public TextLayout nextLayout(float wrappingWidth)
                      throws gnu.classpath.NotImplementedException

nextLayout

public TextLayout nextLayout(float wrappingWidth,
                             int offsetLimit,
                             boolean requireNextWord)
                      throws gnu.classpath.NotImplementedException

nextOffset

public int nextOffset(float wrappingWidth)
               throws gnu.classpath.NotImplementedException

nextOffset

public int nextOffset(float wrappingWidth,
                      int offsetLimit,
                      boolean requireNextWord)
               throws gnu.classpath.NotImplementedException

setPosition

public void setPosition(int newPosition)