Overview | Module | Use | Devguide | Index

Services' Summary | Interfaces' Summary | Properties' Summary | Services' Details | Interfaces' Details | Properties' Details

:: com :: sun :: star :: awt ::
unpublished | service UnoControlSpinButtonModel |
Usage Restrictions not published Description specifies the standard model of an UnoControlSpinButton. A spin button is a control which has a numeric value associated with it, and allows to change this value using two spin buttons. A spin button is similar to a scroll bar, but it usually has no (own) visual representation of the associated value, but is used to propagate it's value to other controls. See also UnoControlScrollBarModel

Included Services - Summary
UnoControlModel | (referenced entity's summary:) specifies the standard model of an UnoControl in the Smalltalk model view controller design.

Properties' Summary
short Border | specifies the border style of the control.
long BorderColor | [ OPTIONAL ] specifies the color of the border, if present
boolean Enabled | determines whether the control is enabled or disabled.
string HelpText | specifies the help text of the control.
string HelpURL | specifies the help URL of the control.
long SpinIncrement | specifies the increment by which the value is changed when using operating the spin button.
long Orientation | specifies the ScrollBarOrientation of the control.
boolean Printable | specifies whether the control will be printed with the document.
long SpinValue | specifies the current value of the control.
long SpinValueMin | specifies the minimum value of the control.
long SpinValueMax | specifies the maximum value of the control.
::com::sun::star::util::Color BackgroundColor | specifies the RGB color to be used for the control
::com::sun::star::util::Color SymbolColor | specifies the RGB color to be used when painting symbols which are part of the control's appearance, such as the arrow buttons.
boolean Repeat | specifies whether the mouse should show repeating behavior, i.e. repeatedly trigger an action when keeping pressed.
long RepeatDelay | specifies the mouse repeat delay, in milliseconds.
short MouseWheelBehavior | [ OPTIONAL ] defines how the mouse wheel can be used to scroll through the control's content.

Included Services - Details
UnoControlModel
(referenced entity's summary:) specifies the standard model of an UnoControl in the Smalltalk model view controller design.

Properties' Details
Border
  short Border; Description specifies the border style of the control.
       0: No border
       1: 3D border
       2: simple border
BorderColor
long BorderColor; Usage Restrictions optional Description specifies the color of the border, if present Not every border style (see Border) may support coloring. For instance, usually a border with 3D effect will ignore the BorderColor setting. Since OOo 2.0
Enabled
boolean Enabled; Description determines whether the control is enabled or disabled.
HelpText
string HelpText; Description specifies the help text of the control.
HelpURL
string HelpURL; Description specifies the help URL of the control.
SpinIncrement
long SpinIncrement; Description specifies the increment by which the value is changed when using operating the spin button.
Orientation
long Orientation; Description specifies the ScrollBarOrientation of the control.
Printable
boolean Printable; Description specifies whether the control will be printed with the document.
SpinValue
long SpinValue; Description specifies the current value of the control.
SpinValueMin
long SpinValueMin; Description specifies the minimum value of the control.
SpinValueMax
long SpinValueMax; Description specifies the maximum value of the control.
BackgroundColor
::com::sun::star::util::Color BackgroundColor; Description specifies the RGB color to be used for the control
SymbolColor
::com::sun::star::util::Color SymbolColor; Description specifies the RGB color to be used when painting symbols which are part of the control's appearance, such as the arrow buttons.
Repeat
boolean Repeat; Description specifies whether the mouse should show repeating behavior, i.e. repeatedly trigger an action when keeping pressed.
RepeatDelay
long RepeatDelay; Description specifies the mouse repeat delay, in milliseconds. When the user presses a mouse in a control area where this triggers an action (such as spinning the value), then usual control implementations allow to repeatedly trigger this action, without the need to release the mouse button and to press it again. The delay between two such triggers is specified with this property.
MouseWheelBehavior
short MouseWheelBehavior; Usage Restrictions optional Description defines how the mouse wheel can be used to scroll through the control's content. Usually, the mouse wheel spins the numeric value displayed in the control. Using this property, and one of the MouseWheelBehavior constants, you can control under which circumstances this is possible.

Top of Page

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.