Package com.moneydance.awt
Class ImageBorder
java.lang.Object
javax.swing.border.AbstractBorder
com.moneydance.awt.ImageBorder
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.border.Border
- Direct Known Subclasses:
PaperBorder
public class ImageBorder
extends javax.swing.border.AbstractBorder
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ImageBorder()
ImageBorder(java.awt.Image top, java.awt.Image topLeft, java.awt.Image topRight, java.awt.Image left, java.awt.Image right, java.awt.Image bottomLeft, java.awt.Image bottom, java.awt.Image bottomRight)
-
Method Summary
Modifier and Type Method Description java.awt.Insets
getBorderInsets(java.awt.Component c)
java.awt.Insets
getBorderInsets(java.awt.Component c, java.awt.Insets aInset)
boolean
isBorderOpaque()
void
paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)
void
setImages(java.awt.Image top, java.awt.Image topLeft, java.awt.Image topRight, java.awt.Image left, java.awt.Image right, java.awt.Image bottomLeft, java.awt.Image bottom, java.awt.Image bottomRight)
-
Constructor Details
-
ImageBorder
public ImageBorder() -
ImageBorder
public ImageBorder(java.awt.Image top, java.awt.Image topLeft, java.awt.Image topRight, java.awt.Image left, java.awt.Image right, java.awt.Image bottomLeft, java.awt.Image bottom, java.awt.Image bottomRight)
-
-
Method Details
-
setImages
public void setImages(java.awt.Image top, java.awt.Image topLeft, java.awt.Image topRight, java.awt.Image left, java.awt.Image right, java.awt.Image bottomLeft, java.awt.Image bottom, java.awt.Image bottomRight) -
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c)- Specified by:
getBorderInsets
in interfacejavax.swing.border.Border
- Overrides:
getBorderInsets
in classjavax.swing.border.AbstractBorder
-
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets aInset)- Overrides:
getBorderInsets
in classjavax.swing.border.AbstractBorder
-
isBorderOpaque
public boolean isBorderOpaque()- Specified by:
isBorderOpaque
in interfacejavax.swing.border.Border
- Overrides:
isBorderOpaque
in classjavax.swing.border.AbstractBorder
-
paintBorder
public void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)- Specified by:
paintBorder
in interfacejavax.swing.border.Border
- Overrides:
paintBorder
in classjavax.swing.border.AbstractBorder
-