com.l2fprod.common.swing.plaf.windows
Class WindowsOutlookBarUI.WindowsTabButtonBorder

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by com.l2fprod.common.swing.border.ButtonBorder
          extended by com.l2fprod.common.swing.plaf.windows.WindowsOutlookBarUI.WindowsTabButtonBorder
All Implemented Interfaces:
java.io.Serializable, javax.swing.border.Border
Enclosing class:
WindowsOutlookBarUI

public static class WindowsOutlookBarUI.WindowsTabButtonBorder
extends ButtonBorder

See Also:
Serialized Form

Constructor Summary
WindowsOutlookBarUI.WindowsTabButtonBorder(java.awt.Color color1, java.awt.Color color2)
           
 
Method Summary
 java.awt.Insets getBorderInsets(java.awt.Component c)
           
protected  void paintDisabled(javax.swing.AbstractButton b, java.awt.Graphics g, int x, int y, int width, int height)
           
protected  void paintNormal(javax.swing.AbstractButton b, java.awt.Graphics g, int x, int y, int width, int height)
           
protected  void paintPressed(javax.swing.AbstractButton b, java.awt.Graphics g, int x, int y, int width, int height)
           
protected  void paintRollover(javax.swing.AbstractButton b, java.awt.Graphics g, int x, int y, int width, int height)
           
 
Methods inherited from class com.l2fprod.common.swing.border.ButtonBorder
getBorderInsets, paintBorder
 
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsOutlookBarUI.WindowsTabButtonBorder

public WindowsOutlookBarUI.WindowsTabButtonBorder(java.awt.Color color1,
                                                  java.awt.Color color2)
Method Detail

paintNormal

protected void paintNormal(javax.swing.AbstractButton b,
                           java.awt.Graphics g,
                           int x,
                           int y,
                           int width,
                           int height)
Overrides:
paintNormal in class ButtonBorder

paintDisabled

protected void paintDisabled(javax.swing.AbstractButton b,
                             java.awt.Graphics g,
                             int x,
                             int y,
                             int width,
                             int height)
Overrides:
paintDisabled in class ButtonBorder

paintRollover

protected void paintRollover(javax.swing.AbstractButton b,
                             java.awt.Graphics g,
                             int x,
                             int y,
                             int width,
                             int height)
Overrides:
paintRollover in class ButtonBorder

paintPressed

protected void paintPressed(javax.swing.AbstractButton b,
                            java.awt.Graphics g,
                            int x,
                            int y,
                            int width,
                            int height)
Overrides:
paintPressed in class ButtonBorder

getBorderInsets

public java.awt.Insets getBorderInsets(java.awt.Component c)
Specified by:
getBorderInsets in interface javax.swing.border.Border
Overrides:
getBorderInsets in class ButtonBorder