swingwtx.swing.text
Class View
java.lang.Object
swingwtx.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).
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
doc
protected Document doc
View
public View(Document doc)
isVisible
public boolean isVisible()
getAlignment
public float getAlignment(int axis)
getViewCount
public int getViewCount()
getView
public View getView(int n)