public class BufferSelectionProcess extends IncrementableProcess
| Modifier and Type | Field and Description |
|---|---|
static byte |
ATTRIBUTE_DISTANCE_STRATEGY
buffer computing with variable buffer distance in function of feature
attribute value
|
static byte |
BUFFER_INSIDE_OUTSIDE_POLY
For polygonal buffers, compute interior and exterior buffers
|
static byte |
BUFFER_INSIDE_POLY
For polygonal buffers, only compute interior buffers
|
static byte |
BUFFER_OUTSIDE_POLY
For polygonal buffers, only compute exterior buffers (is the default
operation, it applies to any geometry type)
|
static byte |
CAP_ROUND
Buffer with round cap
|
static byte |
CAP_SQUARE
Buffer with square cap
|
static byte |
CONSTANT_DISTANCE_STRATEGY
flag that represents buffer computing with one only buffer distance.
|
blinker, cancelProcess, ended, isCancellable, isPausable, iTask, label, log, percentage, t0, threadSuspended, title| Constructor and Description |
|---|
BufferSelectionProcess(java.lang.String title,
java.lang.String label,
MapControl mapControl,
byte pol_side,
byte line_side,
byte point_side,
byte multi_point_side,
double width,
short selectedDistanceUnit,
FLyrVect[] activeLayers,
boolean multiLayerSelection)
Creates a new
BufferSelectionProcess
.
|
| Modifier and Type | Method and Description |
|---|---|
void |
process()
Importation process.
|
void |
setIncrementableTask(IncrementableTask iTask)
Sets the object that will display the evolution of this loading process
as a progress dialog.
|
actionCanceled, actionResumed, actionSuspended, getLabel, getLog, getPercent, getTitle, insertLineLog, isAlive, isCancelable, isPausable, isSuspended, processFinalize, run, setCancelable, setLabel, setPausable, start, stoppublic static final byte BUFFER_INSIDE_POLY
public static final byte BUFFER_OUTSIDE_POLY
public static final byte BUFFER_INSIDE_OUTSIDE_POLY
public static final byte CAP_SQUARE
public static final byte CAP_ROUND
public static final byte CONSTANT_DISTANCE_STRATEGY
public static final byte ATTRIBUTE_DISTANCE_STRATEGY
public BufferSelectionProcess(java.lang.String title,
java.lang.String label,
MapControl mapControl,
byte pol_side,
byte line_side,
byte point_side,
byte multi_point_side,
double width,
short selectedDistanceUnit,
FLyrVect[] activeLayers,
boolean multiLayerSelection)
BufferSelectionProcess
.title - of the progress dialoglabel - the label that explains the processmapControl - reference to the current active view's MapControl
.pol_side - side of the buffer in a polyline layer:
BufferConfigurationPanel#OUTSIDE,
BufferConfigurationPanel#INSIDE, or
BufferConfigurationPanel#OUTSIDE_AND_INSIDEline_side - side of the buffer in a line layer:
BufferConfigurationPanel#OUTSIDE_AND_INSIDEpoint_side - side of the buffer in a point layer:
BufferConfigurationPanel#OUTSIDEmulti_point_side - side of the buffer in a multi point layer:
BufferConfigurationPanel#OUTSIDEwidth - buffer's widthselectedDistanceUnit - distance unit selectedactiveLayers - current active view's active layersshowBufferLayers - determines if will show the layers with the buffers as new
temporal layersmultiLayerSelection - determines if the selection in each active layer affects the
otherpublic void setIncrementableTask(IncrementableTask iTask)
setIncrementableTask in class IncrementableProcessiTask - the object that will display the evolution of this loading
processpublic void process()
throws java.lang.InterruptedException
process in class IncrementableProcessjava.lang.InterruptedException - if fails the process