| |
|
| java.lang.Object net.mygwt.ui.client.viewer.LabelProvider
All known Subclasses: net.mygwt.ui.client.viewer.ModelLabelProvider,
LabelProvider | abstract public class LabelProvider implements IBaseLabelProvider(Code) | | Provides the text and/or icon style for the label of a given element.
This code is based on JFace API from the Eclipse Project.
|
getIconStyle | public String getIconStyle(Object element)(Code) | | Returns the icon style for the label of the given element. The style chould
be a css class name with a background image specified.
Parameters: element - the element for which to provide the label text the css class name |
getText | abstract public String getText(Object element)(Code) | | Returns the text for the label of the given element.
Parameters: element - the element for which to provide the label text the text string used to label the element, or null if there is no text label for the given object |
getTextStyle | public String getTextStyle(Object element)(Code) | | Returns a list of CSS styles to be applied to the element's value.
Parameters: element - the element for which to provide the styles the styles |
|
|
|