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
-
Method Summary
Modifier and TypeMethodDescriptionint
int
void
-
Constructor Details
-
PaletteIcon
-
-
Method Details
-
paintIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidth
in interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeight
in interfaceIcon
-