public class EnvelopePickerControllerImpl extends AbstractPickerController<Envelope>
changeListenerHelper, LOG
Constructor and Description |
---|
EnvelopePickerControllerImpl(java.util.function.Supplier<MapControl> mapControl,
javax.swing.text.JTextComponent txtEnvelope,
javax.swing.JButton btnMapControlEnvelope,
javax.swing.JToggleButton btnCapture) |
EnvelopePickerControllerImpl(java.util.function.Supplier<MapControl> mapControl,
javax.swing.JTextField txtUpperLeftX,
javax.swing.JTextField txtUpperLeftY,
javax.swing.JTextField txtLowerRightX,
javax.swing.JTextField txtLowerRightY,
javax.swing.JButton btnMapControlEnvelope,
javax.swing.JToggleButton btnCapture) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
coerceAndSet(java.lang.Object value) |
protected void |
doCaptureEnvelope(boolean enabled) |
protected void |
doSetEnvelopeFromMapControlEnvelope() |
Envelope |
get() |
protected java.lang.String |
getEnvelopeAsString(Envelope value) |
boolean |
isEmpty() |
boolean |
isEnabled() |
boolean |
isValid() |
static void |
selfRegister() |
void |
set(Envelope envelope) |
void |
setEditable(boolean editable) |
void |
setEnabled(boolean enabled) |
addChangeListener, coerce, existsIcon, fireChangeEvent, fireChangeEvent, getChangeListeners, getIcon, hasChangeListeners, initButton, initText, isEditable, removeAllChangeListener, removeChangeListener
public EnvelopePickerControllerImpl(java.util.function.Supplier<MapControl> mapControl, javax.swing.JTextField txtUpperLeftX, javax.swing.JTextField txtUpperLeftY, javax.swing.JTextField txtLowerRightX, javax.swing.JTextField txtLowerRightY, javax.swing.JButton btnMapControlEnvelope, javax.swing.JToggleButton btnCapture)
public EnvelopePickerControllerImpl(java.util.function.Supplier<MapControl> mapControl, javax.swing.text.JTextComponent txtEnvelope, javax.swing.JButton btnMapControlEnvelope, javax.swing.JToggleButton btnCapture)
public static void selfRegister()
protected void doSetEnvelopeFromMapControlEnvelope()
protected void doCaptureEnvelope(boolean enabled)
protected java.lang.String getEnvelopeAsString(Envelope value)
public boolean isValid()
isValid
in interface PickerController<Envelope>
isValid
in class AbstractPickerController<Envelope>
public boolean isEmpty()
isEmpty
in interface PickerController<Envelope>
isEmpty
in class AbstractPickerController<Envelope>
public Envelope get()
public void set(Envelope envelope)
public void coerceAndSet(java.lang.Object value)
public void setEnabled(boolean enabled)
public boolean isEnabled()
public void setEditable(boolean editable)
setEditable
in interface PickerController<Envelope>
setEditable
in class AbstractPickerController<Envelope>
public void clear()