|
JHotDraw 7.5.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.text.View
javax.swing.text.CompositeView
javax.swing.text.BoxView
javax.swing.text.FlowView
javax.swing.text.ParagraphView
org.jhotdraw.samples.teddy.text.NumberedParagraphView
public class NumberedParagraphView
NumberedParagraphView.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.text.FlowView |
|---|
javax.swing.text.FlowView.FlowStrategy |
| Field Summary | |
|---|---|
static short |
NUMBERS_WIDTH
|
| Fields inherited from class javax.swing.text.ParagraphView |
|---|
firstLineIndent |
| Fields inherited from class javax.swing.text.FlowView |
|---|
layoutPool, layoutSpan, strategy |
| Fields inherited from class javax.swing.text.View |
|---|
BadBreakWeight, ExcellentBreakWeight, ForcedBreakWeight, GoodBreakWeight, X_AXIS, Y_AXIS |
| Fields inherited from interface javax.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 | |
|---|---|
NumberedParagraphView(javax.swing.text.Element e,
NumberedViewFactory viewFactory)
|
|
| Method Summary | |
|---|---|
protected short |
getLeftInset()
Gets the left inset. |
void |
paintChild(java.awt.Graphics g,
java.awt.Rectangle r,
int n)
|
| Methods inherited from class javax.swing.text.ParagraphView |
|---|
adjustRow, breakView, changedUpdate, createRow, findOffsetToCharactersInString, flipEastAndWestAtEnds, getAlignment, getBreakWeight, getClosestPositionTo, getFlowSpan, getFlowStart, getLayoutView, getLayoutViewCount, getNextNorthSouthVisualPositionFrom, getPartialSize, getTabBase, getTabSet, nextTabStop, paint, setFirstLineIndent, setJustification, setLineSpacing, setPropertiesFromAttributes |
| Methods inherited from class javax.swing.text.FlowView |
|---|
calculateMinorAxisRequirements, getFlowAxis, getViewIndexAtPosition, insertUpdate, layout, loadChildren, removeUpdate, setParent |
| Methods inherited from class javax.swing.text.BoxView |
|---|
baselineLayout, baselineRequirements, calculateMajorAxisRequirements, childAllocation, forwardUpdate, getAxis, getChildAllocation, getHeight, getMaximumSpan, getMinimumSpan, getOffset, getPreferredSpan, getResizeWeight, getSpan, getViewAtPoint, getWidth, isAfter, isAllocationValid, isBefore, isLayoutValid, layoutChanged, layoutMajorAxis, layoutMinorAxis, modelToView, preferenceChanged, replace, setAxis, setSize, viewToModel |
| Methods inherited from class javax.swing.text.CompositeView |
|---|
getBottomInset, getInsideAllocation, getNextEastWestVisualPositionFrom, getNextVisualPositionFrom, getRightInset, getTopInset, getView, getViewAtPosition, getViewCount, getViewIndex, modelToView, setInsets, setParagraphInsets |
| Methods inherited from class javax.swing.text.View |
|---|
append, breakView, createFragment, forwardUpdateToView, getAttributes, getBreakWeight, getContainer, getDocument, getElement, getEndOffset, getGraphics, getParent, getStartOffset, getToolTipText, getViewFactory, getViewIndex, insert, isVisible, modelToView, remove, removeAll, updateChildren, updateLayout, viewToModel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static short NUMBERS_WIDTH
| Constructor Detail |
|---|
public NumberedParagraphView(javax.swing.text.Element e,
NumberedViewFactory viewFactory)
| Method Detail |
|---|
protected short getLeftInset()
getLeftInset in class javax.swing.text.CompositeView
public void paintChild(java.awt.Graphics g,
java.awt.Rectangle r,
int n)
paintChild in class javax.swing.text.BoxView
|
Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project. Some rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||