站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

GapLineView (Editor Library) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor.lib/1 1.14.0 3

org.netbeans.lib.editor.view
Class GapLineView

java.lang.Object
  extended by javax.swing.text.View
      extended by org.netbeans.lib.editor.view.GapBoxView
          extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.netbeans.editor.view.spi.ViewLayoutState
ViewLayoutState.Parent
 
Field Summary
 
Fields inherited from class org.netbeans.lib.editor.view.GapBoxView
GAP_BOX_VIEW_LAST_USED_STATUS_BIT
 
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
GapLineView(Element lineElement)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GapLineView

public GapLineView(Element lineElement)
Method Detail

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

org.netbeans.modules.editor.lib/1 1.14.0 3

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.