Class TabbedMDI_Ren


  • public class TabbedMDI_Ren
    extends org.eclipse.swt.custom.CTabFolderRenderer
    Created by TuxPaper on 7/16/2017.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private TabbedMDI mdi  
      private static int PADDING_BUBBLE_X  
      private static int PADDING_INDICATOR_AND_CLOSE  
      private static int PADDING_INDICATOR_X1  
      private org.eclipse.swt.custom.CTabFolder tabFolder  
      • Fields inherited from class org.eclipse.swt.custom.CTabFolderRenderer

        MINIMUM_SIZE, parent, PART_BACKGROUND, PART_BODY, PART_BORDER, PART_CHEVRON_BUTTON, PART_CLOSE_BUTTON, PART_HEADER, PART_MAX_BUTTON, PART_MIN_BUTTON
    • Constructor Summary

      Constructors 
      Constructor Description
      TabbedMDI_Ren​(org.eclipse.swt.custom.CTabFolder tabFolder, TabbedMDI mdi)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.eclipse.swt.graphics.Point computeSize​(int part, int state, org.eclipse.swt.graphics.GC gc, int wHint, int hHint)  
      protected org.eclipse.swt.graphics.Rectangle computeTrim​(int part, int state, int x, int y, int width, int height)  
      protected void draw​(int part, int state, org.eclipse.swt.graphics.Rectangle bounds, org.eclipse.swt.graphics.GC gc)  
      (package private) static void setupTabFolderRenderer​(TabbedMDI mdi, org.eclipse.swt.custom.CTabFolder tabFolder)  
      • Methods inherited from class org.eclipse.swt.custom.CTabFolderRenderer

        dispose
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PADDING_INDICATOR_AND_CLOSE

        private static final int PADDING_INDICATOR_AND_CLOSE
        See Also:
        Constant Field Values
      • tabFolder

        private final org.eclipse.swt.custom.CTabFolder tabFolder
    • Constructor Detail

      • TabbedMDI_Ren

        public TabbedMDI_Ren​(org.eclipse.swt.custom.CTabFolder tabFolder,
                             TabbedMDI mdi)
    • Method Detail

      • setupTabFolderRenderer

        static void setupTabFolderRenderer​(TabbedMDI mdi,
                                           org.eclipse.swt.custom.CTabFolder tabFolder)
      • computeSize

        protected org.eclipse.swt.graphics.Point computeSize​(int part,
                                                             int state,
                                                             org.eclipse.swt.graphics.GC gc,
                                                             int wHint,
                                                             int hHint)
        Overrides:
        computeSize in class org.eclipse.swt.custom.CTabFolderRenderer
      • computeTrim

        protected org.eclipse.swt.graphics.Rectangle computeTrim​(int part,
                                                                 int state,
                                                                 int x,
                                                                 int y,
                                                                 int width,
                                                                 int height)
        Overrides:
        computeTrim in class org.eclipse.swt.custom.CTabFolderRenderer
      • draw

        protected void draw​(int part,
                            int state,
                            org.eclipse.swt.graphics.Rectangle bounds,
                            org.eclipse.swt.graphics.GC gc)
        Overrides:
        draw in class org.eclipse.swt.custom.CTabFolderRenderer