public class CharsetPickerControllerImpl extends AbstractPickerController<java.nio.charset.Charset> implements CharsetPickerController
changeListenerHelper, LOG
Constructor and Description |
---|
CharsetPickerControllerImpl(javax.swing.JLabel lblCharset,
javax.swing.JComboBox cboCharset) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
coerce(int type,
java.lang.Object value,
java.lang.Object defaultValue) |
void |
coerceAndSet(java.lang.Object value) |
java.nio.charset.Charset |
get() |
boolean |
isEmpty() |
boolean |
isEnabled() |
static void |
selfRegister() |
void |
set(java.nio.charset.Charset charset) |
void |
setEnabled(boolean enabled) |
addChangeListener, existsIcon, fireChangeEvent, fireChangeEvent, getChangeListeners, getIcon, hasChangeListeners, initButton, initText, isEditable, isValid, removeAllChangeListener, removeChangeListener, setEditable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEditable, isValid, setEditable
addChangeListener, getChangeListeners, hasChangeListeners, removeAllChangeListener, removeChangeListener
public CharsetPickerControllerImpl(javax.swing.JLabel lblCharset, javax.swing.JComboBox cboCharset)
public static void selfRegister()
public boolean isEmpty()
isEmpty
in interface PickerController<java.nio.charset.Charset>
isEmpty
in class AbstractPickerController<java.nio.charset.Charset>
public void set(java.nio.charset.Charset charset)
set
in interface PickerController<java.nio.charset.Charset>
public java.nio.charset.Charset get()
get
in interface PickerController<java.nio.charset.Charset>
public void setEnabled(boolean enabled)
setEnabled
in interface PickerController<java.nio.charset.Charset>
public boolean isEnabled()
isEnabled
in interface PickerController<java.nio.charset.Charset>
protected java.lang.Object coerce(int type, java.lang.Object value, java.lang.Object defaultValue)
coerce
in class AbstractPickerController<java.nio.charset.Charset>
public void coerceAndSet(java.lang.Object value)
coerceAndSet
in interface PickerController<java.nio.charset.Charset>