:: com :: sun :: star :: awt ::

interface XSpinField
Description
gives access to the value of a spin field and makes it possible to register for spin events.

Methods' Summary
addSpinListener registers a listener for spin events.  
removeSpinListener unregisters a listener for spin events.  
up increases the value by one step.  
down decreases the value by one step.  
first sets the value to the previously set lower value.  
last sets the value to the previously set upper value.  
enableRepeat enables/disables automatic repeat mode.  
Methods' Details
addSpinListener
void
addSpinListener( [in] XSpinListener  l );

Description
registers a listener for spin events.
removeSpinListener
void
removeSpinListener( [in] XSpinListener  l );

Description
unregisters a listener for spin events.
up
void
up();

Description
increases the value by one step.
down
void
down();

Description
decreases the value by one step.
first
void
first();

Description
sets the value to the previously set lower value.
last
void
last();

Description
sets the value to the previously set upper value.
enableRepeat
void
enableRepeat( [in] boolean  bRepeat );

Description
enables/disables automatic repeat mode.
Top of Page