|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.border.AbstractBorder
net.sourceforge.mlf.metouia.borders.MetouiaToolBarBorder
This class represents the border of toolbars.
Field Summary | |
protected MetouiaDots |
dots
The drag "dots" for floatable toolbars. |
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 | |
MetouiaToolBarBorder()
|
Method Summary | |
java.awt.Insets |
getBorderInsets(java.awt.Component c)
Gets the border insets for a given component. |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int w,
int h)
Draws a simple 3d border for the given component. |
Methods inherited from class javax.swing.border.AbstractBorder |
getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected MetouiaDots dots
Constructor Detail |
public MetouiaToolBarBorder()
Method Detail |
public void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int w, int h)
paintBorder
in interface javax.swing.border.Border
c
- The component to draw its border.g
- The graphics context.x
- The x coordinate of the top left corner.y
- The y coordinate of the top left corner.w
- The width.h
- The height.public java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets
in interface javax.swing.border.Border
c
- The component to get its border insets.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |