Package org.gvsig.vectorediting.lib.api
Enum Class EditingServiceParameter.TYPE
java.lang.Object
java.lang.Enum<EditingServiceParameter.TYPE>
org.gvsig.vectorediting.lib.api.EditingServiceParameter.TYPE
- All Implemented Interfaces:
Serializable,Comparable<EditingServiceParameter.TYPE>,Constable
- Enclosing interface:
EditingServiceParameter
TYPE represents the available type of parameters. A parameter can be of
several types at the same type. The types of parameters are:
- Position: this kind of parameter expects a position in map.
- List of positions this kind of parameter expects a position in map.
- Option: this kind of parameter expects an option. Options is used to
change functionality of providers or to do actions. For example, an
option of Regular polygon can be "sides" that indicates side number of
regular polygon.
- Value: this kind of parameter expects an value.
- Selection: this kind of parameters expects a selection.
- Geometry: this kind of parameters expects a selection. See
EditingServiceParameter.getGeometryType() to know the type of
geometry is expected- Author:
- llmarques
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic EditingServiceParameter.TYPEReturns the enum constant of this class with the specified name.static EditingServiceParameter.TYPE[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
POSITION
-
LIST_POSITIONS
-
OPTION
-
VALUE
-
SELECTION
-
MULTILAYER_SELECTION
-
GEOMETRY
-
DISTANCE
-
CLIPBOARD
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-