Plumtree UI Infrastructure API  
 

PTConstructType Members

PTConstructType overview

Public Static Fields

DO_NOT_UPDATE Use this as the value for those strings which should not be automatically updated by the factory. For example, a gadget banner's title is not a string that is extracted and localized, but rather a string that simply needs to be filled in.

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 Constructors

PTConstructType Constructor Initializes a new instance of the PTConstructType class.

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