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

FlyView.Parent (Editor Library) - NetBeans API Javadoc (Current Development Version)

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

org.netbeans.editor.view.spi
Interface FlyView.Parent

Enclosing interface:
FlyView

public static interface FlyView.Parent

Interface that views capable of maintaining flyweight views as their children must implement.


Method Summary
 int getEndOffset(int childViewIndex)
          Get end offset of the child with the given index.
 int getStartOffset(int childViewIndex)
          Get start offset of the child with the given index.
 

Method Detail

getStartOffset

int getStartOffset(int childViewIndex)
Get start offset of the child with the given index.
The child can be either flyweight or regular view.

Parameters:
childViewIndex - >=0 index of the child.
Returns:
start offset of the requested child.

getEndOffset

int getEndOffset(int childViewIndex)
Get end offset of the child with the given index.
The child can be either flyweight or regular view.

Parameters:
childViewIndex - >=0 index of the child.
Returns:
start offset of the requested child.

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.