Warning
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing. As of 1.4, support for long term storage
of all JavaBeans
has been added to the java.beans package.
Please see java..
| Access | Constructor and Description |
|---|---|
| public | SoftBevelBorder(int
the type of bevel for the border bevelType)Creates a bevel border with the specified type and whose colors will be derived from the background color of the component passed into the paintBorder method. |
| public | SoftBevelBorder(int
the type of bevel for the border bevelType, Color the color to use for the bevel highlight highlight, Color the color to use for the bevel shadow shadow)Creates a bevel border with the specified type, highlight and shadow colors. |
| public | SoftBevelBorder(int
the type of bevel for the border bevelType, Color the color to use for the bevel outer highlight highlightOuterColor, Color the color to use for the bevel inner highlight highlightInnerColor, Color the color to use for the bevel outer shadow shadowOuterColor, Color the color to use for the bevel inner shadow shadowInnerColor)Creates a bevel border with the specified type, highlight shadow colors. |
| Modifier and Type | Method and Description |
|---|---|
| public Insets | getBorderInsets(Component
the component for which this border insets value applies c, Insets the object to be reinitialized insets)Overrides javax. Reinitialize the insets parameter with this Border's current Insets. |
| public boolean | isBorderOpaque()
Overrides javax. Implements javax. Returns whether or not the border is opaque. |
| public void | paintBorder(Component
the component for which this border is being painted c, Graphics the paint graphics g, int the x position of the painted border x, int the y position of the painted border y, int the width of the painted border width, int the height of the painted border height)Overrides javax. Implements javax. Paints the border for the specified component with the specified position and size. |
| SoftBevelBorder | back to summary |
|---|---|
| public SoftBevelBorder(int bevelType) Creates a bevel border with the specified type and whose colors will be derived from the background color of the component passed into the paintBorder method.
| |
| SoftBevelBorder | back to summary |
|---|---|
| public SoftBevelBorder(int bevelType, Color highlight, Color shadow) Creates a bevel border with the specified type, highlight and shadow colors. | |
| SoftBevelBorder | back to summary |
|---|---|
| public SoftBevelBorder(int bevelType, Color highlightOuterColor, Color highlightInnerColor, Color shadowOuterColor, Color shadowInnerColor) Creates a bevel border with the specified type, highlight shadow colors.
| |
| getBorderInsets | back to summary |
|---|---|
| public Insets getBorderInsets(Component c, Insets insets) Overrides javax. Reinitialize the insets parameter with this Border's current Insets.
| |
| isBorderOpaque | back to summary |
|---|---|
| public boolean isBorderOpaque() Overrides javax. Implements javax. Returns whether or not the border is opaque. | |
| paintBorder | back to summary |
|---|---|
| public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) Overrides javax. Implements javax. Paints the border for the specified component with the specified position and size. | |