Namespace: Consultingwerk
Class 
WidgetAttributes Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:WidgetAttributes
Purpose:Can verify widget attribute names
Description:Useful as the LIST-QUERY-ATTRS ABL function does return
attribute names and methods. This class provides a way
to verify if an attribute name is valid.
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Mon Jul 13 20:13:17 CEST 2015
Notes:Relies in widgetattributes.xml created by
Consultingwerk.Studio.OpenEdgeDocs.ParseIndexXmlForAttributes
Used by WidgetHelper:ShowWidgetProperties and LogManager:WriteWidgetProperties
to avoid calling into GET-ATTR-CALL-TYPE type calls for widget
methods (as the LIST-QUERY-ATTRS does not allow to distinguish)



Top Method Summary
Options Name Purpose
+ LOGICAL IsValid (character) Verifies that an Attribute name is valid
+ Consultingwerk.Framework.Collections.CharacterList ToList () Returns a List of all widget attributes

Top Constructor Summary
Options Name Purpose
- WidgetAttributes () Constructor for the WidgetAttributes class
WidgetAttributes () Constructor for the WidgetAttributes class


Method Detail
Top

PUBLIC LOGICAL IsValid (character)

Purpose: Verifies that an Attribute name is valid
Notes:

Parameters:
pcAttributeName CHARACTER
The name of the attribute to verify
Returns LOGICAL
Logical value indicating that the attribute name is valid
Top

PUBLIC Consultingwerk.Framework.Collections.CharacterList ToList ()

Purpose: Returns a List of all widget attributes
Notes:

Returns Consultingwerk.Framework.Collections.CharacterList
The CharacterList of all widget attributes


Constructor Detail
Top

PRIVATE WidgetAttributes ()

Purpose: Constructor for the WidgetAttributes class
Notes: Disallow instance creation

Top

STATIC WidgetAttributes ()

Purpose: Constructor for the WidgetAttributes class
Notes:



©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 06:17:50