pivot.wtk.skin
Class TextAreaSkin.DocumentView

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

public class TextAreaSkin.DocumentView
extends TextAreaSkin.ElementView

Document view.

Author:
gbrown

Nested Class Summary
 
Nested classes/interfaces inherited from interface pivot.collections.Sequence
Sequence.Search, Sequence.Sort, Sequence.Tree
 
Constructor Summary
TextAreaSkin.DocumentView(Document document)
           
 
Method Summary
protected  void abortValidateCallback()
           
 void attach()
           
 TextAreaSkin.NodeView getNext()
           
 void invalidate()
           
 void nodeInserted(Element element, int index)
          Called when a node has been inserted into an element.
 void nodesRemoved(Element element, int index, Sequence<Node> nodes)
          Called when nodes have been removed from an element.
 void repaint(int x, int y, int width, int height)
           
 void validate()
           
 
Methods inherited from class pivot.wtk.skin.TextAreaSkin.ElementView
add, detach, get, getCharacterAt, getCharacterBounds, getLength, getOffset, indexOf, insert, iterator, paint, remove, remove, update
 
Methods inherited from class pivot.wtk.skin.TextAreaSkin.NodeView
getBounds, getBounds, getBreakWidth, getHeight, getHeight, getLocation, getNode, getParent, getSize, getSize, getWidth, getX, getY, isValid, offsetChanged, parentChanged, rangeInserted, rangeRemoved, 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.DocumentView

public TextAreaSkin.DocumentView(Document document)
Method Detail

attach

public void attach()
Overrides:
attach in class TextAreaSkin.ElementView

repaint

public void repaint(int x,
                    int y,
                    int width,
                    int height)
Overrides:
repaint in class TextAreaSkin.NodeView

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

nodeInserted

public void nodeInserted(Element element,
                         int index)
Description copied from interface: ElementListener
Called when a node has been inserted into an element.

Specified by:
nodeInserted in interface ElementListener
Overrides:
nodeInserted in class TextAreaSkin.ElementView

nodesRemoved

public void nodesRemoved(Element element,
                         int index,
                         Sequence<Node> nodes)
Description copied from interface: ElementListener
Called when nodes have been removed from an element.

Specified by:
nodesRemoved in interface ElementListener
Overrides:
nodesRemoved in class TextAreaSkin.ElementView

abortValidateCallback

protected void abortValidateCallback()