|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Border | |
---|---|
com.sun.lwuit | |
com.sun.lwuit.plaf |
Uses of Border in com.sun.lwuit |
---|
Methods in com.sun.lwuit that return Border | |
---|---|
protected Border |
Component.getBorder()
Normally returns getStyle().getBorder() but some subclasses might use this to programmatically replace the border in runtime e.g. for a pressed border effect |
protected Border |
Button.getBorder()
|
Uses of Border in com.sun.lwuit.plaf |
---|
Methods in com.sun.lwuit.plaf that return Border | |
---|---|
static Border |
Border.createBevelLowered()
Creates a lowered bevel border with default colors, highlight is derived from the component and shadow is a plain dark color |
static Border |
Border.createBevelLowered(int highlightOuter,
int highlightInner,
int shadowOuter,
int shadowInner)
Creates a raised bevel border with the given colors |
static Border |
Border.createBevelRaised()
Creates a lowered bevel border with default colors, highlight is derived from the component and shadow is a plain dark color |
static Border |
Border.createBevelRaised(int highlightOuter,
int highlightInner,
int shadowOuter,
int shadowInner)
Creates a raised bevel border with the given colors |
static Border |
Border.createCompoundBorder(Border top,
Border bottom,
Border left,
Border right)
|
static Border |
Border.createDashedBorder(int thickness)
Creates a dashed border with the specified thickness and the theme colors |
static Border |
Border.createDashedBorder(int thickness,
int color)
Creates a dashed border with the specified thickness and color |
static Border |
Border.createDottedBorder(int thickness)
Creates a dotted border with the specified thickness and the theme colors |
static Border |
Border.createDottedBorder(int thickness,
int color)
Creates a dotted border with the specified thickness and color |
static Border |
Border.createDoubleBorder(int thickness)
Creates a double border with the specified thickness and color |
static Border |
Border.createDoubleBorder(int thickness,
int color)
Creates a double border with the specified thickness and color |
static Border |
Border.createEmpty()
Creates an empty border, this is useful where we don't want a border for a component but want a focus border etc... |
static Border |
Border.createEtchedLowered()
Creates a lowered etched border with default colors, highlight is derived from the component and shadow is a plain dark color |
static Border |
Border.createEtchedLowered(int highlight,
int shadow)
Creates a raised etched border with the given colors |
static Border |
Border.createEtchedRaised()
Creates a lowered etched border with default colors, highlight is derived from the component and shadow is a plain dark color |
static Border |
Border.createEtchedRaised(int highlight,
int shadow)
Creates a raised etched border with the given colors |
static Border |
Border.createGrooveBorder(int thickness)
Creates a groove border with the specified thickness and theme colors |
static Border |
Border.createGrooveBorder(int thickness,
int color)
Creates a groove border with the specified thickness and color |
static Border |
Border.createHorizonalImageBorder(Image left,
Image right,
Image center)
This is an image border that can only grow horizontally |
static Border |
Border.createImageBorder(Image top,
Image topLeft,
Image background)
The given images are tiled appropriately across the matching side of the border, rotated and placed as expected in the four corners. |
static Border |
Border.createImageBorder(Image top,
Image bottom,
Image left,
Image right,
Image topLeft,
Image topRight,
Image bottomLeft,
Image bottomRight,
Image background)
The given images are tiled appropriately across the matching side of the border and placed as expected in the four corners. |
static Border |
Border.createInsetBorder(int thickness)
Creates an inset border with the specified thickness and theme colors |
static Border |
Border.createInsetBorder(int thickness,
int color)
Creates an inset border with the specified thickness and color |
static Border |
Border.createLineBorder(int thickness)
Creates a line border that uses the color of the component foreground for drawing |
static Border |
Border.createLineBorder(int thickness,
int color)
Creates a line border that uses the given color for the component |
static Border |
Border.createLineBorder(int thickness,
int color,
java.lang.String title)
Creates a line border that uses the given color for the component |
static Border |
Border.createLineBorder(int thickness,
java.lang.String title)
Creates a line border with the specified title |
static Border |
Border.createOutsetBorder(int thickness)
Creates an outset border with the specified thickness and theme colors |
static Border |
Border.createOutsetBorder(int thickness,
int color)
Creates an outset border with the specified thickness and color |
Border |
Border.createPressedVersion()
When applied to buttons borders produce a version that reverses the effects of the border providing a pressed feel |
static Border |
Border.createRidgeBorder(int thickness)
Creates a ridge border with the specified thickness and theme colors |
static Border |
Border.createRidgeBorder(int thickness,
int color)
Creates a ridge border with the specified thickness and color |
static Border |
Border.createRoundBorder(int arcWidth,
int arcHeight)
Creates a rounded corner border that uses the color of the component foreground for drawing. |
static Border |
Border.createRoundBorder(int arcWidth,
int arcHeight,
boolean outline)
Creates a rounded corner border that uses the color of the component foreground for drawing. |
static Border |
Border.createRoundBorder(int arcWidth,
int arcHeight,
int color)
Creates a rounded border that uses the given color for the component. |
static Border |
Border.createRoundBorder(int arcWidth,
int arcHeight,
int color,
boolean outline)
Creates a rounded border that uses the given color for the component. |
static Border |
Border.createVerticalImageBorder(Image top,
Image bottom,
Image center)
This is an image border that can only grow vertically |
Border |
Style.getBorder()
Returns the border for the style |
Border[] |
Border.getCompoundBorders()
This method returns the Compound Borders array. |
static Border |
Border.getDefaultBorder()
Gets the default border to the given value |
static Border |
Border.getEmpty()
Deprecated. use createEmpty instead |
Border |
Border.getFocusedInstance()
Deprecated. use the getSelectedStyle() method in the component class |
Border |
Border.getPressedInstance()
Returns the pressed version of the border if one is set by the user |
Methods in com.sun.lwuit.plaf with parameters of type Border | |
---|---|
void |
Border.addOuterBorder(Border outer)
Adss a border that wraps this border |
static Border |
Border.createCompoundBorder(Border top,
Border bottom,
Border left,
Border right)
|
void |
Style.setBorder(Border border)
Sets the border for the style |
void |
Style.setBorder(Border border,
boolean override)
Sets the border for the style |
static void |
Border.setDefaultBorder(Border border)
Sets the default border to the given value |
void |
Border.setFocusedInstance(Border focused)
Deprecated. use the getSelectedStyle() method in the component class |
void |
Border.setPressedInstance(Border pressed)
Allows us to define a border that will act as the pressed version of this border |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |