25 #ifndef __SBIMAGELABELLINKPROPERTYINFO_H__
26 #define __SBIMAGELABELLINKPROPERTYINFO_H__
30 #include <sbIClickablePropertyInfo.h>
31 #include <sbIImageLinkPropertyInfo.h>
32 #include <sbIPropertyBuilder.h>
33 #include <sbIPropertyManager.h>
34 #include <sbITreeViewPropertyInfo.h>
36 #include <nsClassHashtable.h>
38 #include <nsStringGlue.h>
45 NS_DECL_ISUPPORTS_INHERITED
46 NS_DECL_SBIIMAGELINKPROPERTYINFO
47 NS_DECL_SBIIMAGELABELLINKPROPERTYINFO
50 typedef nsClassHashtable<nsCStringHashKey, nsCString>
ImageMap_t;
51 typedef nsClassHashtable<nsCStringHashKey, nsString>
LabelMap_t;
79 NS_IMETHOD
HitTest(
const nsAString& aCurrentValue,
80 const nsAString& aPart,
92 NS_IMETHOD
Format(
const nsAString&
aValue, nsAString& _retval);
NS_IMETHOD SetRemoteReadable(PRBool aRemoteReadable)
nsTHashtable< nsISupportsHashKey > InterfaceSet_t
NS_IMETHOD SetLocalizationKey(const nsAString &aLocalizationKey)
NS_IMETHOD GetImageSrc(const nsAString &aValue, nsAString &_retval)
sbImageLabelLinkPropertyInfo()
NS_IMETHOD Format(const nsAString &aValue, nsAString &_retval)
The property information consists of image and label.
NS_IMETHOD SetPropertyID(const nsAString &aPropertyID)
NS_IMETHOD SetUserViewable(PRBool aUserViewable)
NS_IMETHOD SetUserEditable(PRBool aUserEditable)
NS_IMETHOD OnClick(sbIMediaItem *aItem, nsISupports *aEvent, nsISupports *aContext, PRBool *_retval)
nsClassHashtable< nsCStringHashKey, nsString > LabelMap_t
NS_IMETHOD SetUrlPropertyID(const nsAString &aUrlPropertyID)
nsClassHashtable< nsCStringHashKey, nsCString > ImageMap_t
NS_IMETHOD HitTest(const nsAString &aCurrentValue, const nsAString &aPart, PRUint32 aBoxWidth, PRUint32 aBoxHeight, PRUint32 aMouseX, PRUint32 aMouseY, PRBool *_retval)
NS_IMETHOD SetDisplayName(const nsAString &aDisplayName)
NS_IMETHOD GetCellProperties(const nsAString &aValue, nsAString &_retval)
virtual ~sbImageLabelLinkPropertyInfo()
NS_IMETHOD SetRemoteWritable(PRBool aRemoteWritable)