Class BasicStyleListCellRenderer
- java.lang.Object
-
- org.locationtech.jts.jump.workbench.ui.renderer.style.BasicStyleListCellRenderer
-
- All Implemented Interfaces:
ListCellRenderer
public class BasicStyleListCellRenderer extends Object implements ListCellRenderer
-
-
Field Summary
Fields Modifier and Type Field Description protected ColorPanelcolorPanelprotected DefaultListCellRendererdefaultListCellRenderer
-
Constructor Summary
Constructors Constructor Description BasicStyleListCellRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComponentgetListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)voidsetAlpha(int alpha)protected voidsetColorPanelSize(Dimension d)
-
-
-
Field Detail
-
colorPanel
protected ColorPanel colorPanel
-
defaultListCellRenderer
protected DefaultListCellRenderer defaultListCellRenderer
-
-
Method Detail
-
setColorPanelSize
protected void setColorPanelSize(Dimension d)
-
setAlpha
public void setAlpha(int alpha)
-
getListCellRendererComponent
public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
- Specified by:
getListCellRendererComponentin interfaceListCellRenderer
-
-