Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: 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
[oneway] void
addSpinListener( [in] XSpinListener  l );

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

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

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

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

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

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

Description
enables/disables automatic repeat mode.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.