Uiinfrastructure API Docs  
 

AHTMLComponent Members

AHTMLComponent overview

Public Instance Constructors

icon AHTMLComponent Constructor Creates an AHTML Component

Public Instance Methods

iconAddValidator Add a validator to this component's collection of validators.
iconCreate (inherited from AComponent) Create method for the object returns an instance of the object.
iconEquals (inherited from Object)Determines whether the specified Object is equal to the current Object.
iconGetComponentHeadContent (inherited from AComponent) This method returns script that needs to be printed within the HTML head tag. This method could have been abstract except that most components do not have a use for it. It therefore returns null and should be overridden as needed. (Note: there is an anologous method for printing page- level content in ComponentMgr.)
iconGetComponentHTML (inherited from AComponent) This method serves as a getter for component HTML. Sub-classes must implement this method.
iconGetComponentMgr Returns a ComponentMgr for this component. By default classes that extend AHTMLComponent may use this method to return the defualt ComponentMgr HTMLComponentMgr. If a component needs another ComponentMgr it should override this method.
iconGetComponentMgrName Returns the name of the ComponentMgr for this component. By default classes that extend AHTMLComponent may use this method to return the defualt ComponentMgr name, HTMLComponentMgr.STR_CLASS_NAME. If a component needs another ComponentMgr it should override this method.
iconGetComponentPostContent (inherited from AComponent) This method returns script that needs to be printed after the component itself has been printed. This method could have been abstract except that most components do not have a use for it. It therefore returns null and should be overridden as needed. (Note: there is an anologous method for printing page- level content in ComponentMgr.)
iconGetComponentPreContent (inherited from AComponent) This method returns script that needs to be printed before the component itself has been printed. This method could have been abstract except that most components do not have a use for it. It therefore returns null and should be overridden as needed. (Note: there is an anologous method for printing page- level content in ComponentMgr.)
iconGetComponentPreFormContent (inherited from AComponent) This method returns script that needs to be printed before the form in which this component is embedded. It therefore returns null and should be overridden as needed. (Note: there is an anologous method for printing page- level content in ComponentMgr.)
iconGetHashCode (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.
iconGetHTMLComponentName JF- Returns the name of this HTML Component.
iconGetHTMLComponentSize JF- Returns the size of this HTML Component.
iconGetHTMLComponentStyleClass JF- Returns the style class of this HTML Component.
iconGetHTMLComponentValue JF- Returns the value of this HTML Component.
iconGetJSValidationCode Return a string made up of all the JSValidationCode for each of the Validator's associated with this component.
iconGetLabel Returns the Label of this component
iconGetName (inherited from AComponent) Return the name or this component.
iconGetPageMgr (inherited from AComponent) This method returns the page manager that houses this component manager.
iconGetSubComponentHTMLByIndex (inherited from AComponent) This method serves as a getter for "sub-component" HTML. The breakdown of sub-components is decided by the component author. One example is the date/time-picker. It is made up of two sub-components: the date-picker and the time-picker. The constants for component sub-index should be specified in the component file and prefixed with "N_SUB_COMPONENT_INDEX." If the specified index is not valid, null should be returned. This method returns null in the parent instead of being abstract becuase many components will not need to use this method.
iconGetType (inherited from Object)Gets the Type of the current instance.
iconGetUniqueInstanceID (inherited from AComponent) This method returns the string used to uniquely idenify this component on a page.
iconGetValidators Return the list of Validators associated with this object.
iconInit JF- Initializes a new AHTMLComponent object.
iconSetHTMLComponentName JF- Sets the name of this HTML Component.
iconSetHTMLComponentSize JF- Sets the size of this HTML Component.
iconSetHTMLComponentStyleClass JF- Sets the style class of this HTML Component.
iconSetHTMLComponentValue JF- Sets the value of this HTML Component.
iconSetLabel Sets the Label of this component
iconStoreUserInput JF- Store the new value of this HTML component.
iconToString (inherited from Object)Returns a String that represents the current Object.
iconValidate Return an XPArrayList of UIError messages gathered by calling the validate() method on all Validators in this Component's collection of Validators.

Protected Instance Fields

iconm_ptPageMgr (inherited from AComponent) The page manager associated with this component.

Protected Instance Methods

iconAppendUniqueIDToElementName (inherited from AComponent) This method should be used to add the unique identifier to HTML inputs related to this component. If my element name is "in_cb_MyCheckBox" and my unique ID is "one", then this method will return "in_cb_MyCheckBox_one".
iconFinalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
iconGetHTMLComponentBaseName JF- Returns the base name of this HTML Component. E.g.: in_tx_pc
iconMemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
iconSetParameters Transfer the properties set to this object to the associated properties on the HTMLInput object. For example, Set the HTMLInput's styleClass with this object's GetHTMLComponentStyleClass.

See Also

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