net.simplace.ui.formengine.geotools.FWAbstractMapChooserFormComponent
Version: 1.0
This class provides net.simplace.ui.formengine.FWAbstractFormComponentform component
to successively select "something" from a map by several single selection
actions
See also: AbstractMapChooserPanel
public abstract class FWAbstractMapChooserFormComponent extends
net.simplace.ui.formengine.FWAbstractFormComponent implements
de.schmitzm.swing.CaptionsChangeable {
// Public Constructors
public FWAbstractMapChooserFormComponent(String aFormID, String aFieldID,
boolean aShowLabel, int aDetachable, Element aFormElement, FWObservable
aObservable);
// Constants
protected static final String LOCALE_PREFIX;
public static final String CLEAR_BUTTON;
public static final String UNDO_BUTTON;
public static final String REDO_BUTTON;
// Protected Instance Variables
protected AbstractMapChooserPanel iMapChooserPanel;
protected JPanel iButtonPanel;
protected JButton iClearButton;
protected JButton iUndoButton;
protected JButton iRedoButton;
protected int iMinSelectionCount;
protected int iMaxSelectionCount;
protected boolean iReturnSingleValue;
// Public Instance Methods public void
resetCaptions(Map captions);
// From
de.schmitzm.swing.CaptionsChangeable
Reset the captions of the control buttons respectively to
net.simplace.util.service.LocaleProvider.
The map is NOT used!
- captions map with new captions
public Object
getValue();
// Defines
net.simplace.ui.formengine.FWAbstractFormComponent
Returns a list of the selected objects.
returns {@code null} if no selection is made or the selection does
not conform to {@link #iMinSelectionCount} and {@link #iMaxSelectionCount}.
// Protected Instance Methods protected void initGUI();
Initializes the GUI elements.
protected void resetButtonActivation();
Resets the button activation respectively a selection is made or not.
}
Hierarchy: java.lang.Object - java.awt.Component (java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable) - java.awt.Container - javax.swing.JComponent (java.io.Serializable, javax.swing.TransferHandler.HasGetTransferHandler) - javax.swing.JPanel (javax.accessibility.Accessible) - net.simplace.ui.formengine.FWAbstractFormComponent (net.simplace.util.FWObserver) - FWAbstractMapChooserFormComponent (de.schmitzm.swing.CaptionsChangeable)
Extended by: FWMapAreaChooserFormComponent, FWMapObjectChooserFormComponent, FWMapPointsChooserFormComponent