Uiinfrastructure API Docs  
 

PTListItem Members

PTListItem overview

Public Instance Constructors

PTListItem Overloaded. Initializes a new instance of the PTListItem class.

Public Instance Methods

AddItemCellsToRow Call this method to add HTMLTableCell objects describing this item to the passed HTMLTableRow.

AddProperty Call this method to add a name/value property pair to this item.
AddSubLink Call this method to add a sublink to this list item. Each sublink can be new and/or updated.

AllowBreaksInMainCell Call this method to allow line breaks added to the main cell of this item. This is the default state of a list item, so calling this method is unnecessary unless SuppressBreaksInMainCell has been called previously.
EnableCheckbox Call this method to cause this item to display a checkbox input.

EnableSelectionInput Call this method to cause this item to display a selection input allowing the user to select this item among the list of items.

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetCellHeight 
GetEditAnchor 
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.
GetItemAsTable Call this method to obtain an HTMLTable that will render this list item as it is currently configured.
GetPreviewAnchor 
GetSelectionInput 
GetType (inherited from Object)Gets the Type of the current instance.
SetAlwaysDrawEditItemCell Call this method to force this item to draw the HTMLTableCell in which the edit button is nested whether the edit button is set or not. By default, this cell is not drawn, but if you wish for some items in a table to contain this button while others do not, then this HTMLTableCell should always be drawn.
SetAlwaysDrawItemPreviewCell Call this method to force this item to draw the HTMLTableCell in which the preview button is nested whether the preview button is set or not. By default, this cell is not drawn, but if you wish for some items in a table to contain this button while others do not, then this HTMLTableCell should always be drawn.
SetAlwaysDrawItemTypeCell Call this method to force this item to draw the HTMLTableCell in which the item type image is nested whether the item type image is set or not. By default, this cell is not drawn, but if you wish for some items in a table to contain this image while others do not, then this HTMLTableCell should always be drawn.
SetAlwaysDrawSelectionInputCell Call this method to force this item to draw the HTMLTableCell in which the selection input is nested whether the selection input is set or not. By default, this cell is not drawn, but if you wish for some items in a table to contain this input while others do not, then this HTMLTableCell should always be drawn.
SetApprovalStateImage 
SetCellHeight 
SetDescription Call this method to set the description for this list item.
SetItemEditButton Call this method to set the image/href that allows users to edit this item.

Calling this method will cause the generated table to contain one additional column.

SetItemPreviewButton Call this method to set the image/href that allows users to preview this item.

Calling this method will cause the generated table to contain one additional column.

SetItemTypeImageOverloaded. Call this method to set the image that indicates the type of this item.

Calling this method will cause the generated table to contain one additional column.

SetMaxNumSubLinksDisplayed Call this method to set the maximum number of sub links displayed with this item.

SetNew Call this method to toggle the newness of this list item.
SetPropertiesLink Call this method to set the properties link on this list item.
SetRowStyleClass Call this method to set the style class for the HTMLTableRow rendering this item.

SetTableStyleClass 
SetTitleOverloaded.  
SetTitleStyleClass 
SetUpdated Call this method to toggle the updatedness of this list item.
SuppressBreaksInMainCell Call this method to supress line breaks added to the main cell of this item. A break after the title anchor will still be drawn.
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.
GetNewIndicator 
GetUpdatedIndicator 
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

PTListItem Class | com.plumtree.xpshared.htmlconstructs Namespace