com.cbse.jeasy
Class JEBorder.ShadowBorder
java.lang.Object
javax.swing.border.AbstractBorder
com.cbse.jeasy.JEBorder.ShadowBorder
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.border.Border
- Enclosing class:
- JEBorder
public class JEBorder.ShadowBorder
- extends javax.swing.border.AbstractBorder
- See Also:
- Serialized Form
| 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 |
JEBorder.ShadowBorder
public JEBorder.ShadowBorder(java.awt.Color color)
JEBorder.ShadowBorder
public JEBorder.ShadowBorder(java.awt.Color color,
int hoffset,
int voffset)
paintBorder
public void paintBorder(java.awt.Component color,
java.awt.Graphics g2,
int x,
int y,
int width,
int height)
- Specified by:
paintBorder in interface javax.swing.border.Border- Overrides:
paintBorder in class javax.swing.border.AbstractBorder
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component color)
- Specified by:
getBorderInsets in interface javax.swing.border.Border- Overrides:
getBorderInsets in class javax.swing.border.AbstractBorder
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component color,
java.awt.Insets inset)
- Overrides:
getBorderInsets in class javax.swing.border.AbstractBorder
isBorderOpaque
public boolean isBorderOpaque()
- Specified by:
isBorderOpaque in interface javax.swing.border.Border- Overrides:
isBorderOpaque in class javax.swing.border.AbstractBorder
getShadowColor
public java.awt.Color getShadowColor()
getHorizontalOffset
public int getHorizontalOffset()
getVerticalOffset
public int getVerticalOffset()