Package org.omegat.util.gui
Class DelegatingComboBoxRenderer<T,U>
- java.lang.Object
-
- org.omegat.util.gui.DelegatingComboBoxRenderer<T,U>
-
- All Implemented Interfaces:
javax.swing.ListCellRenderer<T>
- Direct Known Subclasses:
LanguageComboBoxRenderer
,TokenizerComboBoxRenderer
public abstract class DelegatingComboBoxRenderer<T,U> extends java.lang.Object implements javax.swing.ListCellRenderer<T>
A combo box renderer that delegates rendering to the Look And Feel's default renderer. This preserves OS styling and highlighting on e.g. Mac OS X.
-
-
Constructor Summary
Constructors Constructor Description DelegatingComboBoxRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Component
getListCellRendererComponent(javax.swing.JList<? extends T> list, T value, int index, boolean isSelected, boolean cellHasFocus)
-