|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gudy.azureus2.ui.swt.pluginsimpl.UISWTStatusEntryImpl
public class UISWTStatusEntryImpl
| Field Summary |
|---|
| Fields inherited from interface org.gudy.azureus2.ui.swt.plugins.UISWTStatusEntry |
|---|
IMAGE_LED_GREEN, IMAGE_LED_GREY, IMAGE_LED_RED, IMAGE_LED_YELLOW |
| Constructor Summary | |
|---|---|
UISWTStatusEntryImpl()
|
|
| Method Summary | |
|---|---|
void |
created(MainStatusBar.CLabelPadding label)
|
void |
destroy()
Destroys the status entry. |
MenuContext |
getMenuContext()
Returns a menu context object to allow you to add menu items to the status entry. |
void |
setImage(org.eclipse.swt.graphics.Image image)
Sets the image to display. |
void |
setImage(int image_id)
Sets the image to display - the value here must be one of the IMAGE_ values defined above. |
void |
setImageEnabled(boolean enabled)
Indicates whether an image should be displayed or not. |
void |
setListener(UISWTStatusEntryListener listener)
Sets a listener to be informed when the status entry has been clicked on. |
void |
setText(String text)
Sets the text to display in the status bar. |
void |
setTooltipText(String text)
Sets the tooltip text to associate with the status bar. |
void |
setVisible(boolean visible)
Toggles the visibility of the entry in the status bar. |
boolean |
update(MainStatusBar.CLabelPadding label)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UISWTStatusEntryImpl()
| Method Detail |
|---|
public MenuContext getMenuContext()
UISWTStatusEntry
getMenuContext in interface UISWTStatusEntryMenuManager.addMenuItem(MenuContext, String)public boolean update(MainStatusBar.CLabelPadding label)
update in interface IMainStatusBar.CLabelUpdaterpublic void destroy()
UISWTStatusEntry
destroy in interface UISWTStatusEntrypublic void setImage(int image_id)
UISWTStatusEntryUISWTStatusEntry.setImageEnabled(boolean) to enable
images to be displayed for this status entry.
setImage in interface UISWTStatusEntrypublic void setImage(org.eclipse.swt.graphics.Image image)
UISWTStatusEntryUISWTStatusEntry.setImageEnabled(boolean) to enable
images to be displayed for this status entry.
setImage in interface UISWTStatusEntrypublic void setImageEnabled(boolean enabled)
UISWTStatusEntry
setImageEnabled in interface UISWTStatusEntrypublic void setListener(UISWTStatusEntryListener listener)
UISWTStatusEntry
setListener in interface UISWTStatusEntrypublic void setText(String text)
UISWTStatusEntry
setText in interface UISWTStatusEntrypublic void setTooltipText(String text)
UISWTStatusEntry
setTooltipText in interface UISWTStatusEntrypublic void setVisible(boolean visible)
UISWTStatusEntry
setVisible in interface UISWTStatusEntrypublic void created(MainStatusBar.CLabelPadding label)
created in interface IMainStatusBar.CLabelUpdater
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||