com.l2fprod.common.swing.border
Class ButtonBorder
java.lang.Object
javax.swing.border.AbstractBorder
com.l2fprod.common.swing.border.ButtonBorder
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.border.Border
- Direct Known Subclasses:
- BasicOutlookButtonUI.OutlookButtonBorder, WindowsOutlookBarUI.WindowsTabButtonBorder
public class ButtonBorder
- extends javax.swing.border.AbstractBorder
ButtonBorder.
- See Also:
- Serialized Form
Method Summary |
java.awt.Insets |
getBorderInsets(java.awt.Component c)
|
java.awt.Insets |
getBorderInsets(java.awt.Component c,
java.awt.Insets insets)
|
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
|
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 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 |
ButtonBorder
public ButtonBorder()
paintBorder
public void paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
- Specified by:
paintBorder
in interface javax.swing.border.Border
- Overrides:
paintBorder
in class javax.swing.border.AbstractBorder
paintNormal
protected void paintNormal(javax.swing.AbstractButton b,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
paintDisabled
protected void paintDisabled(javax.swing.AbstractButton b,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
paintRollover
protected void paintRollover(javax.swing.AbstractButton b,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
paintPressed
protected void paintPressed(javax.swing.AbstractButton b,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c)
- Specified by:
getBorderInsets
in interface javax.swing.border.Border
- Overrides:
getBorderInsets
in class javax.swing.border.AbstractBorder
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c,
java.awt.Insets insets)
- Overrides:
getBorderInsets
in class javax.swing.border.AbstractBorder