org.openpermis.editor.policy.gui.icon
Class CompoundIcon
java.lang.Object
org.openpermis.editor.policy.gui.icon.CompoundIcon
- All Implemented Interfaces:
- Icon
public class CompoundIcon
- extends Object
- implements Icon
Icon that consists of two icons.
The compound icon draws two icons, the first at the bottom and the second on top of it.
- Since:
- 0.3.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompoundIcon
public CompoundIcon(Icon icon1,
Icon icon2)
- Creates a new annotated icon.
- Parameters:
icon1
- the first icon to display, must not be null
.icon2
- the second icon to display, must not be null
.- Since:
- 0.3.0
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface Icon
- Since:
- 0.3.0
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface Icon
- Since:
- 0.3.0
paintIcon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface Icon
- Since:
- 0.3.0
OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:17:21
Copyright (c) 2002-2007 Ergon Informatik AG