mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-14 05:15:03 -05:00
22 lines
288 B
Java
22 lines
288 B
Java
|
|
||
|
package net.sourceforge.tuned.ui;
|
||
|
|
||
|
|
||
|
import javax.swing.Icon;
|
||
|
|
||
|
|
||
|
public class NullLabelProvider<T extends Object> implements LabelProvider<T> {
|
||
|
|
||
|
@Override
|
||
|
public Icon getIcon(T value) {
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
|
||
|
@Override
|
||
|
public String getText(T value) {
|
||
|
return value.toString();
|
||
|
}
|
||
|
|
||
|
}
|