Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Property

Represents a 'value' or field in a row or record. See Record A Prop has a corresponding {@link PropDef} that describes the property. Like an Record, a Prop may also have Annotations (style annotations), but these apply to the property only

Hierarchy

  • Property

Index

Constructors

constructor

  • new Property(name: string, value: any, propertyType?: string, format?: string, annotations?: Array<DataAnnotation>): Property
  • Parameters

    • name: string
    • value: any
    • Optional propertyType: string
    • Optional format: string
    • Default value annotations: Array<DataAnnotation> = []

    Returns Property

Properties

annotations

annotations: Array<DataAnnotation>

Optional format

format: string

name

name: string

Optional propertyType

propertyType: string

value

value: any

Accessors

backgroundColor

  • get backgroundColor(): string

foregroundColor

  • get foregroundColor(): string

imageName

  • get imageName(): string

imagePlacement

  • get imagePlacement(): string

isBoldText

  • get isBoldText(): boolean

isItalicText

  • get isItalicText(): boolean

isPlacementCenter

  • get isPlacementCenter(): boolean

isPlacementLeft

  • get isPlacementLeft(): boolean

isPlacementRight

  • get isPlacementRight(): boolean

isPlacementStretchUnder

  • get isPlacementStretchUnder(): boolean

isPlacementUnder

  • get isPlacementUnder(): boolean

isUnderline

  • get isUnderline(): boolean

overrideText

  • get overrideText(): string

tipText

  • get tipText(): string

valueForWrite

  • get valueForWrite(): any

Methods

equals

toJSON

  • toJSON(): object

Static fromJSON

Static identity

  • Produce an unique string that can be used for comparison purposes Props considered 'equal' should produce the same identity string

    Parameters

    Returns string

Static Private parseValue

  • parseValue(value: any, format: string): any
  • Parameters

    • value: any
    • format: string

    Returns any

Generated using TypeDoc