Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a 'value' or field in a row or record. See Record A Prop has a corresponding PropertyDef 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?: DataAnnotation[]): Property
  • Parameters

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

    Returns Property

Properties

annotations

annotations: DataAnnotation[]

Optional format

format: string

name

name: string

Optional propertyType

propertyType: string

value

value: any

Accessors

backgroundColor

  • get backgroundColor(): string
  • Returns string

foregroundColor

  • get foregroundColor(): string
  • Returns string

imageName

  • get imageName(): string
  • Returns string

imagePlacement

  • get imagePlacement(): string
  • Returns string

isBoldText

  • get isBoldText(): boolean
  • Returns boolean

isItalicText

  • get isItalicText(): boolean
  • Returns boolean

isPlacementCenter

  • get isPlacementCenter(): boolean
  • Returns boolean

isPlacementLeft

  • get isPlacementLeft(): boolean
  • Returns boolean

isPlacementRight

  • get isPlacementRight(): boolean
  • Returns boolean

isPlacementStretchUnder

  • get isPlacementStretchUnder(): boolean
  • Returns boolean

isPlacementUnder

  • get isPlacementUnder(): boolean
  • Returns boolean

isUnderline

  • get isUnderline(): boolean
  • Returns boolean

overrideText

  • get overrideText(): string
  • Returns string

tipText

  • get tipText(): string
  • Returns string

valueForWrite

  • get valueForWrite(): any
  • Returns any

Methods

equals

  • Parameters

    Returns boolean

toJSON

  • toJSON(): object
  • Returns object

    • format: null
    • name: string
    • propertyType: null
    • type: TypeNames
    • value: any

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 parseJSONValue

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

    • value: any
    • format: string

    Returns any

Generated using TypeDoc