swingwtx.swing.text
Class View

java.lang.Object
  extended byswingwtx.swing.text.View
All Implemented Interfaces:
SwingConstants
Direct Known Subclasses:
PlainView

public abstract class View
extends java.lang.Object
implements SwingConstants

View superclass that maps Document models between viewable components. Basically assumes your component is a descendant of JTextComponent (why it's vitally important for subclasses to override functionality, even if they aren't that similar).


Field Summary
protected  Document doc
           
 
Fields inherited from interface swingwtx.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
Constructor Summary
View(Document doc)
           
 
Method Summary
 float getAlignment(int axis)
           
 View getView(int n)
           
 int getViewCount()
           
 boolean isVisible()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

doc

protected Document doc
Constructor Detail

View

public View(Document doc)
Method Detail

isVisible

public boolean isVisible()

getAlignment

public float getAlignment(int axis)

getViewCount

public int getViewCount()

getView

public View getView(int n)