Class FeatureLayerManipulationPreview
- java.lang.Object
-
- oracle.spatial.network.nfe.vis.mapcanvas.behavior.manipulate.BasicManipulationPreview
-
- oracle.spatial.network.nfe.vis.mapcanvas.behavior.manipulate.FeatureLayerManipulationPreview
-
- All Implemented Interfaces:
ManipulationPreview
public class FeatureLayerManipulationPreview extends BasicManipulationPreview
A manipulation preview implementation for creating a feature layer manipulation preview. The changes in the feature layer's element are deduced from the manipulations made to its underlying network elements.
-
-
Constructor Summary
Constructors Constructor Description FeatureLayerManipulationPreview(NFEModel model, java.util.Collection<NFEFeatureElement> featElems, java.util.Map<java.lang.String,Manipulation<NFENetworkElement>> manNetElemsMap, double tolerance)Allocates a new feature layer manipulation preview
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpreview(java.awt.Graphics2D graphics, java.awt.geom.AffineTransform transform)Renders the preview-
Methods inherited from class oracle.spatial.network.nfe.vis.mapcanvas.behavior.manipulate.BasicManipulationPreview
addPreview
-
-
-
-
Constructor Detail
-
FeatureLayerManipulationPreview
public FeatureLayerManipulationPreview(NFEModel model, java.util.Collection<NFEFeatureElement> featElems, java.util.Map<java.lang.String,Manipulation<NFENetworkElement>> manNetElemsMap, double tolerance)
Allocates a new feature layer manipulation preview- Parameters:
model- the current NFE modelfeatElems- the feature elements that were affected by the manipulation of its underlying network elementsmanNetElemsMap- the manipulations performed over the underlying network elementstolerance- the tolerance used in model's coordinate system
-
-
Method Detail
-
preview
public void preview(java.awt.Graphics2D graphics, java.awt.geom.AffineTransform transform)Description copied from interface:ManipulationPreviewRenders the preview- Specified by:
previewin interfaceManipulationPreview- Overrides:
previewin classBasicManipulationPreview- Parameters:
graphics- a graphics objecttransform- the transform used
-
-