Class MdiEntryVitalityImageSWT
java.lang.Object
com.biglybt.ui.swt.mdi.MdiEntryVitalityImageSWT
- All Implemented Interfaces:
MdiEntryVitalityImage, TabFolderRenderer.TabbedEntryVitalityImage
public class MdiEntryVitalityImageSWT
extends Object
implements MdiEntryVitalityImage, TabFolderRenderer.TabbedEntryVitalityImage
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate booleanprivate intprivate intprivate Stringprivate org.eclipse.swt.graphics.Rectangleprivate Stringprivate org.eclipse.swt.graphics.Image[]private List<MdiEntryVitalityImageListener> private final MdiEntryprivate TimerEventPerformerprivate booleanprivate booleanprivate Stringprivate TimerEventPeriodicprivate Stringprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate voidvoiddispose()intbooleanintgetCurrentAnimationIndex(org.eclipse.swt.graphics.Image[] images) intorg.eclipse.swt.graphics.Rectangleorg.eclipse.swt.graphics.ImagegetImage()booleanbooleanWhether the Image is shown outside of the entry.booleanbooleanvoidsetAlignment(int alignment) voidsetAlwaysLast(boolean alwaysLast) voidsetDelayTime(int delayTime) voidsetHitArea(org.eclipse.swt.graphics.Rectangle hitArea) voidsetImageID(String id) voidsetShowOnlyOnSelection(boolean showOnlyOnSelection) voidsetShowOutsideOfEntry(boolean showOutsideOfEntry) Whether the Image is shown outside of the entry.voidsetToolTip(String tooltip) voidsetVisible(boolean visible) voidswitchSuffix(String suffix) voidtriggerClickedListeners(int x, int y)
-
Field Details
-
imageID
-
mdiEntry
-
listeners
-
tooltip
-
hitArea
private org.eclipse.swt.graphics.Rectangle hitArea -
visible
private boolean visible -
currentAnimationIndex
private int currentAnimationIndex -
suffix
-
performer
-
timerEvent
-
images
private org.eclipse.swt.graphics.Image[] images -
delayTime
private int delayTime -
fullImageID
-
alignment
private int alignment -
showOutsideOfEntry
private boolean showOutsideOfEntry -
showOnlyOnSelection
private boolean showOnlyOnSelection -
alwaysLast
private boolean alwaysLast
-
-
Constructor Details
-
MdiEntryVitalityImageSWT
-
-
Method Details
-
getImageID
- Specified by:
getImageIDin interfaceMdiEntryVitalityImage
-
getMdiEntry
- Specified by:
getMdiEntryin interfaceMdiEntryVitalityImage- Returns:
- the sideBarEntry
-
addListener
- Specified by:
addListenerin interfaceMdiEntryVitalityImage
-
hasListeners
public boolean hasListeners() -
triggerClickedListeners
public void triggerClickedListeners(int x, int y) - Specified by:
triggerClickedListenersin interfaceMdiEntryVitalityImage
-
setToolTip
- Specified by:
setToolTipin interfaceMdiEntryVitalityImage
-
getToolTip
-
setHitArea
public void setHitArea(org.eclipse.swt.graphics.Rectangle hitArea) - Specified by:
setHitAreain interfaceTabFolderRenderer.TabbedEntryVitalityImage- Parameters:
bounds- relative to entry- Since:
- 3.1.1.1
-
getHitArea
public org.eclipse.swt.graphics.Rectangle getHitArea() -
isVisible
public boolean isVisible()- Specified by:
isVisiblein interfaceMdiEntryVitalityImage- Specified by:
isVisiblein interfaceTabFolderRenderer.TabbedEntryVitalityImage
-
setVisible
public void setVisible(boolean visible) - Specified by:
setVisiblein interfaceMdiEntryVitalityImage
-
createTimerEvent
private void createTimerEvent()- Since:
- 3.1.1.1
-
getCurrentAnimationIndex
public int getCurrentAnimationIndex(org.eclipse.swt.graphics.Image[] images) - Parameters:
images-- Returns:
- the currentAnimationIndex
-
switchSuffix
- Specified by:
switchSuffixin interfaceTabFolderRenderer.TabbedEntryVitalityImage
-
setImageID
- Specified by:
setImageIDin interfaceMdiEntryVitalityImage
-
getImage
public org.eclipse.swt.graphics.Image getImage()- Specified by:
getImagein interfaceTabFolderRenderer.TabbedEntryVitalityImage- 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:
getAlignmentin interfaceMdiEntryVitalityImage- Specified by:
getAlignmentin interfaceTabFolderRenderer.TabbedEntryVitalityImage
-
setAlignment
public void setAlignment(int alignment) - Specified by:
setAlignmentin interfaceMdiEntryVitalityImage
-
getShowOutsideOfEntry
public boolean getShowOutsideOfEntry()Description copied from interface:MdiEntryVitalityImageWhether the Image is shown outside of the entry. ie. TabbedMDI has a section to the right of all tabs that can display actions.- Specified by:
getShowOutsideOfEntryin interfaceMdiEntryVitalityImage- Specified by:
getShowOutsideOfEntryin interfaceTabFolderRenderer.TabbedEntryVitalityImage
-
setShowOutsideOfEntry
public void setShowOutsideOfEntry(boolean showOutsideOfEntry) Description copied from interface:MdiEntryVitalityImageWhether the Image is shown outside of the entry. ie. TabbedMDI has a section to the right of all tabs that can display actions.- Specified by:
setShowOutsideOfEntryin interfaceMdiEntryVitalityImage
-
setShowOnlyOnSelection
public void setShowOnlyOnSelection(boolean showOnlyOnSelection) -
getShowOnlyOnSelection
public boolean getShowOnlyOnSelection()- Specified by:
getShowOnlyOnSelectionin interfaceTabFolderRenderer.TabbedEntryVitalityImage
-
setAlwaysLast
public void setAlwaysLast(boolean alwaysLast) -
getAlwaysLast
public boolean getAlwaysLast()- Specified by:
getAlwaysLastin interfaceTabFolderRenderer.TabbedEntryVitalityImage
-
dispose
public void dispose()
-