E - component typeD - decoration typeI - content typepublic class CheckIcon<E extends javax.swing.JCheckBox,D extends IDecoration<E,D>,I extends CheckIcon<E,D,I>> extends AbstractContent<E,D,I>
JCheckBox component.| Modifier and Type | Field and Description |
|---|---|
protected java.awt.Color |
color
Check icon color.
|
protected java.awt.Stroke |
stroke
Check icon shape stroke.
|
bounds| Constructor and Description |
|---|
CheckIcon() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId() |
I |
merge(I icon) |
void |
paint(java.awt.Graphics2D g2d,
java.awt.Rectangle bounds,
E c,
D d)
Paints component's content.
|
getBoundsType@XStreamAsAttribute protected java.awt.Stroke stroke
@XStreamAsAttribute protected java.awt.Color color
public java.lang.String getId()
public void paint(java.awt.Graphics2D g2d,
java.awt.Rectangle bounds,
E c,
D d)
IContentg2d - graphics contextbounds - painting boundsc - painted componentd - painted decoration state