Overview | Module | Use | Devguide | Index

Included Services | Exported Interfaces | Properties' Summary | Properties' Details

:: com :: sun :: star :: awt ::
service UnoControlFormattedFieldModel
Description specifies the standard model of an UnoControlFormattedField .

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.
EffectiveDefault | specifies the default value of the formatted field.
EffectiveMax | specifies the maximum value that can be entered.
EffectiveMin | specifies the minimum value that can be entered.
EffectiveValue | specifies the current value of the formatted field.
Enabled | determines whether the control is enabled or disabled.
FontDescriptor | specifies the font attributes of the text in the control.
FontEmphasisMark | specifies the ::com::sun::star::text::FontEmphasis value of the text in the control.
FontRelief | specifies the ::com::sun::star::text::FontRelief value 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.
HelpText | specifies the help text of the control.
HelpURL | specifies the help URL of the control.
MaxTextLen | specifies the maximum character count.
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 user input.
Tabstop | specifies that the control can be reached with the TAB key.
Text | specifies the text displayed in the control.
TextColor | specifies the text color (RGB) of the control.
TextLineColor | specifies the text line color (RGB) of the control.
TreatAsNumber | specifies that the text is treated as a number.

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
EffectiveDefault
any EffectiveDefault; Description specifies the default value of the formatted field. This may be a numeric value (double) or a string, depending on the formatting of the field.
EffectiveMax
double EffectiveMax; Description specifies the maximum value that can be entered. This property is ignored if the format of the field is no numeric format.
EffectiveMin
double EffectiveMin; Description specifies the minimum value that can be entered. This property is ignored if the format of the field is no numeric format.
EffectiveValue
double EffectiveValue; Description specifies the current value of the formatted field. This may be a numeric value (double) or a string, depending on the formatting of the field.
Enabled
boolean Enabled; Description determines whether the control is enabled or disabled.
FontDescriptor
FontDescriptor FontDescriptor; Description specifies the font attributes of the text in the control.
FontEmphasisMark
short FontEmphasisMark; Description specifies the ::com::sun::star::text::FontEmphasis value of the text in the control.
FontRelief
short FontRelief; Description specifies the ::com::sun::star::text::FontRelief value 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.
HelpText
string HelpText; Description specifies the help text of the control.
HelpURL
string HelpURL; Description specifies the help URL of the control.
MaxTextLen
short MaxTextLen; Description specifies the maximum character count. There's no limitation, if set to 0.
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 user 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 TAB key.
Text
string Text; Description specifies the text displayed in the control.
TextColor
long TextColor; Description specifies the text color (RGB) of the control.
TextLineColor
long TextLineColor; Description specifies the text line color (RGB) of the control.
TreatAsNumber
boolean TreatAsNumber; Description specifies that the text is treated as a number.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.