Class BufferSelectionProcess
java.lang.Object
org.gvsig.gui.beans.incrementabletask.IncrementableProcess
org.gvsig.selectiontools.app.extension.tools.buffer.process.BufferSelectionProcess
- All Implemented Interfaces:
Runnable,EventListener,org.gvsig.gui.beans.incrementabletask.IIncrementable,org.gvsig.gui.beans.incrementabletask.IncrementableListener
public class BufferSelectionProcess
extends org.gvsig.gui.beans.incrementabletask.IncrementableProcess
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final bytebuffer computing with variable buffer distance in function of feature attribute valuestatic final byteFor polygonal buffers, compute interior and exterior buffersstatic final byteFor polygonal buffers, only compute interior buffersstatic final byteFor polygonal buffers, only compute exterior buffers (is the default operation, it applies to any geometry type)static final byteBuffer with round capstatic final byteBuffer with square capstatic final byteflag that represents buffer computing with one only buffer distance.Fields inherited from class org.gvsig.gui.beans.incrementabletask.IncrementableProcess
blinker, cancelProcess, ended, isCancellable, isPausable, iTask, label, log, percentage, t0, threadSuspended, title -
Constructor Summary
ConstructorsConstructorDescriptionBufferSelectionProcess(String title, String label, org.gvsig.fmap.mapcontrol.MapControl mapControl, byte pol_side, byte line_side, byte point_side, byte multi_point_side, double width, short selectedDistanceUnit, org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect[] activeLayers, boolean multiLayerSelection) Creates a new -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess()Importation process.voidsetIncrementableTask(org.gvsig.gui.beans.incrementabletask.IncrementableTask iTask) Sets the object that will display the evolution of this loading process as a progress dialog.Methods inherited from class org.gvsig.gui.beans.incrementabletask.IncrementableProcess
actionCanceled, actionResumed, actionSuspended, getLabel, getLog, getPercent, getTitle, insertLineLog, isAlive, isCancelable, isPausable, isSuspended, processFinalize, run, setCancelable, setLabel, setPausable, start, stop
-
Field Details
-
BUFFER_INSIDE_POLY
public static final byte BUFFER_INSIDE_POLYFor polygonal buffers, only compute interior buffers- See Also:
-
BUFFER_OUTSIDE_POLY
public static final byte BUFFER_OUTSIDE_POLYFor polygonal buffers, only compute exterior buffers (is the default operation, it applies to any geometry type)- See Also:
-
BUFFER_INSIDE_OUTSIDE_POLY
public static final byte BUFFER_INSIDE_OUTSIDE_POLYFor polygonal buffers, compute interior and exterior buffers- See Also:
-
CAP_SQUARE
public static final byte CAP_SQUAREBuffer with square cap- See Also:
-
CAP_ROUND
public static final byte CAP_ROUNDBuffer with round cap- See Also:
-
CONSTANT_DISTANCE_STRATEGY
public static final byte CONSTANT_DISTANCE_STRATEGYflag that represents buffer computing with one only buffer distance.- See Also:
-
ATTRIBUTE_DISTANCE_STRATEGY
public static final byte ATTRIBUTE_DISTANCE_STRATEGYbuffer computing with variable buffer distance in function of feature attribute value- See Also:
-
-
Constructor Details
-
BufferSelectionProcess
public BufferSelectionProcess(String title, String label, org.gvsig.fmap.mapcontrol.MapControl mapControl, byte pol_side, byte line_side, byte point_side, byte multi_point_side, double width, short selectedDistanceUnit, org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect[] activeLayers, boolean multiLayerSelection) Creates a newBufferSelectionProcess
.- Parameters:
title- of the progress dialoglabel- the label that explains the processmapControl- reference to the current active view'sMapControl.pol_side- side of the buffer in a polyline layer:,invalid reference
BufferConfigurationPanel#OUTSIDE, orinvalid reference
BufferConfigurationPanel#INSIDEinvalid reference
BufferConfigurationPanel#OUTSIDE_AND_INSIDEline_side- side of the buffer in a line layer:invalid reference
BufferConfigurationPanel#OUTSIDE_AND_INSIDEpoint_side- side of the buffer in a point layer:invalid reference
BufferConfigurationPanel#OUTSIDEmulti_point_side- side of the buffer in a multi point layer:invalid reference
BufferConfigurationPanel#OUTSIDEwidth- buffer's widthselectedDistanceUnit- distance unit selectedactiveLayers- current active view's active layersmultiLayerSelection- determines if the selection in each active layer affects the othershowBufferLayers- determines if will show the layers with the buffers as new temporal layers
-
-
Method Details
-
setIncrementableTask
public void setIncrementableTask(org.gvsig.gui.beans.incrementabletask.IncrementableTask iTask) Sets the object that will display the evolution of this loading process as a progress dialog.- Overrides:
setIncrementableTaskin classorg.gvsig.gui.beans.incrementabletask.IncrementableProcess- Parameters:
iTask- the object that will display the evolution of this loading process
-
process
Importation process.- Specified by:
processin classorg.gvsig.gui.beans.incrementabletask.IncrementableProcess- Throws:
InterruptedException- if fails the process
-