C# Class MediaPortal.GUI.Library.GUIListItem

An implementation of an item that is part of a collection. (E.g, a GUIThumbnailPanel).
Inheritance: IDisposable
ファイルを表示 Open project: MediaPortal/MediaPortal-1 Class Usage Examples

Protected Properties

Property Type Description
_bigIconName string
_duration int
_dvdLabel string
_folder string
_hasProgressBar bool
_imageBigPinIcon GUIImage
_imageIcon GUIImage
_imagePinIcon GUIImage
_isDownloading bool
_isFolder bool
_isPlayed bool
_isRemote bool
_isSelected bool
_label string
_label2 string
_label3 string
_progressBarPercentage int
_smallIconName string
_thumbNailName string
_thumbnailImage GUIImage

Public Methods

Method Description
Dispose ( ) : void

Free the memory that is used by the icons.

FreeMemory ( ) : void

Free the memory that is used.

GUIListItem ( ) : System

The (empty) constructor of the GUIListItem.

GUIListItem ( GUIListItem item ) : System

Creates a GUIListItem based on another GUIListItem.

GUIListItem ( string strLabel ) : System

Creates a GUIListItem.

GUIListItem ( string aLabel, string aLabel2, string aPath, bool aIsFolder, MediaPortal.Util.FileInformation aFileInformation ) : System
ItemSelected ( GUIControl parent ) : void

this method will raise the OnItemSelected() event to let any listener know that this item has been selected by the user in a list,thumbnail, filmstrip, or coverflow control

RefreshCoverArt ( ) : void

Private Methods

Method Description
DisposeImage ( GUIImage &image ) : void
DoRetrieveArt ( ) : void

This method will raise the OnRetrieveArt() event to ask the listener to supply the thumbnail(s) for this item

itemSelectedCallback ( IAsyncResult ar ) : void

Method Details

Dispose() public method

Free the memory that is used by the icons.
public Dispose ( ) : void
return void

FreeMemory() public method

Free the memory that is used.
public FreeMemory ( ) : void
return void

GUIListItem() public method

The (empty) constructor of the GUIListItem.
public GUIListItem ( ) : System
return System

GUIListItem() public method

Creates a GUIListItem based on another GUIListItem.
public GUIListItem ( GUIListItem item ) : System
item GUIListItem The item on which the new item is based.
return System

GUIListItem() public method

Creates a GUIListItem.
public GUIListItem ( string strLabel ) : System
strLabel string The text of the first label of the item.
return System

GUIListItem() public method

public GUIListItem ( string aLabel, string aLabel2, string aPath, bool aIsFolder, MediaPortal.Util.FileInformation aFileInformation ) : System
aLabel string
aLabel2 string
aPath string
aIsFolder bool
aFileInformation MediaPortal.Util.FileInformation
return System

ItemSelected() public method

this method will raise the OnItemSelected() event to let any listener know that this item has been selected by the user in a list,thumbnail, filmstrip, or coverflow control
public ItemSelected ( GUIControl parent ) : void
parent GUIControl
return void

RefreshCoverArt() public method

public RefreshCoverArt ( ) : void
return void

Property Details

_bigIconName protected_oe property

protected string _bigIconName
return string

_duration protected_oe property

protected int _duration
return int

_dvdLabel protected_oe property

protected string _dvdLabel
return string

_folder protected_oe property

protected string _folder
return string

_hasProgressBar protected_oe property

protected bool _hasProgressBar
return bool

_imageBigPinIcon protected_oe property

protected GUIImage,MediaPortal.GUI.Library _imageBigPinIcon
return GUIImage

_imageIcon protected_oe property

protected GUIImage,MediaPortal.GUI.Library _imageIcon
return GUIImage

_imagePinIcon protected_oe property

protected GUIImage,MediaPortal.GUI.Library _imagePinIcon
return GUIImage

_isDownloading protected_oe property

protected bool _isDownloading
return bool

_isFolder protected_oe property

protected bool _isFolder
return bool

_isPlayed protected_oe property

protected bool _isPlayed
return bool

_isRemote protected_oe property

protected bool _isRemote
return bool

_isSelected protected_oe property

protected bool _isSelected
return bool

_label protected_oe property

protected string _label
return string

_label2 protected_oe property

protected string _label2
return string

_label3 protected_oe property

protected string _label3
return string

_progressBarPercentage protected_oe property

protected int _progressBarPercentage
return int

_smallIconName protected_oe property

protected string _smallIconName
return string

_thumbNailName protected_oe property

protected string _thumbNailName
return string

_thumbnailImage protected_oe property

protected GUIImage,MediaPortal.GUI.Library _thumbnailImage
return GUIImage