User Tools

Site Tools


thinkgeo.mapsuite.core.valueitem

This is an old revision of the document!


ThinkGeo.MapSuite.Core.ValueItem

This class represents a single value to match and styles to draw.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.Core.ValueItem

Members Summary

Public Constructors

ValueItem

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:This is a constructor for the class.

ValueItem

  • Parameters:String,AreaStyle
  • DeclaringType:N/A
  • Summary:This is a constructor for the class.

ValueItem

  • Parameters:String,LineStyle
  • DeclaringType:N/A
  • Summary:This is a constructor for the class.

ValueItem

  • Parameters:String,PointStyle
  • DeclaringType:N/A
  • Summary:This is a constructor for the class.

ValueItem

  • Parameters:String,TextStyle
  • DeclaringType:N/A
  • Summary:This is a constructor for the class.

ValueItem

  • Parameters:String,Collection<Style>
  • DeclaringType:N/A
  • Summary:This is a constructor for the class.

Protected Constructors

Public Methods

Equals

  • Parameters:Object
  • DeclaringType:Object
  • Summary:N/A

GetHashCode

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

GetType

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

ToString

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

Protected Methods

Finalize

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

MemberwiseClone

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

Public Properties

CustomStyles

  • Return:Collection<Style>
  • Summary:This property gets the collection of custom styles.

DefaultAreaStyle

  • Return:AreaStyle
  • Summary:This property gets and sets the default AreaStyle. You should use this style if your features are area-based.

DefaultLineStyle

  • Return:LineStyle
  • Summary:This property gets and sets the default LineStyle. You should use this style if your features are line-based.

DefaultPointStyle

  • Return:PointStyle
  • Summary:This property gets and sets the default PointStyle. You should use this style if your features are point-based.

DefaultTextStyle

  • Return:TextStyle
  • Summary:This property gets and sets the default TextStyle. You should use this style if your features are text-based (such as labels).

Value

  • Return:String
  • Summary:This property gets and sets the value that we use to match with the feature data. If the value matches, we use the style for this item.

Protected Properties

Public Events

Public Constructors

ValueItem()

This is a constructor for the class.

Remarks

If you use this constructor, you should set the necessary properties manually.

Parameters

ValueItem(String,AreaStyle)

This is a constructor for the class.

Remarks

It is recommended that you do not use this constructor unless it is absolutely necessary. Instead, you can set the properties directly on the DefaultAreaStyle.

Parameters

value

  • Type:String
  • Description:This parameter is the value that will match with the data specified for the feature. areaStyle * Type:AreaStyle * Description:This parameter is the style you want to draw with if the value matches.

Go Back

ValueItem(String,LineStyle)

This is a constructor for the class.

Remarks

It is recommended that you do not use this constructor unless it is absolutely necessary. Instead, you can set the properties directly on the DefaultLineStyle.

Parameters

value

  • Type:String
  • Description:This parameter is the value that will match with the data specified for the feature. lineStyle * Type:LineStyle * Description:This parameter is the style you want to draw with if the value matches.

Go Back

ValueItem(String,PointStyle)

This is a constructor for the class.

Remarks

It is recommended that you do not use this constructor unless it is absolutely necessary. Instead, you can set the properties directly on the DefaultPointStyle.

Parameters

value

  • Type:String
  • Description:This parameter is the value that will match with the data specified for the feature. pointStyle * Type:PointStyle * Description:This parameter is the style you want to draw with if the value matches.

Go Back

ValueItem(String,TextStyle)

This is a constructor for the class.

Remarks

It is recommended that you do not use this constructor unless it is absolutely necessary. Instead, you can set the properties directly on the DefaultTextStyle.

Parameters

value

  • Type:String
  • Description:This parameter is the value that will match with the data specified for the feature. textStyle * Type:TextStyle * Description:This parameter is the style you want to draw with if the value matches.

Go Back

ValueItem(String,Collection<Style>)

This is a constructor for the class.

Remarks

N/A

Parameters

value

  • Type:String
  • Description:This parameter is the value that will match with the data specified for the feature. customStyles * Type:Collection<Style> * Description:This parameter represents the styles you want to draw with if the value matches.

Go Back

Protected Constructors

Public Methods

Equals(Object)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

obj

  • Type:Object
  • Description:N/A

Go Back

GetHashCode()

N/A

Remarks

N/A

Return Value

  • Return Type:Int32
  • Description:N/A

Parameters

GetType()

N/A

Remarks

N/A

Return Value

  • Return Type:Type
  • Description:N/A

Parameters

ToString()

N/A

Remarks

N/A

Return Value

  • Return Type:String
  • Description:N/A

Parameters

Protected Methods

Finalize()

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

MemberwiseClone()

N/A

Remarks

N/A

Return Value

  • Return Type:Object
  • Description:N/A

Parameters

Public Properties

CustomStyles

This property gets the collection of custom styles.

Remarks

The custom styles allow you to use styles other than the default style properties of the class. In this way, you can use a DotDensityStyle or any other style in the API.

Return Value

Return Type:Collection<Style>

Go Back

DefaultAreaStyle

This property gets and sets the default AreaStyle. You should use this style if your features are area-based.

Remarks

The default style allows you to directly set properties on the styles without having to create a new style each time. You can start simply by setting properties like color, etc. This makes modifying styles very easy.

Return Value

Return Type:AreaStyle

Go Back

DefaultLineStyle

This property gets and sets the default LineStyle. You should use this style if your features are line-based.

Remarks

The default style allows you to directly set properties on the styles without having to create a new style each time. You can start simply by setting properties like color, etc. This makes modifying styles very easy.

Return Value

Return Type:LineStyle

Go Back

DefaultPointStyle

This property gets and sets the default PointStyle. You should use this style if your features are point-based.

Remarks

The default style allows you to directly set properties on the styles without having to create a new style each time. You can start simply by setting properties like color, etc. This makes modifying styles very easy.

Return Value

Return Type:PointStyle

Go Back

DefaultTextStyle

This property gets and sets the default TextStyle. You should use this style if your features are text-based (such as labels).

Remarks

The default style allows you to directly set properties on the styles without having to create a new style each time. You can start simply by setting properties like color, etc. This makes modifying styles very easy.

Return Value

Return Type:TextStyle

Go Back

Value

This property gets and sets the value that we use to match with the feature data. If the value matches, we use the style for this item.

Remarks

The value must match exactly. If more complex matching is required, we suggest you use the RegexStyle. The RegexStyle enables you to use regular expressions, which are very powerful for fuzzy matching.

Return Value

Return Type:String

Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.core.valueitem.1442486507.txt.gz · Last modified: 2015/09/17 10:41 by admin