com.jidesoft.swing
Class PartialEtchedBorder
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.EtchedBorder
com.jidesoft.swing.PartialEtchedBorder
- All Implemented Interfaces:
- PartialSide, java.io.Serializable, javax.swing.border.Border
public class PartialEtchedBorder
- extends javax.swing.border.EtchedBorder
- implements PartialSide
- See Also:
- Serialized Form
| Fields inherited from class javax.swing.border.EtchedBorder |
etchType, highlight, LOWERED, RAISED, shadow |
| Methods inherited from class javax.swing.border.EtchedBorder |
getEtchType, getHighlightColor, getHighlightColor, getShadowColor, getShadowColor, isBorderOpaque |
| Methods inherited from class javax.swing.border.AbstractBorder |
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartialEtchedBorder
public PartialEtchedBorder()
PartialEtchedBorder
public PartialEtchedBorder(int sides)
PartialEtchedBorder
public PartialEtchedBorder(int etchType,
int sides)
PartialEtchedBorder
public PartialEtchedBorder(java.awt.Color highlight,
java.awt.Color shadow,
int sides)
PartialEtchedBorder
public PartialEtchedBorder(int etchType,
java.awt.Color highlight,
java.awt.Color shadow,
int sides)
getSides
public int getSides()
setSides
public void setSides(int sides)
paintBorder
public void paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
- Specified by:
paintBorder in interface javax.swing.border.Border- Overrides:
paintBorder in class javax.swing.border.EtchedBorder
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c)
- Specified by:
getBorderInsets in interface javax.swing.border.Border- Overrides:
getBorderInsets in class javax.swing.border.EtchedBorder
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c,
java.awt.Insets insets)
- Overrides:
getBorderInsets in class javax.swing.border.EtchedBorder