public class ColorBorder extends AbstractBorder
Constructor and Description |
---|
ColorBorder(Color color,
int top,
int left,
int bottom,
int right) |
Modifier and Type | Method and Description |
---|---|
Insets |
getBorderInsets(Component c) |
boolean |
isBorderOpaque() |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
public ColorBorder(Color color, int top, int left, int bottom, int right)
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
paintBorder
in interface Border
paintBorder
in class AbstractBorder
public Insets getBorderInsets(Component c)
getBorderInsets
in interface Border
getBorderInsets
in class AbstractBorder
public boolean isBorderOpaque()
isBorderOpaque
in interface Border
isBorderOpaque
in class AbstractBorder
Copyright © 2015 universAAL Consortium. All Rights Reserved.