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

service UnoControlFormattedFieldModel
Description
specifies the standard model of an formatted control

Included Services
UnoControlModel
specifies the standard model of an UnoControl in the Smalltalk model view controller design .
Properties' Summary
Align specifies the alignment of the text in the control.
BackgroundColor specifies the background color (RGB) of the control.
Border specifies the border style of the control.
DefaultControl specifies the service name of the default control for this model.
EffectiveDefault specifies the default value of the field
EffectiveMax specifies the maximal value of the field.
EffectiveMin specifies the minimal value of the field.
EffectiveValue specifies the current value of the field.
Enabled determines whether a control is enabled or disabled.
FontDescriptor specifies the font attributes of the text in the control.
FormatKey specifies the format to be used when formatting the field input and output
FormatsSupplier supplies the formats the field should work with.
MaxTextLen specifies the maximum character count; 0 means no limit.
Printable specifies that the control will be printed with the document.
ReadOnly specifies that the content of the control cannot be modified by the user.
Spin specifies that the control has a spin button.
StrictFormat [ OPTIONAL ]
specifies that the text is checked during the input.
Tabstop specifies that the control can be reached with the tabulator key.
Text specifies the text that is displayed in the control.
TextColor specifies the text color (RGB) of the control.
HelpText specifies the help text of the control.
HelpURL specifies the help id of the control.
Properties' Details
Align
short Align;
Description
specifies the alignment of the text in the control.
 0: left
 1: center
 2: right
BackgroundColor
long BackgroundColor;
Description
specifies the background color (RGB) of the control.
Border
short Border;
Description
specifies the border style of the control.
 0: No border
 1: 3D border
 2: simple border
DefaultControl
string DefaultControl;
Description
specifies the service name of the default control for this model.
EffectiveDefault
any EffectiveDefault;
Description
specifies the default value of the field

This may be a numeric value (double) or a string, depending on the formatting of the field.

EffectiveMax
double EffectiveMax;
Description
specifies the maximal value of the field.

This property is ignored if the format of the field is no numeric format.

EffectiveMin
double EffectiveMin;
Description
specifies the minimal value of the field.

This property is ignored if the format of the field is no numeric format.

EffectiveValue
double EffectiveValue;
Description
specifies the current value of the field.

This may be a numeric value (double) or a string, depending on the formatting of the field.

Enabled
boolean Enabled;
Description
determines whether a control is enabled or disabled.
FontDescriptor
FontDescriptor FontDescriptor;
Description
specifies the font attributes of the text in the control.
FormatKey
long FormatKey;
Description
specifies the format to be used when formatting the field input and output

This value is meaningful relative to the FormatsSupplier property only.

FormatsSupplier
::com::sun::star::util::XNumberFormatsSupplier FormatsSupplier;
Description
supplies the formats the field should work with.
MaxTextLen
short MaxTextLen;
Description
specifies the maximum character count; 0 means no limit.
Printable
boolean Printable;
Description
specifies that the control will be printed with the document.
ReadOnly
boolean ReadOnly;
Description
specifies that the content of the control cannot be modified by the user.
Spin
boolean Spin;
Description
specifies that the control has a spin button.
StrictFormat
boolean StrictFormat;
[ OPTIONAL ]
Description
specifies that the text is checked during the input.

This property is optional - not every component implementing this service is required to provide it, as real-time input checking on a formatted field may be pretty expensive.

Tabstop
boolean Tabstop;
Description
specifies that the control can be reached with the tabulator key.
Text
string Text;
Description
specifies the text that is displayed in the control.
TextColor
long TextColor;
Description
specifies the text color (RGB) of the control.
HelpText
string HelpText;
Description
specifies the help text of the control.
HelpURL
string HelpURL;
Description
specifies the help id of the control.

 
Top of Page