Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
javax.swing.border.Border

Packages that use Border
javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
javax.swing.border | Provides classes and interface for drawing specialized borders around a Swing component.
javax.swing.plaf | Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.
javax.swing.plaf.basic | Provides user interface objects built according to the Basic look-and-feel.
javax.swing.plaf.metal | Provides user interface objects built according to the ``metal'' look-and-feel.
javax.swing.table | Provides classes and interfaces for dealing with javax.swing.JTable.
javax.swing.tree | Provides classes and interfaces for dealing with javax.swing.JTree.

Uses of Border in javax.swing

Fields in javax.swing declared as Border
`protected static Border` | `DefaultListCellRenderer.noFocusBorder`

Methods in javax.swing that return Border
`Border` | `JComponent.getBorder()` Returns the border of this component or null if no border is currently set.
`static Border` | `BorderFactory.createLineBorder(Color color)` Creates a line border withe the specified color.
`static Border` | `BorderFactory.createLineBorder(Color color, int thickness)` Creates a line border with the specified color and width.
`static Border` | `BorderFactory.createRaisedBevelBorder()` Creates a border with a raised beveled edge, using brighter shades of the component's current background color for highlighting, and darker shading for shadows.
`static Border` | `BorderFactory.createLoweredBevelBorder()` Creates a border with a lowered beveled edge, using brighter shades of the component's current background color for highlighting, and darker shading for shadows.
`static Border` | `BorderFactory.createBevelBorder(int type)` Creates a beveled border of the specified type, using brighter shades of the component's current background color for highlighting, and darker shading for shadows.
`static Border` | `BorderFactory.createBevelBorder(int type, Color highlight, Color shadow)` Creates a beveled border of the specified type, using the specified highlighting and shadowing.
`static Border` | `BorderFactory.createBevelBorder(int type, Color highlightOuter, Color highlightInner, Color shadowOuter, Color shadowInner)` Creates a beveled border of the specified type, using the specified colors for the inner and outer highlight and shadow areas.
`static Border` | `BorderFactory.createEtchedBorder()` Creates a border with an "etched" look using the component's current background color for highlighting and shading.
`static Border` | `BorderFactory.createEtchedBorder(Color highlight, Color shadow)` Creates a border with an "etched" look using the specified highlighting and shading colors.
`static Border` | `BorderFactory.createEtchedBorder(int type)` Creates a border with an "etched" look using the component's current background color for highlighting and shading.
`static Border` | `BorderFactory.createEtchedBorder(int type, Color highlight, Color shadow)` Creates a border with an "etched" look using the specified highlighting and shading colors.
`static Border` | `BorderFactory.createEmptyBorder()` Creates an empty border that takes up no space.
`static Border` | `BorderFactory.createEmptyBorder(int top, int left, int bottom, int right)` Creates an empty border that takes up space but which does no drawing, specifying the width of the top, left, bottom, and right sides.
`Border` | `UIDefaults.getBorder(Object key)` If the value of `key` is a `Border` return it, otherwise return `null`.
`static Border` | `UIManager.getBorder(Object key)` Returns a border from the defaults table.
`Border` | `JScrollPane.getViewportBorder()` Returns the `Border` object that surrounds the viewport.

Methods in javax.swing with parameters of type Border
`void` | `JComponent.setBorder(Border border)` Sets the border of this component.
`void` | `JViewport.setBorder(Border border)` The viewport "scrolls" it's child (called the "view") by the normal parent/child clipping (typically the view is moved in the opposite direction of the scroll).
`protected String` | `JComponent.AccessibleJComponent.getBorderTitle(Border b)` Recursively search through the border hierarchy (if it exists) for a TitledBorder with a non-null title.
`static TitledBorder` | `BorderFactory.createTitledBorder(Border border)` Creates a new title border with an empty title specifying the border object, using the default text position (sitting on the top line) and default justification (leading) and using the default font, text color, and border determined by the current look and feel.
`static TitledBorder` | `BorderFactory.createTitledBorder(Border border, String title)` Adds a title to an existing border, specifying the text of the title, using the default positioning (sitting on the top line) and default justification (leading) and using the default font and text color determined by the current look and feel.
`static TitledBorder` | `BorderFactory.createTitledBorder(Border border, String title, int titleJustification, int titlePosition)` Adds a title to an existing border, specifying the text of the title along with its positioning, using the default font and text color determined by the current look and feel.
`static TitledBorder` | `BorderFactory.createTitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont)` Adds a title to an existing border, specifying the text of the title along with its positioning and font, using the default text color determined by the current look and feel.
`static TitledBorder` | `BorderFactory.createTitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)` Adds a title to an existing border, specifying the text of the title along with its positioning, font, and color.
`static CompoundBorder` | `BorderFactory.createCompoundBorder(Border outsideBorder, Border insideBorder)` Creates a compound border specifying the border objects to use for the outside and inside edges.
`void` | `JScrollPane.setViewportBorder(Border viewportBorder)` Adds a border around the viewport.

Uses of Border in javax.swing.border

Classes in javax.swing.border that implement Border
`class` | `AbstractBorder` A class that implements an empty border with no size.
`class` | `BevelBorder` A class which implements a simple 2 line bevel border.
`class` | `CompoundBorder` A composite Border class used to compose two Border objects into a single border by nesting an inside Border object within the insets of an outside Border object.
`class` | `EmptyBorder` A class which provides an empty, transparent border which takes up space but does no drawing.
`class` | `EtchedBorder` A class which implements a simple etched border which can either be etched-in or etched-out.
`class` | `LineBorder` A class which implements a line border of arbitrary thickness and of a single color.
`class` | `MatteBorder` A class which provides a matte-like border of either a solid color or a tiled icon.
`class` | `SoftBevelBorder` A class which implements a raised or lowered bevel with softened corners.
`class` | `TitledBorder` A class which implements an arbitrary border with the addition of a String title in a specified position and justification.

Fields in javax.swing.border declared as Border
`protected Border` | `CompoundBorder.outsideBorder`
`protected Border` | `CompoundBorder.insideBorder`
`protected Border` | `TitledBorder.border`

Methods in javax.swing.border that return Border
`Border` | `CompoundBorder.getOutsideBorder()` Returns the outside border object.
`Border` | `CompoundBorder.getInsideBorder()` Returns the inside border object.
`static Border` | `LineBorder.createBlackLineBorder()` Convenience method for getting the Color.black LineBorder of thickness 1.
`static Border` | `LineBorder.createGrayLineBorder()` Convenience method for getting the Color.gray LineBorder of thickness 1.
`Border` | `TitledBorder.getBorder()` Returns the border of the titled border.

Methods in javax.swing.border with parameters of type Border
`static Rectangle` | `AbstractBorder.getInteriorRectangle(Component c, Border b, int x, int y, int width, int height)` Returns a rectangle using the arguments minus the insets of the border.
`void` | `TitledBorder.setBorder(Border border)` Sets the border of the titled border.

Constructors in javax.swing.border with parameters of type Border
`CompoundBorder(Border outsideBorder, Border insideBorder)` Creates a compound border with the specified outside and inside borders.
`TitledBorder(Border border)` Creates a TitledBorder instance with the specified border and an empty title.
`TitledBorder(Border border, String title)` Creates a TitledBorder instance with the specified border and title.
`TitledBorder(Border border, String title, int titleJustification, int titlePosition)` Creates a TitledBorder instance with the specified border, title, title-justification, and title-position.
`TitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont)` Creates a TitledBorder instance with the specified border, title, title-justification, title-position, and title-font.
`TitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)` Creates a TitledBorder instance with the specified border, title, title-justification, title-position, title-font, and title-color.

Uses of Border in javax.swing.plaf

Classes in javax.swing.plaf that implement Border
`class` | `BorderUIResource`
`static class` | `BorderUIResource.BevelBorderUIResource`
`static class` | `BorderUIResource.CompoundBorderUIResource`
`static class` | `BorderUIResource.EmptyBorderUIResource`
`static class` | `BorderUIResource.EtchedBorderUIResource`
`static class` | `BorderUIResource.LineBorderUIResource`
`static class` | `BorderUIResource.MatteBorderUIResource`
`static class` | `BorderUIResource.TitledBorderUIResource`

Methods in javax.swing.plaf that return Border
`static Border` | `BorderUIResource.getEtchedBorderUIResource()`
`static Border` | `BorderUIResource.getLoweredBevelBorderUIResource()`
`static Border` | `BorderUIResource.getRaisedBevelBorderUIResource()`
`static Border` | `BorderUIResource.getBlackLineBorderUIResource()`

Constructors in javax.swing.plaf with parameters of type Border
`BorderUIResource(Border delegate)` Creates a UIResource border object which wraps an existing Border instance.
`BorderUIResource.CompoundBorderUIResource(Border outsideBorder, Border insideBorder)`
`BorderUIResource.TitledBorderUIResource(Border border)`
`BorderUIResource.TitledBorderUIResource(Border border, String title)`
`BorderUIResource.TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition)`
`BorderUIResource.TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont)`
`BorderUIResource.TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)`

Uses of Border in javax.swing.plaf.basic

Classes in javax.swing.plaf.basic that implement Border
`static class` | `BasicBorders.ButtonBorder`
`static class` | `BasicBorders.FieldBorder`
`static class` | `BasicBorders.MarginBorder`
`static class` | `BasicBorders.MenuBarBorder`
`static class` | `BasicBorders.RadioButtonBorder`
`static class` | `BasicBorders.SplitPaneBorder` Draws the border around the splitpane.
`static class` | `BasicBorders.ToggleButtonBorder`

Fields in javax.swing.plaf.basic declared as Border
`protected static Border` | `BasicComboBoxRenderer.noFocusBorder`

Methods in javax.swing.plaf.basic that return Border
`static Border` | `BasicBorders.getButtonBorder()`
`static Border` | `BasicBorders.getRadioButtonBorder()`
`static Border` | `BasicBorders.getToggleButtonBorder()`
`static Border` | `BasicBorders.getMenuBarBorder()`
`static Border` | `BasicBorders.getSplitPaneBorder()`
`static Border` | `BasicBorders.getSplitPaneDividerBorder()` Returns a border instance for a JSplitPane divider
`static Border` | `BasicBorders.getTextFieldBorder()`
`static Border` | `BasicBorders.getProgressBarBorder()`
`static Border` | `BasicBorders.getInternalFrameBorder()`
`Border` | `BasicSplitPaneDivider.getBorder()` Returns the border of this component or null if no border is currently set.

Methods in javax.swing.plaf.basic with parameters of type Border
`void` | `BasicSplitPaneDivider.setBorder(Border border)` Sets the border of this component.

Uses of Border in javax.swing.plaf.metal

Classes in javax.swing.plaf.metal that implement Border
`static class` | `MetalBorders.ButtonBorder`
`static class` | `MetalBorders.Flush3DBorder`
`static class` | `MetalBorders.InternalFrameBorder`
`static class` | `MetalBorders.MenuBarBorder`
`static class` | `MetalBorders.MenuItemBorder`
`static class` | `MetalBorders.OptionDialogBorder`
`static class` | `MetalBorders.PaletteBorder` Border for a Palatte.
`static class` | `MetalBorders.PopupMenuBorder`
`static class` | `MetalBorders.RolloverButtonBorder`
`static class` | `MetalBorders.ScrollPaneBorder`
`static class` | `MetalBorders.TableHeaderBorder` Border for a Table Header
`static class` | `MetalBorders.TextFieldBorder`
`static class` | `MetalBorders.ToggleButtonBorder`
`static class` | `MetalBorders.ToolBarBorder`

Methods in javax.swing.plaf.metal that return Border
`static Border` | `MetalBorders.getButtonBorder()` Returns a border instance for a JButton
`static Border` | `MetalBorders.getTextBorder()` Returns a border instance for a text component
`static Border` | `MetalBorders.getTextFieldBorder()` Returns a border instance for a JTextField
`static Border` | `MetalBorders.getToggleButtonBorder()` Returns a border instance for a JToggleButton
`static Border` | `MetalBorders.getDesktopIconBorder()` Returns a border instance for a Desktop Icon

Uses of Border in javax.swing.table

Fields in javax.swing.table declared as Border
`protected static Border` | `DefaultTableCellRenderer.noFocusBorder`

Uses of Border in javax.swing.tree

Fields in javax.swing.tree declared as Border
`protected Border` | `DefaultTreeCellEditor.DefaultTextField.border` Border to use.

Methods in javax.swing.tree that return Border
`Border` | `DefaultTreeCellEditor.DefaultTextField.getBorder()` Overrides `JComponent.getBorder` to returns the current border.

Constructors in javax.swing.tree with parameters of type Border
`DefaultTreeCellEditor.DefaultTextField(Border border)` Constructs a DefaultTreeCellEditor$DefaultTextField object.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.