interface XSpinField in module com::sun::star::awt::

(Global Index)

Syntax

interface XSpinField : com::sun::star::uno::XInterface ;

Description

gives access to the value of a spin field and makes it possible to register event listeners.

Method Summary

addSpinListener registers a spin listener.

removeSpinListener unregisters a spin listener.

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.

Method Details



addSpinListener

Syntax

oneway void addSpinListener (
com::sun::star::awt::XSpinListener l );

Description

registers a spin listener.


removeSpinListener

Syntax

oneway void removeSpinListener (
com::sun::star::awt::XSpinListener l );

Description

unregisters a spin listener.


up

Syntax

oneway void up ();

Description

increases the value by one step.


down

Syntax

oneway void down ();

Description

decreases the value by one step.


first

Syntax

oneway void first ();

Description

sets the value to the previously set lower value.


last

Syntax

oneway void last ();

Description

sets the value to the previously set upper value.


enableRepeat

Syntax

oneway void enableRepeat (
boolean bRepeat );

Description

enables/disables automatic repeat mode.

Top of Page