|
|
javax > javax.swing > javax.swing.text > javax.swing.text.View >
Class: javax.swing.text.View java.lang.Object javax.swing.text.View
public abstract class View extends Object implements SwingConstants
FIELDS:
public static final int BadBreakWeight : 0 public static final int ExcellentBreakWeight : 2000 public static final int ForcedBreakWeight : 3000 public static final int GoodBreakWeight : 1000 public static final int X_AXIS : 0 public static final int Y_AXIS : 1 |
|
|
|
CONSTRUCTORS:
METHODS:
| | | | public | void | append(View v) |
| | public | View | breakView(int axis, int offset, float pos, float len) |
| | public | void | changedUpdate(DocumentEvent e, Shape a, ViewFactory f) |
| | public | View | createFragment(int p0, int p1) |
| | protected | void | forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a, ViewFactory f) |
| | protected | void | forwardUpdateToView(View v, DocumentEvent e, Shape a, ViewFactory f) |
| | public | float | getAlignment(int axis) |
| | public | AttributeSet | getAttributes() |
| | public | int | getBreakWeight(int axis, float pos, float len) |
| | public | Shape | getChildAllocation(int index, Shape a) |
| | public | Container | getContainer() |
| | public | Document | getDocument() |
| | public | Element | getElement() |
| | public | int | getEndOffset() |
| | public | Graphics | getGraphics() |
| | public | float | getMaximumSpan(int axis) |
| | public | float | getMinimumSpan(int axis) |
| | public | int | getNextVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet) Throws: BadLocationException Throws: IllegalArgumentException |
| | public | View | getParent() |
| | public abstract | float | getPreferredSpan(int axis) |
| | public | int | getResizeWeight(int axis) |
| | public | int | getStartOffset() |
| | public | String | getToolTipText(float x, float y, Shape allocation) |
| | public | View | getView(int n) |
| | public | int | getViewCount() |
| | public | ViewFactory | getViewFactory() |
| | public | int | getViewIndex(float x, float y, Shape allocation) |
| | public | int | getViewIndex(int pos, Position.Bias b) |
| | public | void | insert(int offs, View v) |
| | public | void | insertUpdate(DocumentEvent e, Shape a, ViewFactory f) |
| | public | boolean | isVisible() |
| | public | Shape | modelToView(int pos, Shape a) Throws: BadLocationException |
| | public abstract | Shape | modelToView(int pos, Shape a, Position.Bias b) Throws: BadLocationException Throws: IllegalArgumentException |
| | public | Shape | modelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, Shape a) Throws: BadLocationException Throws: IllegalArgumentException |
| | public abstract | void | paint(Graphics g, Shape allocation) |
| | public | void | preferenceChanged(View child, boolean width, boolean height) |
| | public | void | remove(int i) |
| | public | void | removeAll() |
| | public | void | removeUpdate(DocumentEvent e, Shape a, ViewFactory f) |
| | public | void | replace(int offset, int length, View[] views) |
| | public | void | setParent(View parent) |
| | public | void | setSize(float width, float height) |
| | protected | boolean | updateChildren(DocumentEvent.ElementChange ec, DocumentEvent e, ViewFactory f) |
| | protected | void | updateLayout(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a) |
| | public | int | viewToModel(float x, float y, Shape a) |
| | public abstract | int | viewToModel(float x, float y, Shape a, Position.Bias[] biasReturn) |
| |
|
|
|
INHERITED METHODS:
| getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(), |
|
|
|
SUBCLASSES:
|
|



|