当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
GapLineView (Editor Library) - NetBeans API Javadoc (Current Development Version)
org.netbeans.lib.editor.view
Class GapLineView
java.lang.Object
javax.swing.text.View
org.netbeans.lib.editor.view.GapBoxView
org.netbeans.lib.editor.view.GapLineView
- All Implemented Interfaces:
- SwingConstants, EstimatedSpanView, ViewLayoutState, ViewLayoutState.Parent
public class GapLineView
- extends GapBoxView
Extension of GapBoxView
encapsulating
one line of a text capable of doing baseline layout
and line wrapping.
The view returns the
minorAxisMinSpan
variable is reused
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 |
Method Summary |
protected org.netbeans.lib.editor.view.GapBoxViewChildren |
createChildren()
Can be overriden by subclasses to return
a different children implementation. |
Methods inherited from class org.netbeans.lib.editor.view.GapBoxView |
appendChildToStringBuffer, changedUpdate, childrenToString, childrenToString, childToString, clearStatusBits, createChild, createCustomView, createDefaultChild, customInsertUpdate, customReloadChildren, customRemoveUpdate, directUpdateLayout, elementReloadChildren, getAlignment, getChild, getChildAllocation, getChildIndex, getChildIndexNoCheck, getChildren, getChildrenNull, getEndOffset, getInsertUpdateRebuildOffsetRange, getInsets, getInsetSpan, getLayoutMajorAxisPreferredSpan, getLayoutMajorAxisRawOffset, getLayoutMinorAxisAlignment, getLayoutMinorAxisMaximumSpan, getLayoutMinorAxisMinimumSpan, getLayoutMinorAxisPreferredSpan, getLayoutStateMajorAxis, getLayoutStateMinorAxis, getLayoutStateParent, getMajorAxis, getMajorAxisInsetSpan, getMaximumSpan, getMinimumSpan, getMinorAxis, getMinorAxisInsetSpan, getMinorAxisSpan, getNextVisualPositionFrom, getPreferredSpan, getRemoveUpdateRebuildOffsetRange, getReplaceEstimatedThreshold, getStartOffset, getStatusBits, getView, getView, getViewCount, getViewIndex, getViewIndex, getViewIndexAtPoint, getViewRawIndex, insertUpdate, isActiveLayoutState, isChildrenLayoutNecessary, isChildrenResizeDisabled, isEstimatedSpan, isFlyweight, isLayoutMinorAxisPreferenceChanged, isLayoutValid, isMajorAxisPreferenceChanged, isMinorAxisPreferenceChanged, isRepaintPending, isRepaintTillEnd, isStatusBitsNonZero, isXLayoutStateMajorAxis, layoutInvalid, majorAxisPreferenceChanged, markChildrenLayoutNecessary, markLayoutInvalid, markMajorAxisPreferenceChanged, markMinorAxisPreferenceChanged, markRepaint, markRepaintPending, markSizeInvalid, markViewSizeInvalid, minorAxisPreferenceChanged, modelToView, offsetRebuild, paint, preferenceChanged, processRepaint, reallocate, rebuild, releaseChildren, reloadChildren, removeUpdate, repaint, replace, resetAxesPreferenceChanged, resetEstimatedSpan, resetRepaintPending, selectLayoutMajorAxis, setEstimatedSpan, setLayoutMajorAxisRawOffset, setParent, setSize, setSpanOnMajorAxis, setSpanOnMinorAxis, setStatusBits, setViewRawIndex, toString, unloadChildren, updateLayout, updateLayout, useCustomReloadChildren, viewPreferenceChanged, viewToModel |
Methods inherited from class javax.swing.text.View |
append, breakView, createFragment, forwardUpdate, forwardUpdateToView, getAttributes, getBreakWeight, getContainer, getDocument, getElement, getEndOffset, getGraphics, getParent, getResizeWeight, getStartOffset, getToolTipText, getViewFactory, getViewIndex, insert, isVisible, modelToView, modelToView, remove, removeAll, updateChildren, viewToModel |
GapLineView
public GapLineView(Element lineElement)
createChildren
protected org.netbeans.lib.editor.view.GapBoxViewChildren createChildren()
- Description copied from class:
GapBoxView
- Can be overriden by subclasses to return
a different children implementation.
- Overrides:
createChildren
in class GapBoxView