C# Class MediaPortal.GUI.Library.GUIListItem

An implementation of an item that is part of a collection. (E.g, a GUIThumbnailPanel).
Inheritance: IDisposable
Afficher le fichier Open project: MediaPortal/MediaPortal-1 Class Usage Examples

Protected Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

Free the memory that is used by the icons.
public Dispose ( ) : void
Résultat void

FreeMemory() public méthode

Free the memory that is used.
public FreeMemory ( ) : void
Résultat void

GUIListItem() public méthode

The (empty) constructor of the GUIListItem.
public GUIListItem ( ) : System
Résultat System

GUIListItem() public méthode

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

GUIListItem() public méthode

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

GUIListItem() public méthode

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
Résultat System

ItemSelected() public méthode

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
Résultat void

RefreshCoverArt() public méthode

public RefreshCoverArt ( ) : void
Résultat void

Property Details

_bigIconName protected_oe property

protected string _bigIconName
Résultat string

_duration protected_oe property

protected int _duration
Résultat int

_dvdLabel protected_oe property

protected string _dvdLabel
Résultat string

_folder protected_oe property

protected string _folder
Résultat string

_hasProgressBar protected_oe property

protected bool _hasProgressBar
Résultat bool

_imageBigPinIcon protected_oe property

protected GUIImage,MediaPortal.GUI.Library _imageBigPinIcon
Résultat GUIImage

_imageIcon protected_oe property

protected GUIImage,MediaPortal.GUI.Library _imageIcon
Résultat GUIImage

_imagePinIcon protected_oe property

protected GUIImage,MediaPortal.GUI.Library _imagePinIcon
Résultat GUIImage

_isDownloading protected_oe property

protected bool _isDownloading
Résultat bool

_isFolder protected_oe property

protected bool _isFolder
Résultat bool

_isPlayed protected_oe property

protected bool _isPlayed
Résultat bool

_isRemote protected_oe property

protected bool _isRemote
Résultat bool

_isSelected protected_oe property

protected bool _isSelected
Résultat bool

_label protected_oe property

protected string _label
Résultat string

_label2 protected_oe property

protected string _label2
Résultat string

_label3 protected_oe property

protected string _label3
Résultat string

_progressBarPercentage protected_oe property

protected int _progressBarPercentage
Résultat int

_smallIconName protected_oe property

protected string _smallIconName
Résultat string

_thumbNailName protected_oe property

protected string _thumbNailName
Résultat string

_thumbnailImage protected_oe property

protected GUIImage,MediaPortal.GUI.Library _thumbnailImage
Résultat GUIImage