|
Java DTV API 1.0 12-Dec-2008 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Border | |
com.sun.lwuit | Main widget package containing the component/container "composite" similar both in terminology and design to Swing/AWT. |
com.sun.lwuit.plaf | Look of the application can be fully customized via this package, it represents a rendering layer that can be plugged in separately in runtime and themed to provide any custom look. |
Uses of Border in com.sun.lwuit |
Methods in com.sun.lwuit that return Border | |
protected Border |
Button.getBorder()
|
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 |
Uses of Border in com.sun.lwuit.plaf |
Methods in com.sun.lwuit.plaf that return Border | |
static Border |
Accessor.getPressed(Border b)
Indicates whether this border is pressed. |
static Border |
Border.getEmpty()
Returns an empty border, this is mostly useful for overriding components that have a border by default. |
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.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.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.createLineBorder(int thickness)
Creates a line border that uses the color of the component foreground for drawing. |
static Border |
Border.createLineBorder(int thickness,
Color color)
Creates a line border that uses the given color for the component. |
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,
Color color)
Creates a rounded border that uses the given color for the component. |
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.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. |
Border |
Border.getFocusedInstance()
Returns the focused version of the border if one is installed. |
Border |
Border.getPressedInstance()
Returns the pressed version of the border if one is set by the user. |
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.getDefaultBorder()
Gets the default border to the given value. |
Border |
Style.getBorder()
Returns the border for the style. |
Methods in com.sun.lwuit.plaf with parameters of type Border | |
static int |
Accessor.getType(Border b)
Returns the border type. |
static String |
Accessor.toString(Border b)
Returns the string representation of the border object. |
static Image[] |
Accessor.getImages(Border b)
Returns the images of the border. |
static boolean |
Accessor.isThemeColors(Border b)
Indicates whether border is in theme colors. |
static Color |
Accessor.getColorA(Border b)
Returns color a of the border. |
static Color |
Accessor.getColorB(Border b)
Returns color b of the border. |
static Color |
Accessor.getColorC(Border b)
Returns color c of the border. |
static Color |
Accessor.getColorD(Border b)
Returns color d of the border. |
static int |
Accessor.getThickness(Border b)
Returns the border's thickness. |
static int |
Accessor.getArcWidth(Border b)
Returns the border's arc width. |
static int |
Accessor.getArcHeight(Border b)
Returns the border's arc height. |
static Border |
Accessor.getPressed(Border b)
Indicates whether this border is pressed. |
void |
Border.setPressedInstance(Border pressed)
Allows us to define a border that will act as the pressed version of this border. |
void |
Border.setFocusedInstance(Border focused)
Allows us to define a border that will act as the focused version of this border. |
static void |
Border.setDefaultBorder(Border border)
Sets the default border to the given value. |
void |
Style.setBorder(Border border)
Sets the border for the style. |
void |
Style.setBorder(Border border,
boolean override)
Sets the border for the style. |
|
Java DTV API 1.0 12-Dec-2008 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |