org.apache.pivot.wtk.skin
Class TextAreaSkin.ParagraphView

java.lang.Object
  extended by org.apache.pivot.wtk.skin.TextAreaSkin.NodeView
      extended by org.apache.pivot.wtk.skin.TextAreaSkin.ElementView
          extended by org.apache.pivot.wtk.skin.TextAreaSkin.ParagraphView
All Implemented Interfaces:
Iterable<TextAreaSkin.NodeView>, Sequence<TextAreaSkin.NodeView>, ElementListener, NodeListener, Visual
Enclosing class:
TextAreaSkin

public class TextAreaSkin.ParagraphView
extends TextAreaSkin.ElementView


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.pivot.collections.Sequence
Sequence.Tree<T>
 
Constructor Summary
TextAreaSkin.ParagraphView(Paragraph paragraph)
           
 
Method Summary
 Bounds getCharacterBounds(int offset)
           
 int getInsertionPoint(int x, int y)
           
 TextAreaSkin.NodeView getNext()
           
 int getNextInsertionPoint(int x, int from, FocusTraversalDirection direction)
           
 int getRowCount()
           
 int getRowIndex(int offset)
           
 void invalidate()
           
 void validate()
           
 
Methods inherited from class org.apache.pivot.wtk.skin.TextAreaSkin.ElementView
add, attach, detach, get, getLength, indexOf, insert, iterator, nodeInserted, nodesRemoved, paint, remove, remove, update
 
Methods inherited from class org.apache.pivot.wtk.skin.TextAreaSkin.NodeView
getBaseline, getBounds, getBreakWidth, getCharacterCount, getDocumentOffset, getHeight, getLocation, getNode, getOffset, getParent, getSize, getWidth, getX, getY, isValid, offsetChanged, parentChanged, rangeInserted, rangeRemoved, repaint, repaint, setBreakWidth, setLocation, setParent, setSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextAreaSkin.ParagraphView

public TextAreaSkin.ParagraphView(Paragraph paragraph)
Method Detail

invalidate

public void invalidate()
Overrides:
invalidate in class TextAreaSkin.NodeView

validate

public void validate()
Overrides:
validate in class TextAreaSkin.NodeView

getNext

public TextAreaSkin.NodeView getNext()
Specified by:
getNext in class TextAreaSkin.NodeView

getInsertionPoint

public int getInsertionPoint(int x,
                             int y)
Specified by:
getInsertionPoint in class TextAreaSkin.NodeView

getNextInsertionPoint

public int getNextInsertionPoint(int x,
                                 int from,
                                 FocusTraversalDirection direction)
Specified by:
getNextInsertionPoint in class TextAreaSkin.NodeView

getRowIndex

public int getRowIndex(int offset)
Specified by:
getRowIndex in class TextAreaSkin.NodeView

getRowCount

public int getRowCount()
Specified by:
getRowCount in class TextAreaSkin.NodeView

getCharacterBounds

public Bounds getCharacterBounds(int offset)
Overrides:
getCharacterBounds in class TextAreaSkin.ElementView