|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILabelProvider
Provide the text and/or image for the label of a given element. Used by most structured viewers, except browsers.
| Method Summary | |
|---|---|
java.lang.String |
getImage(IClientContext context,
java.lang.Object element)
Returns the resource name of the image for the label of the given element. |
java.lang.String |
getText(IClientContext context,
java.lang.Object element)
Returns the text for the label of the given element. |
| Method Detail |
|---|
java.lang.String getImage(IClientContext context,
java.lang.Object element)
jacob.resources.*Task you must provide
an image named Task.png or Task.gif
in the java package jacob.resources.*
element - the element for which to provide the label image
null
if there is no image for the given object
java.lang.String getText(IClientContext context,
java.lang.Object element)
element - the element for which to provide the label text
null
if there is no text label for the given object
|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||