static class SIPCommHTMLEditorKit.ParagraphViewX
extends javax.swing.text.html.ParagraphView
When a paragraph in a JTextPane has a large amount of text the processing needed to layout the entire paragraph increases as the paragraph grows.
Constructor and Description |
---|
ParagraphViewX(javax.swing.text.Element elem)
Creates an instance of ParagraphViewX.
|
Modifier and Type | Method and Description |
---|---|
protected javax.swing.SizeRequirements |
calculateMinorAxisRequirements(int axis,
javax.swing.SizeRequirements sizeRequirements)
Calculate requirements along the minor axis.
|
getAttributes, getMaximumSpan, getMinimumSpan, getPreferredSpan, getStyleSheet, isVisible, paint, setParent, setPropertiesFromAttributes
breakView, changedUpdate, createRow, findOffsetToCharactersInString, flipEastAndWestAtEnds, getAlignment, getBreakWeight, getClosestPositionTo, getFlowSpan, getFlowStart, getLayoutView, getLayoutViewCount, getNextNorthSouthVisualPositionFrom, getPartialSize, getTabBase, getTabSet, nextTabStop, setFirstLineIndent, setJustification, setLineSpacing
getFlowAxis, getViewIndexAtPosition, insertUpdate, layout, loadChildren, removeUpdate
baselineLayout, baselineRequirements, calculateMajorAxisRequirements, childAllocation, forwardUpdate, getAxis, getChildAllocation, getHeight, getOffset, getResizeWeight, getSpan, getViewAtPoint, getWidth, isAfter, isAllocationValid, isBefore, isLayoutValid, layoutChanged, layoutMajorAxis, layoutMinorAxis, modelToView, paintChild, preferenceChanged, replace, setAxis, setSize, viewToModel
getBottomInset, getInsideAllocation, getLeftInset, getNextEastWestVisualPositionFrom, getNextVisualPositionFrom, getRightInset, getTopInset, getView, getViewAtPosition, getViewCount, getViewIndex, modelToView, setInsets, setParagraphInsets
append, breakView, createFragment, forwardUpdateToView, getBreakWeight, getContainer, getDocument, getElement, getEndOffset, getGraphics, getParent, getStartOffset, getToolTipText, getViewFactory, getViewIndex, insert, modelToView, remove, removeAll, updateChildren, updateLayout, viewToModel
public ParagraphViewX(javax.swing.text.Element elem)
elem
- the element that this view is responsible forprotected javax.swing.SizeRequirements calculateMinorAxisRequirements(int axis, javax.swing.SizeRequirements sizeRequirements)
calculateMinorAxisRequirements
in class javax.swing.text.html.ParagraphView
axis
- the axis, for which we calculate size requirementssizeRequirements
- the initial size requirements
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.