com.miginfocom.util.gfx
Class ImageBorder
java.lang.Object
com.miginfocom.util.gfx.ScaleableImage
com.miginfocom.util.gfx.SlicedImage
com.miginfocom.util.gfx.ImageBorder
- All Implemented Interfaces:
- java.awt.Transparency, java.io.Serializable, javax.swing.border.Border, javax.swing.Icon
public class ImageBorder
- extends SlicedImage
- implements javax.swing.border.Border
A border based on a SlicedImage
.
- See Also:
- Serialized Form
Fields inherited from interface java.awt.Transparency |
BITMASK, OPAQUE, TRANSLUCENT |
Methods inherited from class com.miginfocom.util.gfx.SlicedImage |
createSlices, drawImage, equals, flush, getCenterSize, getIconHeight, getIconWidth, getSliceDimSz, getSliceSpec, getTransparency, getXtdImage, paintIcon, setXtdImage |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageBorder
public ImageBorder(SliceSpec spec)
ImageBorder
public ImageBorder(SliceSpec spec,
XtdImage image)
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c)
- Specified by:
getBorderInsets
in interface javax.swing.border.Border
isBorderOpaque
public boolean isBorderOpaque()
- Specified by:
isBorderOpaque
in interface javax.swing.border.Border
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
Copyright © 2009 MiG InfoCom AB. All Rights Reserved.