Class NumberedParagraphView
java.lang.Object
javax.swing.text.View
javax.swing.text.CompositeView
javax.swing.text.BoxView
javax.swing.text.FlowView
javax.swing.text.ParagraphView
edu.umd.cs.findbugs.sourceViewer.NumberedParagraphView
- All Implemented Interfaces:
SwingConstants, TabExpander
-
Nested Class Summary
Nested classes/interfaces inherited from class FlowView
FlowView.FlowStrategy -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static WeakHashMap<Element, Integer> (package private) HighlightInformationstatic final intFields inherited from class ParagraphView
firstLineIndentFields inherited from class FlowView
layoutPool, layoutSpan, strategyFields inherited from class View
BadBreakWeight, ExcellentBreakWeight, ForcedBreakWeight, GoodBreakWeight, X_AXIS, Y_AXISFields inherited from interface 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidMethods inherited from class ParagraphView
breakView, calculateMinorAxisRequirements, changedUpdate, createRow, findOffsetToCharactersInString, flipEastAndWestAtEnds, getAlignment, getBreakWeight, getClosestPositionTo, getFlowSpan, getFlowStart, getLayoutView, getLayoutViewCount, getNextNorthSouthVisualPositionFrom, getPartialSize, getTabBase, getTabSet, nextTabStop, setFirstLineIndent, setJustification, setLineSpacing, setPropertiesFromAttributesMethods inherited from class FlowView
getFlowAxis, getViewIndexAtPosition, insertUpdate, layout, loadChildren, removeUpdate, setParentMethods inherited from class 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, paintChild, preferenceChanged, replace, setAxis, setSize, viewToModelMethods inherited from class CompositeView
getBottomInset, getInsideAllocation, getLeftInset, getNextEastWestVisualPositionFrom, getNextVisualPositionFrom, getRightInset, getTopInset, getView, getViewAtPosition, getViewCount, getViewIndex, modelToView, setInsets, setParagraphInsetsMethods inherited from class 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
-
Field Details
-
NUMBERS_WIDTH
public static final int NUMBERS_WIDTH -
highlight
HighlightInformation highlight -
elementLineNumberCache
-
-
Constructor Details
-
NumberedParagraphView
-
-
Method Details
-
paint
- Overrides:
paintin classParagraphView
-
getPreviousLineCount0
public int getPreviousLineCount0() -
getLineNumber
-