javax.swing.plaf
public static class BorderUIResource.EtchedBorderUIResource extends EtchedBorder implements UIResource, Serializable
UIResource
,
such as the borders provided by this class.
Constructor Summary | |
---|---|
EtchedBorderUIResource()
Constructs an EtchedBorderUIResource that appears lowered into
the surface. | |
EtchedBorderUIResource(int etchType)
Constructs an EtchedBorderUIResource with the specified
appearance. | |
EtchedBorderUIResource(Color highlight, Color shadow)
Constructs a lowered EtchedBorderUIResource, explicitly
selecting the colors that will be used for highlight and
shadow.
| |
EtchedBorderUIResource(int etchType, Color highlight, Color shadow)
Constructs an EtchedBorderUIResource with the specified
appearance, explicitly selecting the colors that will be used
for highlight and shadow.
|
Parameters: etchType the desired appearance of the border. The value must be either {@link javax.swing.border.EtchedBorder#RAISED} or {@link javax.swing.border.EtchedBorder#LOWERED}.
Throws: IllegalArgumentException if etchType
has
an unsupported value.
Parameters: highlight the color that will be used for painting the highlight part of the border. shadow the color that will be used for painting the shadow part of the border.
See Also: EtchedBorderUIResource
Parameters: etchType the desired appearance of the border. The value must be either {@link javax.swing.border.EtchedBorder#RAISED} or {@link javax.swing.border.EtchedBorder#LOWERED}. highlight the color that will be used for painting the highlight part of the border. shadow the color that will be used for painting the shadow part of the border.
Throws: IllegalArgumentException if etchType
has
an unsupported value.