public class AnimatedBorder
extends java.lang.Object
implements javax.swing.border.Border
| Constructor and Description |
|---|
AnimatedBorder(javax.swing.border.Border[] borders,
long delay)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component c) |
boolean |
isBorderOpaque() |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height) |
public AnimatedBorder(javax.swing.border.Border[] borders,
long delay)
Note: For efficiency reasons this method stores the passed in array internally without copying it. Do not modify the array after invoking this method.
public java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets in interface javax.swing.border.Borderpublic boolean isBorderOpaque()
isBorderOpaque in interface javax.swing.border.Borderpublic 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