Uiinfrastructure API Docs  
 

ComponentMgr Members

ComponentMgr overview

Public Static Fields

STR_CLASS_NAME class name constant

Public Instance Constructors

ComponentMgr Constructor Creates a new ComponentMgr object. Clients need one of these per component type (i.e. datepicker).

Public Instance Methods

AddToValidationFunction For all registered components, for every Validator associated with that component call AFormDP.AddToValidationFunction for the validator. This inserts the JavaScript Validation function name from the Validator to the page's JavaScript Validate method.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetAllHeadContent This method returns ALL HTML--page scope and component scope for all components under this manger--that belongs between the HTML head tags.
GetAllPostContent This method returns ALL HTML--page scope and component scope for all components under this manger--that should be printed after the component itself.
GetAllPreContent This method returns ALL HTML--page scope and component scope for all components under this manger--that should be printed before the component itself.
GetAllPreFormContent This method returns ALL HTML--page scope and component scope for all components under this manger--that should be printed before the form in which this group of components is embedded.
GetComponentOverloaded. This method returns an AComponent object given its unique instance ID. Null is returned if the component is not found.
GetComponentHeadContentOverloaded. Returns the HTML for the designated component that is should be written out within the HTML head tags.
GetComponentHTMLOverloaded. Returns the HTML for the designated component.
GetComponentPostContentOverloaded. Returns the HTML for the designated component that should be written out after the component itself.
GetComponentPreContentOverloaded. Returns the HTML for the designated component that should be written out before the component itself.
GetComponentPreFormContentOverloaded. Returns the HTML for the designated component that should be written out before the form in which the component is embedded.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetJSValidationCode Return JavaScript validation code for each of the validators associated with all components. This function returns the validation code once for each validator. Although the validator may be used several times it is assumed that the JavaScript code is only required one time.
GetNumComponents Returns the number of components registered with this component manger.
GetPageHeadContent This method is meant to return the page-level head content for components of this type. This method just returns null. It could have been abstract, but many components do need to use it. If you need this, you should override it.
GetPageMgr Returns the page manger that is associated with this component manager.
GetPagePostContent This method is meant to return the page-level "post" content for components of this type. This method just returns null. It could have been abstract, but many components do need to use it. If you need this, you should override it.
GetPagePreContent This method is meant to return the page-level head "pre" for components of this type. This method just returns null. It could have been abstract, but many components do need to use it. If you need this, you should override it.
GetPagePreFormContent This method is meant to return the page-level head content for components of this type. This method just returns null. It could have been abstract, but many components do need to use it. If you need this, you should override it.
GetType (inherited from Object)Gets the Type of the current instance.
RegisterComponent This method allows you to register a component with the component manager. The order in which you register components is the order in which calls will be made when doing any looping operation--storing or printing. If you attempt to re-register the same component, it will overwrite the one that existed there before.
StoreAllUserInput Stores the user input for all componets registered with this component manager.
StoreUserInputOverloaded. This method stores the user input for a particular component given its unique ID.
ToString (inherited from Object)Returns a String that represents the current Object.
UnRegisterComponent This method unregisters a component given its unique instance ID.
Validate Call the validation method on all registered componenets. Returns an XPArrayList of all UIErrors generated by the componenets.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

ComponentMgr Class | com.plumtree.uiinfrastructure.pagecontrols.framework Namespace