org.gnu.gtk

Class TextView.VerticalLineRange

Enclosing Class:
TextView

public static final class TextView.VerticalLineRange
extends java.lang.Object

Class to handle returns from TextView.VerticalLineRange. Contains the starting y-coordinates of a line and the height of the line.

Constructor Summary

VerticalLineRange(int y, int height)

Method Summary

int
getHeight()
int
getY()

Constructor Details

VerticalLineRange

public VerticalLineRange(int y,
                         int height)

Method Details

getHeight

public final int getHeight()
Returns:
The height of the line

getY

public final int getY()
Returns:
The y-coordinate of the line in buffer coordinates