Java DTV API 1.0
12-Dec-2008

Uses of Class
com.sun.lwuit.plaf.Border

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

Copyright © 2008 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved.

U.S. Government Rights - Commercial software. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its supplements. Sun, Sun Microsystems, the Sun logo and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.Products covered by and information contained in this service manual are controlled by U.S. Export Control laws and may be subject to the export or import laws in other countries. Nuclear, missile, chemical biological weapons or nuclear maritime end uses or end users, whether direct or indirect, are strictly prohibited. Export or reexport to countries subject to U.S. embargo or to entities identified on U.S. export exclusion lists, including, but not limited to, the denied persons and specially designated nationals lists is strictly prohibited.

DOCUMENTATION IS PROVIDED AS IS AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.

Use of this document is subject to license terms.