com.supermap.data
类 Enum
- java.lang.Object
-
- com.supermap.data.Enum
-
- 直接已知子类:
- Action, Action3D, ActiveWindowType, AerosolModel, AerosolSourceType, AggregationFunctionType, AggregationMethod, AggregationType, AlignmentType, AllocationDemandType, AlongLineAllowCondition, AlongLineCulture, AlongLineDirection, AlongLineDrawingMode, AlongLineLabelMode, AltitudeMode, AnalysisMode, AnalysisQuality, AnalystType, AnchorOffsetMode, AnimationDefine.AnimationGroupPlayState, AnimationDefine.AnimationGroupPlayState, AnimationDefine.AnimationPlayType, AnimationDefine.AnimationSpeedType, AnimationDefine.AnimationType, AnimationDefine.AnimationType, AnimationDefine.BlinkAnimationBlinkStyle, AnimationDefine.BlinkAnimationBlinkStyle, AnimationDefine.BlinkAnimationReplaceStyle, AnimationDefine.BlinkAnimationReplaceStyle, AnimationDefine.MoveViewType, AnimationDefine.PathType, AnimationDefine.PathType, AnimationDefine.PlayStateType, AnimationDefine.RotateDirection, AnimationDefine.RotateDirection, AnimationStatus, ArcAndVertexFilterMode, AreaUnit, ArrowBodyType, ArrowHeadType, ArrowTailType, AtmosphericDataType, AtmosphericModel, AttachOption, AttributeExtentType, AttributeRuleType, AttributeStatisticsType, AttributeTypeChart, BandArithmeticMethod, BandWidthType, BIMOperationType, BlendMode, BlockAdjustmentType, BlockSizeOption, BookMarkFlyMode, BookMarkType, BooleanOperatorType, BooleanOperatorType, BorderType, BoundaryCleanSortType, BoundsType, BoundsType, BoxClipPart, BShadeEstimateMethod, BShadeSampleNumberMethod, BufferEndType, BufferEndType, BufferRadiusUnit, BuildSeamLinesMethod, CacheDataType, CacheFileType, CacheImageSize, CacheImageType, CacheLimitTextureSize, CADVersion, CalibrateMeasureMethod, CalibrateMode, CameraFOVModeType, CellSizeType, CellSizeType, ChamferStyle, Charset, ChartDatasetGroupType, ChartDataType, ChartDisplayStyleType, CheckErrorType, ClippingType, ClippingType, CloudConditionsType, CloudStorageType, ColorBalanceMethod, ColorGradientType, ColorSpaceType, ColorStyle, ColorType, ColourModeChart, ColourModeChart, CombineNodeType, CommunicationLinkType, CommunicationReceiveType, CommunicationRequestType, CompactFileOpenMode, CompressedTextureType, CompressType, ComputeType, ComputeType, ConceptualizationModel, ConfigType, ConstraintType, ConstraintType, ContourDisplayMode, CoordSysTransMethod, CoordSysTransRunnableAction, CornerFillStartMode, CornerLineExtensionType, CornerTextPositionType, CredentialType, CSGEntityType, CSGNodeType, CUDACapability, CullModeType, CursorType, DataNodeType, DataRGBMode, DataSeparator, DatasetIDType, DatasetTransStateType, DatasetType, DatasourceTransStateType, DataUnit, DecorationPositionType, DecorationType, DetecttonconeType, DGNVersion, DialogResult, Direction, Direction, DirectionType, DisplayMode, DisplayMode, DisplayModeChart, DisplayStyle, DissolveType, DissolveType3D, DistanceMethod, DividePolygonOrientation, DividePolygonType, DomainType, DomeType, DotShowMode, DraftLinePositionMode, DraftLineTypeMode, DrawPrimitiveType, DynamicSegmentRole, EdgeMatchAttributeMethod, EdgeMatchMode, EditHandleType, EditType, EffectType, ElectroMagnetismType, ElementsAlignment, EliminateMode, EllipseSize, EncodeType, EngineFamilyType, EngineType, EventDissolveType, EventOverlayType, EventType, Exponent, Feature3DSearchOption, FeatureTypeChart, FieldSign, FieldType, FieldValuesDisplayMode, FileFormat, FileType, FileType, FileTypeChart, FileTypeMaritime, FillDirectionType, FillGradientMode, FillMarkerOrderMode, FillMode3D, FillPictureType, FillResolutionType, FilterComputeMode, FilteringMode, FlyEventType, FlyingMode, FlyStatus, FogMode, FrameScaleType, FrameStandardType, FrequencyFilterType, FunctionType, GDBVersion, GenerateType, GeoBillboardQuality, GeoCoordSysType, GeoDatumType, GeodesicLineType, GeoEntityEffectType, GeoEntityResetType, GeoEntityShowMode, GeoLegendLineType, GeoLegendRegionType, GeoMapBorderCornerImageRotateType, GeoMapBorderFillType, GeoMapBorderType, GeoMapGridLineType, GeoMapGridType, GeoMapScaleDisplayType, GeoMapScaleType, GeometricStatisticsMode, GeometryType, GeoPrimeMeridianType, GeoSpatialRefType, GeoSpheroidType, GeoStoreType, GIMProjectType, GJBLayerType, GlobeType, GMLVersion, GraduatedMode, GraduatedMode3D, GraphAxesTextDisplayMode, GraphicCompoundType, GraphicObjectType, Graphics3DType, GridDataType, GriddingLevel, GridFunctionType, GridShowWayType, GridStatisticsMode, GridType, HardwareKeyType, HitTestIconType, HorizontalTextPositionType, IgnoreMode, ImageDisplayMode, ImageFormatType, ImageInterpolationMode, ImageSizeOption, ImageSortMethod, ImageStretchType, ImageTilingMode, ImageType, ImportMode, InteractionMode, InteractionMode3D, InterpolationAlgorithmType, InterpolationAlgorithmType, JoinType, JoinType, KernelFunction, KernelType, KMeasInitMethod, LabelBackShape, LaneType, Layer3DSettingType, Layer3DType, Layer3DVectorFileDataType, LayerGridAggregationType, LayerSettingType, LayerType, LayerType, LeeNoiseType, LicenseConnectMode, LicenseMode, LightType, LineCapType, LineDashType, LineJoinType, LineProcessType, LineSimplificationMethod, LoadingMode, LoadingPriorityEnum, LockStateType, LogLevel, LogTimeInterval, MajorityDefinition, MapCacheVersion, MapColorMode, MapGridTextType, MapServiceType, MapTilingMode, MaritimeS100Type, MaritimeS102QualityBathymetricLevel.BathymetricUncertaintyType, MaritimeS102QualityBathymetricLevel.DataAssessmentType, MarkerBillboardMode, MarkPos, MaskingIndicator, MaterialEffectType, MaterialType, MaterialType, MergePolicy, MergeValueRule, MeshCompressType, MeshKeepType, MeshOperationFilterType, MeshSplitType, MixColorType, ModelClipType, ModelFileType, ModelImportMode, ModelSymbolMatchMode, ModelTextureCompressType, ModifyRegionMode, MosaicClipModeType, MosaicColorBalanceMethod, MosaicQuality, MotionType, MultiBandImportMode, MultiRelationType, MultiTextureMode, MultiViewportMode, NeighborNumber, NeighbourShapeType, NeighbourUnitType, NetworkSplitMode, NetworkSplitMode3D, NodeDataType, NormalComputeMode, NormalComputeMode, NorthArrowLanguageType, NorthArrowStyleType, NotificationType, ObjRotateOption, ObjRotateOption, ObliqueProcessType, OceanQualityType, OpenCLCapability, OperationMode, OSGBType, OverlayAnalystOutputType, OverlayOutputAttributeType, OverLengthLabelMode, PackageType, PackageType, PaperOrientation, PaperSize, ParallaxMode, ParticleType, PBRAlphaModeType, PerspectiveType, PixelFormat, PixelToGlobeMode, PlaneType, PlayMode, PointCloudAttributeType, PointCloudCategoryField, PointCloudInfoType, PointCloudLASVersion, PolygonFrontFace, PolylineType, PositionMode, PositionMode, PrecipitationType, PrintFileType, PrjCoordSysType, PrjFileType, PrjFileVersion, ProcessFileType, ProcessType, ProductType, ProductVersion, ProfileType, ProjectionType, PyramidResampleType, PyramidSplitType, QueryMode, RadarType, RadiometricCalibrationType, RangeMode, RangeMode3D, RangeType, RasterClipFileType, RasterizationInterpolationMethod, RasterJoinPixelFormat, RasterJoinType, ReclassPixelFormat, ReclassSegmentType, ReclassType, RegionType, RegularizeMethod, RelationshipCardinalityType, RelLineText, ReplicaType, RepresentationType, ResampleMode, ResampleType, ResamplingMethod, ResultStateType, RoofType, RootNodeColorType, RouteType, RouteType, RulerLineType, S100DatasetType, S100FCObjectType, S3MFileCompressionType, S3MLayerAggregatorMode, S3MVersion, S57DatasetType, S57IntendedUsage, S57LexicalLevel, S57MaskingIndicator, S57ValidationActionType, S57ValidationErrorType, SameSizeType, SamplingFunctionType, SatelliteResourceType, ScanConeType, SceneOperation3D, SceneType, ScreenCoordinateUnit, SeamlineRefinementLevel, SearchMode, SearchMode, SecondTextureType, SelectionMode, SerializeConverterType, ServiceType, ShadowMode, ShadowType, ShadowVolumeType, SideType, SignalSourceType, SignsType, SkylineDisplayMode, SlopeDisplayMode, SlopeDisplayMode, SlopeType, SmoothMethod, SmoothMethod, SnapMode, SnapMode3D, SolarTimeMode, SpatialFilterType, SpatialIndexType, SpatialQueryMode, SpatialRelationType, SpatialType, SplitMode, SplitPolicy, SplitterOrientation, StandardMargin.MarginElementType, StandardMargin.MarginKilometerGridType, StandardMargin.MarginLargeScaleCoordSysType, StandardMargin.MarginLargeScaleSheetType, StandardMargin.MarginScaleType, StandardMargin.MarginStandardType, StandardMarginParameter, StatisticMode, StatisticsCompareType, StatisticsFieldType, StatisticsType, StatisticsType, StatisticsType3D, StatusValuePosition, StatusValueStyle, StereoMode, StopMode, StorageType, StreamOrderType, StringAlignment, StrokeType, StyleOptions, SunlightAnalysisMode, SupplyCenterType, SurroundLineType, SymbolFillBaseType, SymbolInfoNodeType, SymbolLineBaseType, SymbolType, TerrainCacheType, TerrainInterpolateType, TerrainStatisticType, TerrainType, TextAlignment, TextLineSpacingType, TextPosition, TextureCompressType, TextureCompressType, TextureMappingMode, TextureMappingMode, TextureProcessingType, TextureRepeatMode, TextureWrapMode, Theme3DGraphTextFormat, Theme3DGraphType, Theme3DType, ThemeGraphTextFormat, ThemeGraphType, ThemeType, ThemeUniqueMateMode, ThreeDTilesVersion, TIFFCompression, TiffCompressType, TileDataType, TileFormat, TileSize, TileStorageType, TilingSchemeOption, TimeSpanUnits, TopologicalSchemaOrientation, TopologyAction, TopologyErrorType, TopologyRule, TrackMode, TrackMode3D, TrackType, TractionLineType, TransferPreference, TransferSearchMode, TransferTactic, TransformationMode, TransformationResampleMode, TriggeringEventType, TurnType, UniformDistributionType, Unit, UpdateType, UVWMappingMode, VariogramMode, VariogramMode, VCTVersion, VectorCacheTileType, VectorPyramidCreateMethod, VectorPyramidMethod, VersionAccessType, VersionChangeType, VersionConflictDealingType, VersionConflictResolutionType, VersionConflictType, VertexOptimizationType, VertexSnapType, VertexWeightMode, VerticalTextPositionType, ViewShedType, ViewShedType, VolumeRenderMode, VolumetricCloudsQuality, VoxelGridCacheType, VoxelValueMode, VRPDirectionType, WalkingMode, WhereToCalibrate, WindowDisplayMode, WireFrameType, WorkspaceType, WorkspaceVersion, XmlFileType
public abstract class Enum extends Object
所有枚举类(如地图操作状态枚举,数据集类型枚举等)的基类。提供各枚举类型共有的方法。
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 限定符和类型 方法和说明 booleanequals(Object other)当指定对象等于此枚举常量时,返回 true。static Enum[]getEnums(Class type)返回指定枚举类的所有枚举常量。static StringgetNameByValue(Class type, int value)根据枚举值返回对应的枚举常量的名称。static String[]getNames(Class type)返回指定枚举类的所有枚举常量的名称的集合。static int[]getPredefineValues(Class type)返回 SuperMap iObjects Java 已定的枚举类的枚举值。static intgetValueByName(Class type, String name)根据枚举常量的名称返回对应的枚举值。static int[]getValues(Class type)返回指定枚举类的枚举值的集合。inthashCode()返回枚举常量的哈希码。static booleanisDefined(Class type, int value)枚举类型中是否定义了指定的枚举值对应的枚举常量。static booleanisDefined(Class type, String name)枚举类型中是否定义了指定的枚举名的枚举常量。Stringname()返回枚举常量的名称。static Enumparse(Class type, int value)根据枚举值返回对应的枚举常量。static Enumparse(Class type, String name)根据枚举常量的名称返回对应的枚举常量。StringtoString()返回枚举常量的名称。intvalue()返回枚举值。
-
-
-
方法详细资料
-
getNames
public static final String[] getNames(Class type)
返回指定枚举类的所有枚举常量的名称的集合。- 参数:
type- 指定的枚举类。- 返回:
- 指定枚举类中枚举常量的名称的集合。
-
getValues
public static int[] getValues(Class type)
返回指定枚举类的枚举值的集合。- 参数:
type- 指定的枚举类。- 返回:
- 指定枚举类的枚举值的集合。
-
getPredefineValues
public static int[] getPredefineValues(Class type)
返回 SuperMap iObjects Java 已定的枚举类的枚举值。- 参数:
type- 指定的枚举类。- 返回:
- 返回 SuperMap iObjects Java 已定的枚举类的枚举值。
-
getEnums
public static Enum[] getEnums(Class type)
返回指定枚举类的所有枚举常量。- 参数:
type- 指定的枚举类。- 返回:
- 指定枚举类的所有枚举常量。
-
getNameByValue
public static String getNameByValue(Class type, int value)
根据枚举值返回对应的枚举常量的名称。- 参数:
type- 指定的枚举类。value- 指定的枚举值。- 返回:
- 枚举常量的名称。
-
getValueByName
public static int getValueByName(Class type, String name)
根据枚举常量的名称返回对应的枚举值。- 参数:
type- 指定的枚举类。name- 指定的枚举常量的名称。- 返回:
- 枚举值。
-
parse
public static Enum parse(Class type, int value)
根据枚举值返回对应的枚举常量。- 参数:
type- 指定的枚举类。value- 指定的枚举值。- 返回:
- 对应的枚举常量。
-
parse
public static Enum parse(Class type, String name)
根据枚举常量的名称返回对应的枚举常量。- 参数:
type- 指定的枚举类。name- 指定的枚举常量的名称。- 返回:
- 枚举常量。
-
isDefined
public static boolean isDefined(Class type, int value)
枚举类型中是否定义了指定的枚举值对应的枚举常量。- 参数:
type- 指定的枚举类。value- 指定的枚举值。- 返回:
- 一个布尔值,true 表示已定义,false 表示未定义。
-
isDefined
public static boolean isDefined(Class type, String name)
枚举类型中是否定义了指定的枚举名的枚举常量。- 参数:
type- Class 指定的枚举类。name- String 指定的枚举名。- 返回:
- 一个布尔值,true 表示已定义,false 表示未定义。
-
name
public final String name()
返回枚举常量的名称。- 返回:
- 枚举常量的名称。
-
value
public final int value()
返回枚举值。- 返回:
- 枚举值。
-
equals
public final boolean equals(Object other)
当指定对象等于此枚举常量时,返回 true。由于枚举值表现为静态的字段,因此直接比较引用便可知两枚举是否相等。
-
-
Copyright © 2021–2025 SuperMap. All rights reserved.