|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface extends IPropertyDescriptor so that the methods of IItemPropertySource
can be delegated to the descriptor.
This allows the implementing class to completely encapsulate the work associated with supporting a particular property sheet property.
Method Summary | |
boolean |
canSetProperty(Object object)
This determines whether this descriptor's property for the object supports set (and reset). |
String |
getCategory(Object object)
Returns the name of the category to which this property belongs. |
Collection |
getChoiceOfValues(Object object)
|
String |
getDescription(Object object)
Returns a brief description of this property. |
String |
getDisplayName(Object object)
Returns the display name for this property. |
Object |
getFeature(Object object)
Returns the feature. |
String[] |
getFilterFlags(Object object)
Returns a list of filter types to which this property belongs. |
Object |
getHelpContextIds(Object object)
|
String |
getId(Object object)
Returns the id for this property. |
IItemLabelProvider |
getLabelProvider(Object object)
Returns the label provider for this property. |
Object |
getPropertyValue(Object object)
This fetches this descriptor's property from the object. |
boolean |
isCompatibleWith(Object object,
Object anotherObject,
IItemPropertyDescriptor anotherPropertyDescriptor)
Returns whether this property descriptor and the given one are compatible. |
boolean |
isPropertySet(Object object)
This determines whether this descriptor's property for the object is set. |
void |
resetPropertyValue(Object object)
This resets this descriptor's property for the object. |
void |
setPropertyValue(Object object,
Object value)
This sets this descriptor's property for the object to the given value. |
Method Detail |
public Object getPropertyValue(Object object)
public boolean isPropertySet(Object object)
public boolean canSetProperty(Object object)
public void resetPropertyValue(Object object)
public void setPropertyValue(Object object, Object value)
public String getCategory(Object object)
public String getDescription(Object object)
public String getDisplayName(Object object)
public String[] getFilterFlags(Object object)
public Object getHelpContextIds(Object object)
public String getId(Object object)
public IItemLabelProvider getLabelProvider(Object object)
public boolean isCompatibleWith(Object object, Object anotherObject, IItemPropertyDescriptor anotherPropertyDescriptor)
public Object getFeature(Object object)
public Collection getChoiceOfValues(Object object)
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |