Namespace: Consultingwerk.Windows.LegacyGuiMigration.Widgets
Class 
WidgetFacade Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Windows.LegacyGuiMigration.Widgets.IWidgetFacade
Inherited by: Consultingwerk.Windows.LegacyGuiMigration.Widgets.Infragistics.InfragisticsControlWidget Consultingwerk.Windows.LegacyGuiMigration.Widgets.Infragistics.UltraButtonWidget Consultingwerk.Windows.LegacyGuiMigration.Widgets.Infragistics.UltraCheckEditorWidget Consultingwerk.Windows.LegacyGuiMigration.Widgets.Infragistics.UltraComboEditorWidget Consultingwerk.Windows.LegacyGuiMigration.Widgets.Infragistics.UltraDateEditorWidget Consultingwerk.Windows.LegacyGuiMigration.Widgets.Infragistics.UltraDateTimeEditorWidget Consultingwerk.Windows.LegacyGuiMigration.Widgets.Infragistics.UltraNumericEditorDecimalWidget Consultingwerk.Windows.LegacyGuiMigration.Widgets.Infragistics.UltraNumericEditorIntegerWidget Consultingwerk.Windows.LegacyGuiMigration.Widgets.Infragistics.UltraOptionSetWidget Consultingwerk.Windows.LegacyGuiMigration.Widgets.Infragistics.UltraTextEditorWidget Consultingwerk.Windows.LegacyGuiMigration.Widgets.Infragistics.UltraTextEditorEditorWidget
ABSTRACT USE-WIDGET-POOL

File:WidgetFacade
Purpose:Abstract base class for all Widget representations
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Sep 05 09:16:42 CEST 2015
/* Mike Fechner, Consultingwerk Ltd. 13.09.2017
Preprocessor variables for SmartComponentLibrary, WinKit and SmartFramework
based on Consultingwerk/packages.i now



Top Method Summary
Options Name Purpose
- EnabledChangedHandler (Object, EventArgs) Event handler for the EnabledChanged event of the .NET Control
+ Consultingwerk.Windows.LegacyGuiMigration.Widgets.IWidgetFacade FromControl (Control) Returns the IWidget reference for a given .NET Control
# A INTEGER GetBGCOLOR () SET method for the BGCOLOR property
# A INTEGER GetFGCOLOR () SET method for the FGCOLOR property
# CHARACTER GetFORMAT () GET method for the FORMAT property
# LOGICAL GetHIDDEN () GET method for the HIDDEN property
# CHARACTER GetSCREEN-VALUE () GET method for the SCREEN-VALUE property
# LOGICAL GetSENSITIVE () GET method for the SENSITIVE property
# LOGICAL GetVISIBLE () GET method for the VISIBLE property
# A SetBGCOLOR (integer) SET method for the BGCOLOR property
# A SetFGCOLOR (integer) SET method for the FGCOLOR property
# SetFORMAT (character) SET method for the FORMAT property
# SetHIDDEN (logical) SET method for the HIDDEN property
# SetSCREEN-VALUE (character) SET method for the SCREEN-VALUE property
# SetSENSITIVE (logical) SET method for the SENSITIVE property
# SetVISIBLE (logical) SET method for the VISIBLE property

Top Constructor Summary
Options Name Purpose
# WidgetFacade (Control) Constructor for the WidgetFacade class

Top Property Summary
Options Name Purpose
+ INTEGER BGCOLOR
+ System.Windows.Forms.Control Control
+ A CHARACTER DATA-TYPE
+ INTEGER FGCOLOR
+ CHARACTER FORMAT
+ LOGICAL HIDDEN
+ LOGICAL MODIFIED
+ CHARACTER NAME
+ CHARACTER PRIVATE-DATA
+ CHARACTER SCREEN-VALUE
+ LOGICAL SENSITIVE
+ A CHARACTER TYPE
+ LOGICAL VISIBLE


Method Detail
Top

PRIVATE EnabledChangedHandler (Object, EventArgs)

Purpose: Event handler for the EnabledChanged event of the .NET Control
Notes: Resets the MODIFIFED Attribute when Enabled = TRUE

Parameters:
sender System.Object
The reference to the object that raised the event
e System.EventArgs
The System.EventArgs with the data for this event
Top

PUBLIC Consultingwerk.Windows.LegacyGuiMigration.Widgets.IWidgetFacade FromControl (Control)

Purpose: Returns the IWidget reference for a given .NET Control
Notes: Factory method.
Throws UnsupportedControlTypeException when Controls can not be mapped
to an WidgetFacade instance

Parameters:
poControl System.Windows.Forms.Control
The .NET Control to return the Widget reference for
Returns Consultingwerk.Windows.LegacyGuiMigration.Widgets.IWidgetFacade
The reference to the IWidget representing the .NET Control
Top

PROTECTED INTEGER GetBGCOLOR ()

Purpose: SET method for the BGCOLOR property
Notes:

Returns INTEGER
The BGCOLOR value
Top

PROTECTED INTEGER GetFGCOLOR ()

Purpose: SET method for the FGCOLOR property
Notes:

Returns INTEGER
The FGCOLOR value
Top

PROTECTED CHARACTER GetFORMAT ()

Purpose: GET method for the FORMAT property
Notes:

Returns CHARACTER
Character value indicating the FORMAT Value
Top

PROTECTED LOGICAL GetHIDDEN ()

Purpose: GET method for the HIDDEN property
Notes:

Returns LOGICAL
Logical value indicating the HIDDEN Value
Top

PROTECTED CHARACTER GetSCREEN-VALUE ()

Purpose: GET method for the SCREEN-VALUE property
Notes:

Returns CHARACTER
Character value indicating the SCREEN-VALUE Value
Top

PROTECTED LOGICAL GetSENSITIVE ()

Purpose: GET method for the SENSITIVE property
Notes:

Returns LOGICAL
Logical value indicating the SENSITIVE Value
Top

PROTECTED LOGICAL GetVISIBLE ()

Purpose: GET method for the VISIBLE property
Notes:

Returns LOGICAL
Logical value indicating the VISIBLE Value
Top

PROTECTED SetBGCOLOR (integer)

Purpose: SET method for the BGCOLOR property
Notes:

Parameters:
piValue INTEGER
The new value for the the BGCOLOR property
Top

PROTECTED SetFGCOLOR (integer)

Purpose: SET method for the FGCOLOR property
Notes:

Parameters:
piValue INTEGER
The new value for the the FGCOLOR property
Top

PROTECTED SetFORMAT (character)

Purpose: SET method for the FORMAT property
Notes:

Parameters:
pcValue CHARACTER
The new value for the the FORMAT property
Top

PROTECTED SetHIDDEN (logical)

Purpose: SET method for the HIDDEN property
Notes:

Parameters:
plValue LOGICAL
The new value for the the HIDDEN property
Top

PROTECTED SetSCREEN-VALUE (character)

Purpose: SET method for the SCREEN-VALUE property
Notes:

Parameters:
pcValue CHARACTER
The new value for the the SCREEN-VALUE property
Top

PROTECTED SetSENSITIVE (logical)

Purpose: SET method for the SENSITIVE property
Notes:

Parameters:
plValue LOGICAL
The new value for the the SENSITIVE property
Top

PROTECTED SetVISIBLE (logical)

Purpose: SET method for the VISIBLE property
Notes:

Parameters:
plValue LOGICAL
The new value for the the VISIBLE property


Constructor Detail
Top

PROTECTED WidgetFacade (Control)

Purpose: Constructor for the WidgetFacade class
Notes:

Parameters:
poControl System.Windows.Forms.Control
The reference to the UltraTextEditor this instance should represent


Property Detail
Top

PUBLIC INTEGER BGCOLOR


Returns INTEGER
Top

PUBLIC System.Windows.Forms.Control Control


Returns System.Windows.Forms.Control
Top

PUBLIC CHARACTER DATA-TYPE


Returns CHARACTER
Top

PUBLIC INTEGER FGCOLOR


Returns INTEGER
Top

PUBLIC CHARACTER FORMAT


Returns CHARACTER
Top

PUBLIC LOGICAL HIDDEN


Returns LOGICAL
Top

PUBLIC LOGICAL MODIFIED


Returns LOGICAL
Top

PUBLIC CHARACTER NAME


Returns CHARACTER
Top

PUBLIC CHARACTER PRIVATE-DATA


Returns CHARACTER
Top

PUBLIC CHARACTER SCREEN-VALUE


Returns CHARACTER
Top

PUBLIC LOGICAL SENSITIVE


Returns LOGICAL
Top

PUBLIC CHARACTER TYPE


Returns CHARACTER
Top

PUBLIC LOGICAL VISIBLE


Returns LOGICAL


©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       09.08.2019 00:08:58