|
JHotDraw 7.5.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.border.AbstractBorder
org.jhotdraw.gui.plaf.palette.PaletteToolBarBorder
public class PaletteToolBarBorder
PaletteToolBarBorder.
Nested Class Summary | |
---|---|
static class |
PaletteToolBarBorder.UIResource
|
Field Summary |
---|
Fields inherited from interface javax.swing.SwingConstants |
---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Constructor Summary | |
---|---|
PaletteToolBarBorder()
|
Method Summary | |
---|---|
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)
|
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 |
---|
public PaletteToolBarBorder()
Method Detail |
---|
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
|
Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project. Some rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |