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) HighlightInformationstatic final intFields inherited from class javax.swing.text.ParagraphView
firstLineIndentFields inherited from class javax.swing.text.FlowView
layoutPool, layoutSpan, strategyFields inherited from class javax.swing.text.View
BadBreakWeight, ExcellentBreakWeight, ForcedBreakWeight, GoodBreakWeight, X_AXIS, Y_AXISFields 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 TypeMethodDescriptionintvoidMethods 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, setPropertiesFromAttributesMethods inherited from class javax.swing.text.FlowView
getFlowAxis, getViewIndexAtPosition, insertUpdate, layout, loadChildren, removeUpdate, setParentMethods 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, viewToModelMethods inherited from class javax.swing.text.CompositeView
getBottomInset, getInsideAllocation, getLeftInset, getNextEastWestVisualPositionFrom, getNextVisualPositionFrom, getRightInset, getTopInset, getView, getViewAtPosition, getViewCount, getViewIndex, modelToView, setInsets, setParagraphInsetsMethods 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:
paintin classParagraphView
-
getPreviousLineCount0
public int getPreviousLineCount0() -
getLineNumber
-