public class ScalePickerControllerImpl extends AbstractPickerController<java.lang.Double>
changeListenerHelper, LOG
Constructor and Description |
---|
ScalePickerControllerImpl(MapControl mapControl,
javax.swing.JComboBox cboScale,
javax.swing.JButton btnMapControlScale,
javax.swing.JToggleButton btnCapture) |
Modifier and Type | Method and Description |
---|---|
void |
coerceAndSet(java.lang.Object value) |
protected void |
doCaptureScale(boolean enabled) |
protected void |
doSetScaleFromMapControlScale() |
java.lang.Double |
get() |
boolean |
isEmpty() |
boolean |
isEnabled() |
boolean |
isValid() |
static void |
selfRegister() |
void |
set(java.lang.Double scale) |
void |
setEditable(boolean editable) |
void |
setEnabled(boolean enabled) |
addChangeListener, coerce, existsIcon, fireChangeEvent, fireChangeEvent, getChangeListeners, getIcon, hasChangeListeners, initButton, initText, isEditable, removeAllChangeListener, removeChangeListener
public ScalePickerControllerImpl(MapControl mapControl, javax.swing.JComboBox cboScale, javax.swing.JButton btnMapControlScale, javax.swing.JToggleButton btnCapture)
public static void selfRegister()
protected void doSetScaleFromMapControlScale()
protected void doCaptureScale(boolean enabled)
public boolean isValid()
isValid
in interface PickerController<java.lang.Double>
isValid
in class AbstractPickerController<java.lang.Double>
public boolean isEmpty()
isEmpty
in interface PickerController<java.lang.Double>
isEmpty
in class AbstractPickerController<java.lang.Double>
public java.lang.Double get()
public void set(java.lang.Double scale)
public void coerceAndSet(java.lang.Object value)
public void setEnabled(boolean enabled)
public boolean isEnabled()
public void setEditable(boolean editable)
setEditable
in interface PickerController<java.lang.Double>
setEditable
in class AbstractPickerController<java.lang.Double>