public class PartialEtchedBorder extends javax.swing.border.EtchedBorder implements PartialSide
etchType, highlight, LOWERED, RAISED, shadow
ALL, EAST, HORIZONTAL, NORTH, SOUTH, VERTICAL, WEST
Constructor and Description |
---|
PartialEtchedBorder() |
PartialEtchedBorder(java.awt.Color highlight,
java.awt.Color shadow,
int sides) |
PartialEtchedBorder(int sides) |
PartialEtchedBorder(int etchType,
java.awt.Color highlight,
java.awt.Color shadow,
int sides) |
PartialEtchedBorder(int etchType,
int sides) |
Modifier and Type | Method and Description |
---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component c) |
java.awt.Insets |
getBorderInsets(java.awt.Component c,
java.awt.Insets insets) |
int |
getSides() |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height) |
void |
setSides(int sides) |
getEtchType, getHighlightColor, getHighlightColor, getShadowColor, getShadowColor, isBorderOpaque
public PartialEtchedBorder()
public PartialEtchedBorder(int sides)
public PartialEtchedBorder(int etchType, int sides)
public PartialEtchedBorder(java.awt.Color highlight, java.awt.Color shadow, int sides)
public PartialEtchedBorder(int etchType, java.awt.Color highlight, java.awt.Color shadow, int sides)
public int getSides()
public void setSides(int sides)
public void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)
paintBorder
in interface javax.swing.border.Border
paintBorder
in class javax.swing.border.EtchedBorder
public java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets
in interface javax.swing.border.Border
getBorderInsets
in class javax.swing.border.AbstractBorder
public java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets insets)
getBorderInsets
in class javax.swing.border.EtchedBorder