Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • FeatureAttribute

Implements

Index

Constructors

constructor

  • new FeatureAttribute(value?: any, name?: string, alias?: string, displayName?: string, visible?: boolean, presenterDelegate?: function, dataType?: string): FeatureAttribute
  • Initializes a new instance of the {@link geocortex.essentialsHtmlViewer.mapping.infrastructure.FeatureAttribute} class.

    class

    Represents a Geocortex Essentials FeatureAttribute.

    constructs
    memberof

    geocortex.essentialsHtmlViewer.mapping.infrastructure

    Parameters

    • Optional value: any

      The value of the attribute.

    • Optional name: string

      The name of the attribute.

    • Optional alias: string

      The alias name of the attribute.

    • Optional displayName: string

      The display name of the attribute.

    • Optional visible: boolean
    • Optional presenterDelegate: function
        • (value: string): function
        • Parameters

          • value: string

          Returns function

            • (): string
            • Returns string

    • Optional dataType: string

    Returns FeatureAttribute

Properties

alias

alias: Observable<string>

The alias name of the attribute.

type

String

displayAsUrl

displayAsUrl: boolean

Indicates whether this value should be rendered as a hyperlink.

displayName

displayName: Observable<string>

The display name of the attribute.

type

String

name

name: Observable<string>

The name of the attribute.

type

String

presentableValue

presentableValue: LazyObservable<string>

The processed value that takes the type of the attribute into account for display purposes

type

String

type

type: Observable<string>

Specifies the incoming type that the value should be considered. A value of this type is available in the presentableValue property

type

String

value

value: Observable<any>

The value of the attribute.

type

Number, String, or Date

visible

visible: Observable<boolean>

Specifies whether or not the attribute should be displayed (visible).

type

Boolean

Methods

Static ignoreAttribute

  • ignoreAttribute(name: any): boolean
  • Matches attribute names generated by SEP that should not be visible.

    Parameters

    • name: any

    Returns boolean