Package org.eclipse.zest.cloudio
Interface ICloudLabelProvider
- All Superinterfaces:
- IBaseLabelProvider
- All Known Subinterfaces:
- IEditableCloudLabelProvider
Defines the label of an element within the cloud. Besides of the
 string-label, each element can be assigned a unique weight (used to calculate
 the font size of the rendered element), color, font and angle.
- 
Method SummaryModifier and TypeMethodDescriptionfloatThe angle of the element, which must be between -90 and 90, inclusive.TheColorof the given element, which must not benull.FontData[]getFontData(Object element) TheFontData-array which defines the font of the given element.The label of the given element, which must not benull.getToolTip(Object element) Return the tool tip of the element, ornull, if none.doubleThe weight of the given element, which must be between 0 and 1 (inclusive).Methods inherited from interface org.eclipse.jface.viewers.IBaseLabelProvideraddListener, dispose, isLabelProperty, removeListener
- 
Method Details- 
getLabelThe label of the given element, which must not benull.- Parameters:
- element-
 
- 
getWeightThe weight of the given element, which must be between 0 and 1 (inclusive).- Parameters:
- element-
 
- 
getColorTheColorof the given element, which must not benull.- Parameters:
- element-
 
- 
getFontDataTheFontData-array which defines the font of the given element. Each element must be provided with a unique array. Must not returnnull.- Parameters:
- element-
 
- 
getAngleThe angle of the element, which must be between -90 and 90, inclusive.- Parameters:
- element-
 
- 
getToolTipReturn the tool tip of the element, ornull, if none.- Parameters:
- element-
 
 
-