Class EclipseJideTabbedPaneUI

All Implemented Interfaces:
EventListener, DocumentListener, SwingConstants

public class EclipseJideTabbedPaneUI extends VsnetJideTabbedPaneUI
JideTabbedPane UI implementation
  • Constructor Details

    • EclipseJideTabbedPaneUI

      public EclipseJideTabbedPaneUI()
  • Method Details

    • createUI

      public static ComponentUI createUI(JComponent c)
    • paintTabBorder

      protected void paintTabBorder(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(Graphics g, int tabPlacement, int selectedIndex, 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(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
      Overrides:
      paintContentBorderTopEdge in class VsnetJideTabbedPaneUI
    • paintContentBorderBottomEdge

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

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

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

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