MeasureItemEvent Class

MeasureItemEvent Class

This Package | All Packages

Event
  |
  +--MeasureItemEvent
public class MeasureItemEvent
extends Event

This event is sent by controls, such as the ListBox and ComboBox, that need users to tell them how large a given item is to be.

Fields
Name Description
index The index of the item for which the height is needed.
itemHeight The height of the item at the specified index.

Constructors
Name Description
MeasureItemEvent(int index, int itemHeight) Topic under construction.

Fields

MeasureItemEvent.index

Syntax
public final int index;
Description
The index of the item for which the height is needed.

MeasureItemEvent.itemHeight

Syntax
public int itemHeight;
Description
The height of the item at the specified index.

Constructors

MeasureItemEvent.MeasureItemEvent

Syntax
public MeasureItemEvent( int index, int itemHeight );
Description

Topic under construction.