Plumtree UI Infrastructure API  
 

PTConstructType Methods

The methods of the PTConstructType class are listed below. For a complete list of PTConstructType class members, see the PTConstructType Members topic.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetDescription 
GetElementName Call this method to obtain an ElementName object indicating a specific html element found within this construct.

For example, to obtain an ElementName object indicating the html element containing the wide banner's title, do the following:

myEName = PTBannerType.WIDE.GetElementName( PTBannerType.ELEMENT_NAME_ID_TITLE );

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.
GetHTMLElement Call this method to obtain a prototype HTMLElement for this particular construct type. This prototype should neither be used, nor modified, though it may be examined or cloned.

If you wish to obtain an HTMLElement representation of this construct type that is all your own, with which you're free to do as you please, use the PTConstructFactory.GetConstruct() method.
GetImgElementNameToAltIdMap Call this method to obtain a string dictionary mapping element names to img alt id's. An element name indicates the name of a particular HTMLImg element within this construct. An img alt id indicates the id that may be used to obtain an alt string.
GetStringMap 
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

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

PTConstructType Class | com.plumtree.xpshared.htmlconstructs Namespace