| java.lang.Object org.wings.SBorderFactory
SBorderFactory | public class SBorderFactory (Code) | | Factory class for standard SBorder elements.
|
Method Summary | |
public static SBorder | createLoweredSBevelBorder() Creates a SBorder with a lowered beveled edge, using
brighter shades of the component's current background color
for highlighting, and darker shading for shadows. | public static SBorder | createRaisedSBevelBorder() Creates a SBorder with a raised beveled edge, using
brighter shades of the component's current background color
for highlighting, and darker shading for shadows. | public static SBorder | createSBevelBorder(int type) Creates a beveled SBorder of the specified type, using
brighter shades of the component's current background color
for highlighting, and darker shading for shadows. | public static SBorder | createSEmptyBorder() Creates an empty SBorder that takes up no space. | public static SBorder | createSEmptyBorder(int top, int left, int bottom, int right) Creates an empty SBorder that takes up space but which does
no drawing, specifying the width of the top, left, bottom, and
right sides. | public static SBorder | createSEtchedBorder() Creates a SBorder with an "etched" look using
the component's current background color for
highlighting and shading. | public static SBorder | createSEtchedBorder(int etchedType) Creates a SBorder with an "etched" look using
the specified highlighting and shading colors. | public static SBorder | createSLineBorder(Color color) Creates a line SBorder withe the specified color. | public static SBorder | createSLineBorder(Color color, int thickness) Creates a line SBorder with the specified color
and width. |
createLoweredSBevelBorder | public static SBorder createLoweredSBevelBorder()(Code) | | Creates a SBorder with a lowered beveled edge, using
brighter shades of the component's current background color
for highlighting, and darker shading for shadows.
(In a lowered SBorder, shadows are on top and highlights
are underneath.)
the SBorder object |
createRaisedSBevelBorder | public static SBorder createRaisedSBevelBorder()(Code) | | Creates a SBorder with a raised beveled edge, using
brighter shades of the component's current background color
for highlighting, and darker shading for shadows.
(In a raised SBorder, highlights are on top and shadows
are underneath.)
the SBorder object |
createSBevelBorder | public static SBorder createSBevelBorder(int type)(Code) | | Creates a beveled SBorder of the specified type, using
brighter shades of the component's current background color
for highlighting, and darker shading for shadows.
(In a lowered SBorder, shadows are on top and highlights
are underneath.)
Parameters: type - an integer specifying eitherBevelBorder.LOWERED orBevelBorder.RAISED the SBorder object |
createSEmptyBorder | public static SBorder createSEmptyBorder()(Code) | | Creates an empty SBorder that takes up no space. (The width
of the top, bottom, left, and right sides are all zero.)
the SBorder object |
createSEmptyBorder | public static SBorder createSEmptyBorder(int top, int left, int bottom, int right)(Code) | | Creates an empty SBorder that takes up space but which does
no drawing, specifying the width of the top, left, bottom, and
right sides.
Parameters: top - an integer specifying the width of the top,in pixels Parameters: left - an integer specifying the width of the left side,in pixels Parameters: bottom - an integer specifying the width of the bottom,in pixels Parameters: right - an integer specifying the width of the right side,in pixels the SBorder object |
createSEtchedBorder | public static SBorder createSEtchedBorder()(Code) | | Creates a SBorder with an "etched" look using
the component's current background color for
highlighting and shading.
the SBorder object |
createSEtchedBorder | public static SBorder createSEtchedBorder(int etchedType)(Code) | | Creates a SBorder with an "etched" look using
the specified highlighting and shading colors.
Parameters: etchedType - Raised or Lowered the SBorder object |
createSLineBorder | public static SBorder createSLineBorder(Color color)(Code) | | Creates a line SBorder withe the specified color.
Parameters: color - a Color to use for the line the SBorder object |
createSLineBorder | public static SBorder createSLineBorder(Color color, int thickness)(Code) | | Creates a line SBorder with the specified color
and width. The width applies to all four sides of the
SBorder. To specify widths individually for the top,
bottom, left, and right, use
SBorderFactory.createSEmptyBorder(int,int,int,int) .
Parameters: color - a Color to use for the line Parameters: thickness - an integer specifying the width in pixels the SBorder object |
|
|