Observer

Overview

Location

  • Reference:
    • Elements.dll  .NET, .NET Standard 2.0
    • elements.jar  Cooper
    • Elements.fx  Island, ToffeeV2
    • libElements.fx  Toffee
  • Namespace: RemObjects.Elements.RTL

Implements

Instance Methods


constructor init ToffeeV2

 

func constructor init(_ aTarget: Object, _ aName: String, _ aWillChangeCallback: ObserverBlock, _ aDidChangeCallback: ObserverBlock)

Parameters:

  • aTarget:
  • aName:
  • aWillChangeCallback:
  • aDidChangeCallback:

constructor (not nullable Object, not nullable String, ObserverBlock, not nullable ObserverBlock) .NET, .NET Standard 2.0, Cooper, Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows, Toffee

 

constructor(aTarget: not nullable Object; aName: not nullable String; aWillChangeCallback: ObserverBlock; aDidChangeCallback: not nullable ObserverBlock)

 

Observer(Object! aTarget, String! aName, ObserverBlock aWillChangeCallback, ObserverBlock! aDidChangeCallback)

 

init(_ aTarget: Object, _ aName: String, _ aWillChangeCallback: ObserverBlock, _ aDidChangeCallback: ObserverBlock)

 

Observer(Object! aTarget, String! aName, ObserverBlock aWillChangeCallback, ObserverBlock! aDidChangeCallback)

Parameters:

  • aTarget:
  • aName:
  • aWillChangeCallback:
  • aDidChangeCallback:

constructor (not nullable RemObjects.Elements.System.Island.Object, not nullable String, ObserverBlock, not nullable ObserverBlock) Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator

 

constructor(aTarget: not nullable RemObjects.Elements.System.Island.Object; aName: not nullable String; aWillChangeCallback: ObserverBlock; aDidChangeCallback: not nullable ObserverBlock)

 

Observer(RemObjects.Elements.System.Island.Object! aTarget, String! aName, ObserverBlock aWillChangeCallback, ObserverBlock! aDidChangeCallback)

 

init(_ aTarget: RemObjects.Elements.System.Island.Object, _ aName: String, _ aWillChangeCallback: ObserverBlock, _ aDidChangeCallback: ObserverBlock)

Parameters:

  • aTarget:
  • aName:
  • aWillChangeCallback:
  • aDidChangeCallback:

close Cooper

 

method close

 

void close()

 

func close()

 

void close()

Dispose

 

method Dispose

 

void Dispose()

 

func Dispose()

 

void Dispose()

Finalize  protected .NET, .NET Standard 2.0, Cooper

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

propertyChange  final Cooper

 

method propertyChange(e: PropertyChangeEvent)

 

void propertyChange(PropertyChangeEvent e)

 

func propertyChange(_ e: PropertyChangeEvent)

 

void propertyChange(PropertyChangeEvent e)

Parameters:

  • e:

Unsubscribe

 

method Unsubscribe

 

void Unsubscribe()

 

func Unsubscribe()

 

void Unsubscribe()