Java Platform 1.2
Beta 4

Uses of Interface
com.sun.java.swing.border.Border

Packages that use Border
com.sun.java.swing Provides a set of "lightweight" (all-Java
com.sun.java.swing.border Provides classes and interface for drawing specialized borders around a Swing component.  
com.sun.java.swing.plaf Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.  
com.sun.java.swing.table Provides classes and interfaces for dealing with java.awt.swing. 
com.sun.java.swing.tree Provides classes and interfaces for dealing with java.awt.swing. 
 

Uses of Border in com.sun.java.swing
 

Fields in com.sun.java.swing declared as Border
protected static Border DefaultListCellRenderer.noFocusBorder
           
 

Methods in com.sun.java.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)
           
static Border BorderFactory.createLineBorder(Color color, int thickness)
           
static Border BorderFactory.createRaisedBevelBorder()
           
static Border BorderFactory.createLoweredBevelBorder()
           
static Border BorderFactory.createBevelBorder(int type)
           
static Border BorderFactory.createBevelBorder(int type, Color highlight, Color shadow)
           
static Border BorderFactory.createBevelBorder(int type, Color highlightOuter, Color highlightInner, Color shadowOuter, Color shadowInner)
           
static Border BorderFactory.createEtchedBorder()
           
static Border BorderFactory.createEtchedBorder(Color highlight, Color shadow)
           
static Border BorderFactory.createEmptyBorder()
           
static Border BorderFactory.createEmptyBorder(int top, int left, int bottom, int right)
           
static Border UIManager.getBorder(Object key)
           
 Border JScrollPane.getViewportBorder()
          Returns the value of the viewportBorder property.
 Border UIDefaults.getBorder(Object key)
          If the value of key is a Border return it, otherwise return null.
 

Methods in com.sun.java.swing with parameters of type Border
 void JComponent.setBorder(Border border)
          Sets the border of this component.
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)
           
static TitledBorder BorderFactory.createTitledBorder(Border border, String title)
           
static TitledBorder BorderFactory.createTitledBorder(Border border, String title, int titleJustification, int titlePosition)
           
static TitledBorder BorderFactory.createTitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont)
           
static TitledBorder BorderFactory.createTitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)
           
static CompoundBorder BorderFactory.createCompoundBorder(Border outsideBorder, Border insideBorder)
           
 void JScrollPane.setViewportBorder(Border viewportBorder)
          Add a border around the viewport.
 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).
 

Uses of Border in com.sun.java.swing.border
 

Classes in com.sun.java.swing.border that implement Border
 class AbstractBorder
          A class which 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 com.sun.java.swing.border declared as Border
protected  Border CompoundBorder.outsideBorder
           
protected  Border CompoundBorder.insideBorder
           
protected  Border TitledBorder.border
           
 

Methods in com.sun.java.swing.border that return Border
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 CompoundBorder.getOutsideBorder()
          Returns the outside border object.
 Border CompoundBorder.getInsideBorder()
          Returns the inside border object.
 Border TitledBorder.getBorder()
          Returns the border of the titled border.
 

Methods in com.sun.java.swing.border with parameters of type Border
static Rectangle AbstractBorder.getInteriorRectangle(Component c, Border b, int x, int y, int width, int height)
          This method returns a rectangle using the arguements minus the insets of the border.
 void TitledBorder.setBorder(Border border)
          Sets the border of the titled border.
 

Constructors in com.sun.java.swing.border with parameters of type Border
CompoundBorder.CompoundBorder(Border outsideBorder, Border insideBorder)
          Creates a compound border with the specified outside and inside borders.
TitledBorder.TitledBorder(Border border)
          Creates a TitledBorder instance with the specified border and an empty title.
TitledBorder.TitledBorder(Border border, String title)
          Creates a TitledBorder instance with the specified border and title.
TitledBorder.TitledBorder(Border border, String title, int titleJustification, int titlePosition)
          Creates a TitledBorder instance with the specified border, title, title-justification, and title-position.
TitledBorder.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.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 com.sun.java.swing.plaf
 

Classes in com.sun.java.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 com.sun.java.swing.plaf that return Border
static Border BorderUIResource.getEtchedBorderUIResource()
           
static Border BorderUIResource.getLoweredBevelBorderUIResource()
           
static Border BorderUIResource.getRaisedBevelBorderUIResource()
           
static Border BorderUIResource.getBlackLineBorderUIResource()
           
 

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

Uses of Border in com.sun.java.swing.table
 

Fields in com.sun.java.swing.table declared as Border
protected static Border DefaultTableCellRenderer.noFocusBorder
           
 

Uses of Border in com.sun.java.swing.tree
 

Fields in com.sun.java.swing.tree declared as Border
protected  Border DefaultTreeCellEditor.DefaultTextField.border
          Border to use.
 

Methods in com.sun.java.swing.tree that return Border
 Border DefaultTreeCellEditor.DefaultTextField.getBorder()
           
 

Constructors in com.sun.java.swing.tree with parameters of type Border
DefaultTreeCellEditor.DefaultTextField.DefaultTreeCellEditor.DefaultTextField(Border border)
           
 


Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.