Class GradientComboRenderer
java.lang.Object
org.openjump.core.rasterimage.styler.ui.GradientComboRenderer
- All Implemented Interfaces:
ListCellRenderer
Class that allows to add the GradientCanvas component to the items of a JComboBox.
- Author:
- GeomaticaEAmbiente
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
-
Constructor Details
-
GradientComboRenderer
public GradientComboRenderer(float width, float height)
-
-
Method Details
-
getListCellRendererComponent
public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) - Specified by:
getListCellRendererComponentin interfaceListCellRenderer
-