public interface ICloudLabelProvider extends IBaseLabelProvider
Modifier and Type | Method and Description |
---|---|
float |
getAngle(Object element)
The angle of the element, which must be between -90 and 90, inclusive.
|
Color |
getColor(Object element)
The
Color of the given element, which must not be
null . |
FontData[] |
getFontData(Object element)
The
FontData -array which defines the font of the given element. |
String |
getLabel(Object element)
The label of the given element, which must not be
null . |
String |
getToolTip(Object element)
Return the tool tip of the element, or
null , if none. |
double |
getWeight(Object element)
The weight of the given element, which must be between 0 and 1
(inclusive).
|
addListener, dispose, isLabelProperty, removeListener
String getLabel(Object element)
null
.element
- double getWeight(Object element)
element
- Color getColor(Object element)
Color
of the given element, which must not be
null
.element
- FontData[] getFontData(Object element)
FontData
-array which defines the font of the given element.
Each element must be provided with a unique array. Must not return
null
.element
- float getAngle(Object element)
element
- Copyright (c) 2000, 2012 itemis AG and others. All rights reserved.