org.netbeans.modules.editor.lib/1 1.44.0 9

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.44.0 9

Built on November 22 2009.  |  Portions Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.