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

Uses of Class org.netbeans.api.editor.fold.FoldHierarchy (NetBeans Code Folding API) - NetBeans API Javadoc 5.0.0

 

Uses of Class
org.netbeans.api.editor.fold.FoldHierarchy

Packages that use FoldHierarchy
org.netbeans.api.editor.fold   
org.netbeans.spi.editor.fold   
 

Uses of FoldHierarchy in org.netbeans.api.editor.fold
 

Methods in org.netbeans.api.editor.fold that return FoldHierarchy
static FoldHierarchy FoldHierarchy.get(JTextComponent component)
          Get the fold hierarchy for the given component.
 FoldHierarchy Fold.getHierarchy()
          Get the code folding hierarchy for which this fold was created.
 

Methods in org.netbeans.api.editor.fold with parameters of type FoldHierarchy
static void FoldUtilities.collapseAll(FoldHierarchy hierarchy)
          Collapse all folds in the hierarchy.
static void FoldUtilities.collapse(FoldHierarchy hierarchy, FoldType type)
          Collapse all folds of the given type.
static void FoldUtilities.collapse(FoldHierarchy hierarchy, Collection foldTypes)
          Collapse all folds that having any of the fold types in the given collection.
static void FoldUtilities.expandAll(FoldHierarchy hierarchy)
          Expand all folds in the hierarchy.
static void FoldUtilities.expand(FoldHierarchy hierarchy, FoldType type)
          Expand all folds of the given type.
static void FoldUtilities.expand(FoldHierarchy hierarchy, Collection foldTypes)
          Expand all folds of the given type (or all folds if the type is null) found in the whole fold hierarchy.
static Fold FoldUtilities.findNearestFold(FoldHierarchy hierarchy, int offset)
          Find nearest fold that either starts right at or follows the given offset.
static Fold FoldUtilities.findOffsetFold(FoldHierarchy hierarchy, int offset)
          Find a deepest fold in the hierarchy which contains the offset or has it as one of its boundaries.
static Fold FoldUtilities.findCollapsedFold(FoldHierarchy hierarchy, int startOffset, int endOffset)
          Find the first collapsed fold (deep-diving into the hierarchy) in the requested boundaries.
static Iterator FoldUtilities.collapsedFoldIterator(FoldHierarchy hierarchy, int startOffset, int endOffset)
          Get iterator over the collapsed folds.
 

Uses of FoldHierarchy in org.netbeans.spi.editor.fold
 

Methods in org.netbeans.spi.editor.fold that return FoldHierarchy
 FoldHierarchy FoldOperation.getHierarchy()
          Get the hierarchy for which this fold operations works.
 


 

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