ScrollEvent.ScrollEvent

Overview | Methods | Fields | This Package | All Packages

ScrollEvent.ScrollEvent

Creates a ScrollEvent object.

Syntax

public ScrollEvent( int type, int newValue )

public ScrollEvent( Object extendedInfo, int type, int newValue )

Parameters

type

The type of scroll event that occurred. Set this parameter to one of the constants defined in the ScrollEventType class.

newValue

The new value of the scroll bar.

extendedInfo

Additional information supplied by com.ms.wfc.html events. You should not pass a value for this parameter outside the context of the com.ms.wfc.html package. For more information, see Event.extendedInfo and DhEventInfo.

Exceptions

WFCInvalidEnumException thrown if type is not a valid scroll event type.