| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Presents group of not aligned buttons.
| Constructor Summary | |
LayeredIcon()Constructs new group without of icons. | |
LayeredIcon(Icon[] icons)Constructs new group from spcified array of Icons. | |
| Method Summary | |
void | addIcon(Icon icon)Adds new icon in the group. |
Icon | getIconAt(int index)Returns icon at the specified position in group. |
int | getIconCount()Returns count of icons in this group. |
int | getIconHeight()Finds an icon with a maximum height and returns it's height. |
int | getIconWidth()Finds an icon with a maximum width and returns it's width. |
void | insertIconAt(Icon icon, int index)Insert new icon before specified position; |
void | paintIcon(Component c, Graphics g, int x, int y)Draw the icon at the specified location. |
void | removeAllIcons()Removes all icons from this group. |
void | removeIconAt(int index)Remove icon at specified position. |
| Constructor Detail |
public LayeredIcon()
public LayeredIcon(Icon[] icons)
Icons.| Method Detail |
public void addIcon(Icon icon)
public Icon getIconAt(int index)
public int getIconCount()
public int getIconHeight()
public int getIconWidth()
public void insertIconAt(Icon icon, int index)
public void paintIcon(Component c, Graphics g, int x, int y)
public void removeAllIcons()
public void removeIconAt(int index)
| Association Links |
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||