com.l2fprod.common.swing.plaf.basic
Class BasicOutlookButtonUI.OutlookButtonBorder

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

public static class BasicOutlookButtonUI.OutlookButtonBorder
extends ButtonBorder

See Also:
Serialized Form

Constructor Summary
BasicOutlookButtonUI.OutlookButtonBorder(java.awt.Color color1, java.awt.Color color2)
           
 
Method Summary
 java.awt.Insets getBorderInsets(java.awt.Component c)
           
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, paintDisabled, paintNormal
 
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

BasicOutlookButtonUI.OutlookButtonBorder

public BasicOutlookButtonUI.OutlookButtonBorder(java.awt.Color color1,
                                                java.awt.Color color2)
Method Detail

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