Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## charvax.swing.border
Class CompoundBorder

    java.lang.Object
      charvax.swing.border.CompoundBorder

All Implemented Interfaces:
  Border

public class CompoundBorder
extends java.lang.Object
implements Border

Constructor Summary
`CompoundBorder(Border outsideBorder_, Border insideBorder_)`

Method Summary
`Insets` | `getBorderInsets(Component component_)` Returns the insets of the compound border.
`void` | `paintBorder(Component component_, int colorpair_, int x_, int y_, int width_, int height_)` Paints the border for the specified component with the specified position and size.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CompoundBorder

    public CompoundBorder(Border outsideBorder_,
                          Border insideBorder_)

Method Detail

### getBorderInsets

    public Insets getBorderInsets(Component component_)

  Returns the insets of the compound border.

  Specified by:
    `getBorderInsets` in interface `Border`

### paintBorder

    public void paintBorder(Component component_,
                            int colorpair_,
                            int x_,
                            int y_,
                            int width_,
                            int height_)

  Paints the border for the specified component with the specified position and size. (acually the component_ parameter is unused but is here for compatibility with Swing).

  Specified by:
    `paintBorder` in interface `Border`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD