org.jhotdraw.gui.plaf.palette
Class PaletteToolBarBorder
- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- org.jhotdraw.gui.plaf.palette.PaletteToolBarBorder
-
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.border.Border, javax.swing.SwingConstants
- Direct Known Subclasses:
- PaletteToolBarBorder.UIResource
public class PaletteToolBarBorder extends javax.swing.border.AbstractBorder implements javax.swing.SwingConstantsPaletteToolBarBorder.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classPaletteToolBarBorder.UIResource
-
Constructor Summary
Constructors Constructor and Description PaletteToolBarBorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.awt.InsetsgetBorderInsets(java.awt.Component c)java.awt.InsetsgetBorderInsets(java.awt.Component component, java.awt.Insets newInsets)java.awt.InsetsgetDragInsets(java.awt.Component c)These insets are used by PaletteToolBarUI, to determine if the toolbar should be dragged.voidpaintBorder(java.awt.Component component, java.awt.Graphics gr, int x, int y, int w, int h)
-
-
-
Method Detail
-
paintBorder
public void paintBorder(java.awt.Component component, java.awt.Graphics gr, int x, int y, int w, int h)- Specified by:
paintBorderin interfacejavax.swing.border.Border- Overrides:
paintBorderin classjavax.swing.border.AbstractBorder
-
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c)
- Specified by:
getBorderInsetsin interfacejavax.swing.border.Border- Overrides:
getBorderInsetsin classjavax.swing.border.AbstractBorder
-
getDragInsets
public java.awt.Insets getDragInsets(java.awt.Component c)
These insets are used by PaletteToolBarUI, to determine if the toolbar should be dragged.- Parameters:
c- JToolBar.- Returns:
- Return drag insets.
-
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component component, java.awt.Insets newInsets)- Overrides:
getBorderInsetsin classjavax.swing.border.AbstractBorder
-
-
DataMelt 3.0 © DataMelt by jWork.ORG