public interface CompoundIcon
extends javax.swing.Icon
Modifier and Type | Field and Description |
---|---|
static int |
STACKED |
Modifier and Type | Method and Description |
---|---|
float |
getAlignmentX()
Get the alignment of the icon on the x-axis
|
float |
getAlignmentY()
Get the alignment of the icon on the y-axis
|
int |
getGap()
Get the gap between each icon
|
javax.swing.Icon |
getIcon(int index)
Get the Icon at the specified index.
|
int |
getIconCount()
Get the number of Icons contained in this CompoundIcon.
|
int |
getOrientation()
Get the orientation along which each icon is painted.
|
static final int STACKED
float getAlignmentX()
float getAlignmentY()
int getGap()
javax.swing.Icon getIcon(int index)
index
- the index of the Icon to be returnedjava.lang.IndexOutOfBoundsException
- if the index is out of rangeint getIconCount()
int getOrientation()