Package org.jcolorbrewer.ui
Class PaletteIcon
java.lang.Object
org.jcolorbrewer.ui.PaletteIcon
- All Implemented Interfaces:
Icon
Creates a color palette icon from a palette defined by ColorBrewer
- Author:
- Peter Rose
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintvoid
-
Constructor Details
-
PaletteIcon
-
-
Method Details
-
paintIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidthin interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeightin interfaceIcon
-