User Tools

Site Tools


thinkgeo.mapsuite.portablecore.regexitem

This is an old revision of the document!


ThinkGeo.MapSuite.Core.RegexItem

This class represents a single Regex Match statement and styles to draw.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.Core.RegexItem

Members Summary

Public Constructors

RegexItem()

  • This is a constructor for the class.
Remarks
  • If you use this constructor, you should set the necessary properties manually.
Parameters

RegexItem(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
  • regularExpression
    • Type:String
    • Description:This parameter is the regular expression statement you would like to match.
  • areaStyle
    • Type:AreaStyle
    • Description:This parameter is the style you want to draw with if the regular expression matches.

RegexItem(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
  • regularExpression
    • Type:String
    • Description:This parameter is the regular expression statement you would like to match.
  • lineStyle
    • Type:LineStyle
    • Description:This parameter is the style you want to draw with if the regular expression matches.

RegexItem(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
  • regularExpression
    • Type:String
    • Description:This parameter is the regular expression statement you would like to match.
  • pointStyle
    • Description:This parameter is the style you want to draw with if the regular expression matches.

RegexItem(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
  • regularExpression
    • Type:String
    • Description:This parameter is the regular expression statement you would like to match.
  • textStyle
    • Type:TextStyle
    • Description:This parameter is the style you want to draw with if the regular expression matches.

RegexItem(String,Collection<Style>)

  • 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 CustomStyles.
Parameters
  • regularExpression
    • Type:String
    • Description:This parameter is the regular expression statement you would like to match.
  • styles
    • Type:Collection<Style>
    • Description:This parameter represents the styles you want to draw with if the regular expression matches.

Protected Constructors

Public Methods

ToString()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

Finalize()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

RegularExpression

  • This property gets and sets the regular expression text used for matching.
Remarks
  • This should be a valid regular expression string. Formatting regular expression strings is outside the scope of this documentation; however, there are many useful resources on the web for learning about regular expressions.
Return Value
  • Type:String

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

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

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

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

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

Protected Properties

Public Events

thinkgeo.mapsuite.portablecore.regexitem.1442972403.txt.gz ยท Last modified: 2015/09/23 01:40 by admin