|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.jface.viewers.ViewerLabel
The ViewerLabel is the class that is passed to a viewer to handle updates of labels. It keeps track of both original and updates text.
Constructor Summary | |
ViewerLabel(String initialText,
Image initialImage)
|
Method Summary | |
Image | getImage()
Get the image for the receiver. |
String | getText()
Get the text for the receiver. |
boolean | hasNewImage()
Return whether or not the image has been set. |
boolean | hasNewText()
Return whether or not the text has been set. |
void | setImage(Image image)
Set the image for the receiver. |
void | setText(String text)
Set the text for the receiver. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ViewerLabel(String initialText, Image initialImage)
Method Detail |
public final Image getImage()
public final void setImage(Image image)
public final String getText()
public final void setText(String text)
public boolean hasNewImage()
public boolean hasNewText()
|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.