net.simplace.ui.formengine.geotools.FWMapPointsChooserFormComponent

Version: 1.0

This class provides net.simplace.ui.formengine.FWAbstractFormComponentform component to successively select map points by several left button clicks. A org.geotools.feature.FeatureCollection of the points is returned as form component {linkplain #getValue() value}.


public class FWMapPointsChooserFormComponent extends
FWAbstractMapChooserFormComponent {
// Public Constructors
public FWMapPointsChooserFormComponent(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 points.
returns {@code null} if no selection is made or the selection does not conform to {@link #iMinSelectionCount} and {@link #iMaxSelectionCount}.

// Protected Instance Methods
protected MapPointsChooserPanel createMapChooserPanel(Element aFormElement,
FWObservable aObservable); // Defines FWAbstractMapChooserFormComponent

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


}



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



Extended by: FWMapLineChooserFormComponent