public class ShaderListCellRenderer extends Object implements ListCellRenderer<Shader>
Shaders.| Constructor and Description |
|---|
ShaderListCellRenderer(JComboBox<Shader> comboBox)
Constructs a renderer suitable for use with a combo box containing
shaders.
|
| Modifier and Type | Method and Description |
|---|---|
Component |
getListCellRendererComponent(JList<? extends Shader> list,
Shader shader,
int index,
boolean isSel,
boolean hasFocus) |
public ShaderListCellRenderer(JComboBox<Shader> comboBox)
comboBox's properties in order to update its
enabledness appropriately.comboBox - combo box to contain rendererpublic Component getListCellRendererComponent(JList<? extends Shader> list, Shader shader, int index, boolean isSel, boolean hasFocus)
getListCellRendererComponent in interface ListCellRenderer<Shader>Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.