E - component typeD - decoration typeI - background typepublic class MovingHighlightBackground<E extends javax.swing.JComponent,D extends IDecoration<E,D>,I extends MovingHighlightBackground<E,D,I>> extends AbstractBackground<E,D,I>
| Modifier and Type | Field and Description |
|---|---|
protected java.awt.Color |
color
Highlight color.
|
id, opacity| Constructor and Description |
|---|
MovingHighlightBackground() |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Color |
getColor()
Returns highlight color.
|
I |
merge(I background) |
void |
paint(java.awt.Graphics2D g2d,
java.awt.Rectangle bounds,
E c,
D d,
java.awt.Shape shape)
Fills the specified shape with this background.
|
clone, getDefaultId, getId, getOpacitypublic java.awt.Color getColor()
public void paint(java.awt.Graphics2D g2d,
java.awt.Rectangle bounds,
E c,
D d,
java.awt.Shape shape)
IBackgroundg2d - graphics contextbounds - painting boundsc - painted componentd - painted decoration stateshape - background shapepublic I merge(I background)
merge in interface com.alee.api.Mergeable<I extends MovingHighlightBackground<E,D,I>>merge in class AbstractBackground<E extends javax.swing.JComponent,D extends IDecoration<E,D>,I extends MovingHighlightBackground<E,D,I>>