@ColorCodes(value={"displayer.border","displayer.border.light","displayer.border.middle","displayer.border.dark"}) public class FlatBorder extends Object implements Border
Border which paints a 3d-effect. The owner of this
border seems to fly over its parent.| Constructor and Description |
|---|
FlatBorder(DockableDisplayer owner)
Creates a new border.
|
| Modifier and Type | Method and Description |
|---|---|
void |
connect(DockController controller)
Connects this border with
controller and reads some
colors from controller. |
Insets |
getBorderInsets(Component c) |
boolean |
isBorderOpaque() |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
public FlatBorder(DockableDisplayer owner)
owner - the component which uses this borderpublic void connect(DockController controller)
controller and reads some
colors from controller.controller - the source of information or nullpublic void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
paintBorder in interface Borderpublic Insets getBorderInsets(Component c)
getBorderInsets in interface Borderpublic boolean isBorderOpaque()
isBorderOpaque in interface BorderCopyright © 2017 Docking Frames. All rights reserved.