Class MdiEntryVitalityImageSWT

    • Field Detail

      • imageID

        private java.lang.String imageID
      • mdiEntry

        private final MdiEntry mdiEntry
      • tooltip

        private java.lang.String tooltip
      • hitArea

        private org.eclipse.swt.graphics.Rectangle hitArea
      • visible

        private boolean visible
      • currentAnimationIndex

        private int currentAnimationIndex
      • suffix

        private java.lang.String suffix
      • images

        private org.eclipse.swt.graphics.Image[] images
      • delayTime

        private int delayTime
      • fullImageID

        private java.lang.String fullImageID
      • alignment

        private int alignment
      • showOutsideOfEntry

        private boolean showOutsideOfEntry
      • showOnlyOnSelection

        private boolean showOnlyOnSelection
      • alwaysLast

        private boolean alwaysLast
    • Constructor Detail

      • MdiEntryVitalityImageSWT

        public MdiEntryVitalityImageSWT​(MdiEntry mdiEntry,
                                        java.lang.String imageID)
    • Method Detail

      • hasListeners

        public boolean hasListeners()
      • 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()
      • 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

        public void switchSuffix​(java.lang.String suffix)
      • 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
      • getShowOutsideOfEntry

        public boolean getShowOutsideOfEntry()
        Description copied from interface: MdiEntryVitalityImage
        Whether 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:
        getShowOutsideOfEntry in interface MdiEntryVitalityImage
      • setShowOutsideOfEntry

        public void setShowOutsideOfEntry​(boolean showOutsideOfEntry)
        Description copied from interface: MdiEntryVitalityImage
        Whether 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:
        setShowOutsideOfEntry in interface MdiEntryVitalityImage
      • setShowOnlyOnSelection

        public void setShowOnlyOnSelection​(boolean showOnlyOnSelection)
      • getShowOnlyOnSelection

        public boolean getShowOnlyOnSelection()
      • setAlwaysLast

        public void setAlwaysLast​(boolean alwaysLast)
      • getAlwaysLast

        public boolean getAlwaysLast()
      • dispose

        public void dispose()