Package edu.umd.cs.findbugs.sourceViewer
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 javax.swing.text.FlowView
FlowView.FlowStrategy
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static WeakHashMap
<Element, Integer> (package private) HighlightInformation
static final int
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
void
Methods inherited from class javax.swing.text.ParagraphView
breakView, calculateMinorAxisRequirements, changedUpdate, createRow, findOffsetToCharactersInString, flipEastAndWestAtEnds, getAlignment, getBreakWeight, getClosestPositionTo, getFlowSpan, getFlowStart, getLayoutView, getLayoutViewCount, getNextNorthSouthVisualPositionFrom, getPartialSize, getTabBase, getTabSet, nextTabStop, setFirstLineIndent, setJustification, setLineSpacing, setPropertiesFromAttributes
Methods inherited from class javax.swing.text.FlowView
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, paintChild, preferenceChanged, replace, setAxis, setSize, viewToModel
Methods inherited from class javax.swing.text.CompositeView
getBottomInset, getInsideAllocation, getLeftInset, 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
-
Field Details
-
NUMBERS_WIDTH
public static final int NUMBERS_WIDTH -
highlight
HighlightInformation highlight -
elementLineNumberCache
-
-
Constructor Details
-
NumberedParagraphView
-
-
Method Details
-
paint
- Overrides:
paint
in classParagraphView
-
getPreviousLineCount0
public int getPreviousLineCount0() -
getLineNumber
-