|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.border.AbstractBorder
javax.swing.plaf.metal.MetalBorders.OptionDialogBorder
public static class MetalBorders.OptionDialogBorder
A border used for JInternalFrame components that are
presented as dialogs (by the JOptionPane class).
| Constructor Summary | |
|---|---|
MetalBorders.OptionDialogBorder()
Creates a new border instance. |
|
| Method Summary | |
|---|---|
Insets |
getBorderInsets(Component c)
Returns the border insets. |
Insets |
getBorderInsets(Component c,
Insets newInsets)
Returns the border insets. |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border for the specified component. |
| Methods inherited from class javax.swing.border.AbstractBorder |
|---|
getInteriorRectangle, getInteriorRectangle, isBorderOpaque |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetalBorders.OptionDialogBorder()
| Method Detail |
|---|
public Insets getBorderInsets(Component c)
getBorderInsets in interface BordergetBorderInsets in class AbstractBorderc - the component (ignored).
AbstractBorder.getBorderInsets(java.awt.Component, java.awt.Insets)
public Insets getBorderInsets(Component c,
Insets newInsets)
getBorderInsets in class AbstractBorderc - the component (ignored).newInsets - an instance that will be overwritten and returned as the
result (null not permitted).
AbstractBorder.getBorderInsets(Component)
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h)
paintBorder in interface BorderpaintBorder in class AbstractBorderc - the component.g - the graphics device.x - the x-coordinate.y - the y-coordinate.w - the width.h - the height.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||