Observer

Overview

Location

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


Instance Methods


constructor

 

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

 

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

 

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

 

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

 

Sub New(aTarget As Object, aName As String, aWillChangeCallback As ObserverBlock = Null, aDidChangeCallback As ObserverBlock)

Parameters:

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

Dispose

 

method Dispose

 

void Dispose()

 

func Dispose()

 

void Dispose()

 

Sub Dispose()

Finalize  protected .NET, .NET Core 6.0, .NET Standard 2.0, Cooper

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

propertyChange  final Cooper

 

method propertyChange(e: PropertyChangeEvent)

 

void propertyChange(PropertyChangeEvent e)

 

func propertyChange(_ e: PropertyChangeEvent)

 

void propertyChange(PropertyChangeEvent e)

 

Sub propertyChange(e As PropertyChangeEvent)

Parameters:

  • e:

Unsubscribe

 

method Unsubscribe

 

void Unsubscribe()

 

func Unsubscribe()

 

void Unsubscribe()

 

Sub Unsubscribe()