net.simplace.ui.formengine.geotools.FWMapObjectChooserFormComponent

Version: 1.0

This class provides a net.simplace.ui.formengine.FWAbstractFormComponentform component to successively select a map object from a feature layer. A org.geotools.feature.FeatureCollection of the selected objects is returned as form component getValue()value.

See also: MapObjectChooserPanel




public class FWMapObjectChooserFormComponent extends
FWAbstractMapChooserFormComponent {
// Public Constructors
public FWMapObjectChooserFormComponent(String aFormID, String aFieldID,
boolean aShowLabel, int aDetachable, Element aFormElement, FWObservable
aObservable);


// Public Instance Methods
public Object getValue(); // Defines FWAbstractMapChooserFormComponent

Returns a org.geotools.feature.FeatureCollection 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 MapObjectChooserPanel createMapChooserPanel(Element aFormElement,
FWObservable aObservable); // Defines FWAbstractMapChooserFormComponent

Creates an instance of net.simplace.ui.formengine.geotools.MapAreaChooserPanel.


}



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) - FWMapObjectChooserFormComponent