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

Uses of Interface org.netbeans.editor.view.spi.ViewLayoutState (Editor Library) - NetBeans API Javadoc (Current Development Version)

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

Uses of Interface
org.netbeans.editor.view.spi.ViewLayoutState

Packages that use ViewLayoutState
org.netbeans.editor   
org.netbeans.editor.view.spi   
org.netbeans.lib.editor.view   
 

Uses of ViewLayoutState in org.netbeans.editor
 

Classes in org.netbeans.editor that implement ViewLayoutState
 class DrawEngineFakeDocView
          Fake view of the whole document supporting the code folding, operating from given startOffset to endOffset
 

Uses of ViewLayoutState in org.netbeans.editor.view.spi
 

Methods in org.netbeans.editor.view.spi that return ViewLayoutState
 ViewLayoutState ViewLayoutState.selectLayoutMajorAxis(int majorAxis)
          Select which axis will be used as major axis by this layout state.
 

Methods in org.netbeans.editor.view.spi with parameters of type ViewLayoutState
 float ViewLayoutState.Parent.getMinorAxisSpan(ViewLayoutState child)
          Get span of the given child along the minor axis.
 void ViewLayoutState.Parent.layoutInvalid(ViewLayoutState child)
          Notify this view that layout of the particular child has become invalid and needs to be updated.
 void ViewLayoutState.Parent.majorAxisPreferenceChanged(ViewLayoutState child, double majorAxisSpanDelta)
          By using this method a child layout state notifies its parent that its requirement for span along the major axis has changed against the previous value.
 void ViewLayoutState.Parent.minorAxisPreferenceChanged(ViewLayoutState child)
          By using this method a child layout state notifies its parent that either preferred, minimum or maximum spans or aligment along the minor axis has changed against their previous values.
 void ViewLayoutState.Parent.repaint(ViewLayoutState child, double majorAxisOffset, double majorAxisSpan, float minorAxisOffset, float minorAxisSpan)
          Inform the parent that the child layout state needs a repaint.
 

Uses of ViewLayoutState in org.netbeans.lib.editor.view
 

Classes in org.netbeans.lib.editor.view that implement ViewLayoutState
 class DefaultViewLayoutState
          Extension of SimpleViewLayoutState that thoroughly handles minimum and maximum spans.
 class GapBoxView
          Composite view implementation inspired by the AsyncBoxView holding its children in GapObjectArray and capable of posting complex layout changes into a separate layout thread.
 class GapDocumentView
          View responsible for holding all line views for a particular document.
 class GapLineView
          Extension of GapBoxView encapsulating one line of a text capable of doing baseline layout and line wrapping.
 class GapMultiLineView
          Extension of GapLineView capable of encapsulating one or more lines depending on a possible presence of collapsed fold views as children of this view.
 class SimpleViewLayoutState
          Implementation of ViewLayoutState for non-flyweight views that only caches preferred spans along both axes.
 

Methods in org.netbeans.lib.editor.view that return ViewLayoutState
protected  ViewLayoutState GapBoxView.createChild(View v)
          New ViewLayoutState records are created through this method to allow subclasses the extend the ViewLayoutState records to do/hold more
protected  ViewLayoutState GapBoxView.createDefaultChild(View v)
          Return default implementation of the view layout state wrapper.
protected  ViewLayoutState GapBoxView.getChild(int index)
          Fetch the object representing the layout state of of the child at the given index.
 ViewLayoutState SimpleViewLayoutState.selectLayoutMajorAxis(int axis)
           
 ViewLayoutState GapBoxView.selectLayoutMajorAxis(int axis)
           
 

Methods in org.netbeans.lib.editor.view with parameters of type ViewLayoutState
protected  int GapBoxView.getChildIndex(ViewLayoutState child)
          Get the index of the given child layout state in this view.
protected  int GapBoxView.getChildIndexNoCheck(ViewLayoutState child)
          Get the index of the given child layout state in this view.
 float GapBoxView.getMinorAxisSpan(ViewLayoutState child)
          Get span of the given child along the minor axis of this view.
 void GapBoxView.layoutInvalid(ViewLayoutState child)
          Called by children to mark layout of this view invalid.
 void GapBoxView.majorAxisPreferenceChanged(ViewLayoutState child, double majorAxisSpanDelta)
          Preference of one of the children has changed along the major axis.
 void GapBoxView.minorAxisPreferenceChanged(ViewLayoutState child)
          Preference of one of the children has changed along the minor axis.
 void GapDocumentView.repaint(ViewLayoutState child, double majorAxisOffset, double majorAxisSpan, float minorAxisOffset, float minorAxisSpan)
           
 void GapBoxView.repaint(ViewLayoutState child, double majorAxisOffset, double majorAxisSpan, float minorAxisOffset, float minorAxisSpan)
           
 


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.