org.noos.xing.mydoggy.plaf.ui.cmp
Class AggregateIcon
java.lang.Object
org.noos.xing.mydoggy.plaf.ui.cmp.AggregateIcon
- All Implemented Interfaces:
- Icon, SwingConstants
public class AggregateIcon
- 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 |
AggregateIcon
public AggregateIcon(Icon leftIcon,
Icon rightIcon,
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
getLastPaintedLeftRec
public Rectangle getLastPaintedLeftRec()
getLastPaintedRightRec
public Rectangle getLastPaintedRightRec()
getLeftIcon
public Icon getLeftIcon()
setLeftIcon
public void setLeftIcon(Icon leftIcon)
getRightIcon
public Icon getRightIcon()
setRightIcon
public void setRightIcon(Icon rightIcon)
isLeftVisible
public boolean isLeftVisible()
setLeftVisible
public void setLeftVisible(boolean leftVisible)
isRightVisible
public boolean isRightVisible()
setRightVisible
public void setRightVisible(boolean rightVisible)
Copyright © 2012. All Rights Reserved.