Package docking.theme.gui
Class ProtectedIcon
java.lang.Object
docking.theme.gui.ProtectedIcon
- All Implemented Interfaces:
Icon
A wrapper for an icon that suppresses errors. Some Icons that are mined from a
LookAndFeel
have specialized uses and will throw exceptions if used outside
their intended component. This class is used when trying to show them in the the theme
editor table.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
void
-
Constructor Details
-
ProtectedIcon
-
-
Method Details
-
paintIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidth
in interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeight
in interfaceIcon
-