Attributes' Details |
DecimalDigits
short DecimalDigits;
- Description
- describes the number of decimal digits to use for the value
|
|
MinValue
::com::sun::star::beans::Optional< double > MinValue;
- Description
- describes the minimum value which is allowed to be entered in the control
|
|
MaxValue
::com::sun::star::beans::Optional< double > MaxValue;
- Description
- describes the maximum value which is allowed to be entered in the control
|
|
DisplayUnit
short DisplayUnit
- set raises (::com::sun::star::lang::IllegalArgumentException);
- Description
- describes a ::com::sun::star::util::MeasureUnit to be applied
for displaying values.
Only a certain set of ::com::sun::star::util::MeasureUnit values is
supported. In particular, every value which denotes a fraction of another
unit (like 100th millimeters) cannot be used as DisplayUnit.
- Throws
- com::sun::star::lang::IllegalArgumentException
if the caller attempts to set an unsupported ::com::sun::star::util::MeasureUnit
|
|
ValueUnit
short ValueUnit;
- Description
- describes a ::com::sun::star::util::MeasureUnit to be
applied for transferring values.
The core measurement unit for a property value might differ from the unit which
is used by the control to display it. For instance, your property value might require
that your values denote 100th millimeters, but to the user, you want to present the
value as, say, inches. In this case, a numeric control can automatically handle the
value conversion for you, if you give it a ValueUnit different from the DisplayUnit.
- See also
- XPropertyControl::Value
|
|
Copyright © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.