|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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(java.lang.String text)
Sets the text to display in the status bar. |
void |
setTooltipText(java.lang.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 UISWTStatusEntry
MenuManager.addMenuItem(MenuContext, String)
public boolean update(MainStatusBar.CLabelPadding label)
update
in interface IMainStatusBar.CLabelUpdater
public void destroy()
UISWTStatusEntry
destroy
in interface UISWTStatusEntry
public void setImage(int image_id)
UISWTStatusEntry
UISWTStatusEntry.setImageEnabled(boolean)
to enable
images to be displayed for this status entry.
setImage
in interface UISWTStatusEntry
public void setImage(org.eclipse.swt.graphics.Image image)
UISWTStatusEntry
UISWTStatusEntry.setImageEnabled(boolean)
to enable
images to be displayed for this status entry.
setImage
in interface UISWTStatusEntry
public void setImageEnabled(boolean enabled)
UISWTStatusEntry
setImageEnabled
in interface UISWTStatusEntry
public void setListener(UISWTStatusEntryListener listener)
UISWTStatusEntry
setListener
in interface UISWTStatusEntry
public void setText(java.lang.String text)
UISWTStatusEntry
setText
in interface UISWTStatusEntry
public void setTooltipText(java.lang.String text)
UISWTStatusEntry
setTooltipText
in interface UISWTStatusEntry
public void setVisible(boolean visible)
UISWTStatusEntry
setVisible
in interface UISWTStatusEntry
public 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 |