Class EclipseJideTabbedPaneUI

  • All Implemented Interfaces:
    java.util.EventListener, javax.swing.event.DocumentListener, javax.swing.SwingConstants

    public class EclipseJideTabbedPaneUI
    extends VsnetJideTabbedPaneUI
    JideTabbedPane UI implementation
    • Constructor Detail

      • EclipseJideTabbedPaneUI

        public EclipseJideTabbedPaneUI()
    • Method Detail

      • createUI

        public static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent c)
      • paintTabBorder

        protected void paintTabBorder​(java.awt.Graphics g,
                                      int tabPlacement,
                                      int tabIndex,
                                      int x,
                                      int y,
                                      int w,
                                      int h,
                                      boolean isSelected)
        this function draws the border around each tab note that this function does now draw the background of the tab. that is done elsewhere
        Overrides:
        paintTabBorder in class BasicJideTabbedPaneUI
        Parameters:
        g - the Graphics instance
        tabPlacement - the tab placement
        tabIndex - the tab index
        x - x
        y - y
        w - width
        h - height
        isSelected - if the tab is selected
      • paintTabArea

        protected void paintTabArea​(java.awt.Graphics g,
                                    int tabPlacement,
                                    int selectedIndex,
                                    java.awt.Component c)
        Description copied from class: BasicJideTabbedPaneUI
        Paints the tabs in the tab area. Invoked by paint(). The graphics parameter must be a valid Graphics object. Tab placement may be either: JTabbedPane.TOP, JTabbedPane.BOTTOM, JTabbedPane.LEFT, or JTabbedPane.RIGHT. The selected index must be a valid tabbed pane tab index (0 to tab count - 1, inclusive) or -1 if no tab is currently selected. The handling of invalid parameters is unspecified.
        Overrides:
        paintTabArea in class BasicJideTabbedPaneUI
        Parameters:
        g - the graphics object to use for rendering
        tabPlacement - the placement for the tabs within the JTabbedPane
        selectedIndex - the tab index of the selected component
        c - the component
      • paintContentBorderTopEdge

        protected void paintContentBorderTopEdge​(java.awt.Graphics g,
                                                 int tabPlacement,
                                                 int selectedIndex,
                                                 int x,
                                                 int y,
                                                 int w,
                                                 int h)
        Overrides:
        paintContentBorderTopEdge in class VsnetJideTabbedPaneUI
      • paintContentBorderBottomEdge

        protected void paintContentBorderBottomEdge​(java.awt.Graphics g,
                                                    int tabPlacement,
                                                    int selectedIndex,
                                                    int x,
                                                    int y,
                                                    int w,
                                                    int h)
        Overrides:
        paintContentBorderBottomEdge in class VsnetJideTabbedPaneUI
      • paintContentBorderLeftEdge

        protected void paintContentBorderLeftEdge​(java.awt.Graphics g,
                                                  int tabPlacement,
                                                  int selectedIndex,
                                                  int x,
                                                  int y,
                                                  int w,
                                                  int h)
        Overrides:
        paintContentBorderLeftEdge in class VsnetJideTabbedPaneUI
      • paintContentBorderRightEdge

        protected void paintContentBorderRightEdge​(java.awt.Graphics g,
                                                   int tabPlacement,
                                                   int selectedIndex,
                                                   int x,
                                                   int y,
                                                   int w,
                                                   int h)
        Overrides:
        paintContentBorderRightEdge in class VsnetJideTabbedPaneUI
      • paintTabBackground

        protected void paintTabBackground​(java.awt.Graphics g,
                                          int tabPlacement,
                                          int tabIndex,
                                          int x,
                                          int y,
                                          int w,
                                          int h,
                                          boolean isSelected)
        Overrides:
        paintTabBackground in class VsnetJideTabbedPaneUI