com.aelitis.azureus.ui.swt.views.skin.sidebar
Class SideBarVitalityImageSWT
java.lang.Object
com.aelitis.azureus.ui.swt.views.skin.sidebar.SideBarVitalityImageSWT
- All Implemented Interfaces:
- MdiEntryVitalityImage
public class SideBarVitalityImageSWT
- extends java.lang.Object
- implements MdiEntryVitalityImage
- Author:
- TuxPaper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SideBarVitalityImageSWT
public SideBarVitalityImageSWT(MdiEntry mdiEntry,
java.lang.String imageID)
getImageID
public java.lang.String getImageID()
- Specified by:
getImageID
in interface MdiEntryVitalityImage
getMdiEntry
public MdiEntry getMdiEntry()
- Specified by:
getMdiEntry
in interface MdiEntryVitalityImage
- Returns:
- the sideBarEntry
addListener
public void addListener(MdiEntryVitalityImageListener l)
- Specified by:
addListener
in interface MdiEntryVitalityImage
triggerClickedListeners
public void triggerClickedListeners(int x,
int y)
- Specified by:
triggerClickedListeners
in interface MdiEntryVitalityImage
setToolTip
public void setToolTip(java.lang.String tooltip)
- Specified by:
setToolTip
in interface MdiEntryVitalityImage
getToolTip
public java.lang.String getToolTip()
setHitArea
public void setHitArea(org.eclipse.swt.graphics.Rectangle hitArea)
- Parameters:
bounds
- relative to entry- Since:
- 3.1.1.1
getHitArea
public org.eclipse.swt.graphics.Rectangle getHitArea()
isVisible
public boolean isVisible()
- Specified by:
isVisible
in interface MdiEntryVitalityImage
setVisible
public void setVisible(boolean visible)
- Specified by:
setVisible
in interface MdiEntryVitalityImage
getCurrentAnimationIndex
public int getCurrentAnimationIndex(org.eclipse.swt.graphics.Image[] images)
- Parameters:
images
-
- Returns:
- the currentAnimationIndex
switchSuffix
public void switchSuffix(java.lang.String suffix)
setImageID
public void setImageID(java.lang.String id)
- Specified by:
setImageID
in interface MdiEntryVitalityImage
getImage
public org.eclipse.swt.graphics.Image getImage()
- Returns:
- Since:
- 3.1.1.1
setDelayTime
public void setDelayTime(int delayTime)
- Parameters:
delayTime
- the delayTime to set
getDelayTime
public int getDelayTime()
- Returns:
- the delayTime
getAlignment
public int getAlignment()
- Specified by:
getAlignment
in interface MdiEntryVitalityImage
setAlignment
public void setAlignment(int alignment)
- Specified by:
setAlignment
in interface MdiEntryVitalityImage