public class PaletteToolBarBorder
extends javax.swing.border.AbstractBorder
implements javax.swing.SwingConstants
Modifier and Type | Class and Description |
---|---|
static class |
PaletteToolBarBorder.UIResource |
Constructor and Description |
---|
PaletteToolBarBorder() |
Modifier and Type | Method and Description |
---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component c) |
java.awt.Insets |
getBorderInsets(java.awt.Component component,
java.awt.Insets newInsets) |
java.awt.Insets |
getDragInsets(java.awt.Component c)
These insets are used by PaletteToolBarUI, to determine if
the toolbar should be dragged.
|
void |
paintBorder(java.awt.Component component,
java.awt.Graphics gr,
int x,
int y,
int w,
int h) |
public void paintBorder(java.awt.Component component, java.awt.Graphics gr, int x, int y, int w, int h)
paintBorder
in interface javax.swing.border.Border
paintBorder
in class javax.swing.border.AbstractBorder
public java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets
in interface javax.swing.border.Border
getBorderInsets
in class javax.swing.border.AbstractBorder
public java.awt.Insets getDragInsets(java.awt.Component c)
c
- JToolBar.public java.awt.Insets getBorderInsets(java.awt.Component component, java.awt.Insets newInsets)
getBorderInsets
in class javax.swing.border.AbstractBorder