org.noos.xing.mydoggy.plaf.ui.cmp
Class MultipleAggregateIcon
java.lang.Object
org.noos.xing.mydoggy.plaf.ui.cmp.MultipleAggregateIcon
- All Implemented Interfaces:
- Icon, SwingConstants
- Direct Known Subclasses:
- TabbedContentPane.ExMultipleAggregateIcon
public class MultipleAggregateIcon
- extends Object
- implements Icon, SwingConstants
- Author:
- Angelo De Caro (angelo.decaro@gmail.com)
| Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
orientation
protected int orientation
icons
protected Icon[] icons
visible
protected boolean[] visible
lastPaintedRecs
protected Rectangle[] lastPaintedRecs
MultipleAggregateIcon
public MultipleAggregateIcon(int numIcon,
int orientation)
paintIcon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
- Specified by:
paintIcon in interface Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth in interface Icon
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight in interface Icon
getSize
public int getSize()
getIconAt
public Icon getIconAt(int index)
setIconAt
public void setIconAt(int index,
Icon icon)
isVisibleAt
public boolean isVisibleAt(int index)
setVisibleAt
public void setVisibleAt(int index,
boolean visible)
getLastPaintedRecAt
public Rectangle getLastPaintedRecAt(int index)
Copyright © 2012. All Rights Reserved.