ch.randelshofer.quaqua
Class QuaquaToolBarTabButtonBorder
java.lang.Object
ch.randelshofer.quaqua.QuaquaToolBarTabButtonBorder
- All Implemented Interfaces:
- PressedCueBorder, javax.swing.border.Border
public class QuaquaToolBarTabButtonBorder
- extends java.lang.Object
- implements javax.swing.border.Border, PressedCueBorder
ToolBarTabButtonBorder.
- Version:
- 1.0 30 March 2005 Created.
- Author:
- Werner Randelshofer
Method Summary |
java.awt.Insets |
getBorderInsets(java.awt.Component c)
|
boolean |
hasPressedCue(javax.swing.JComponent c)
Returns true, if this border has a visual cue for the pressed
state of the button. |
boolean |
isBorderOpaque()
|
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuaquaToolBarTabButtonBorder
public QuaquaToolBarTabButtonBorder()
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c)
- Specified by:
getBorderInsets
in interface javax.swing.border.Border
isBorderOpaque
public boolean isBorderOpaque()
- Specified by:
isBorderOpaque
in interface javax.swing.border.Border
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
hasPressedCue
public boolean hasPressedCue(javax.swing.JComponent c)
- Description copied from interface:
PressedCueBorder
- Returns true, if this border has a visual cue for the pressed
state of the button.
If the border has no visual cue, then the ButtonUI has to provide
it by some other means.
- Specified by:
hasPressedCue
in interface PressedCueBorder