Class com.boostworthy.example.WindowContentMomento

Description

The 'WindowContentMomento' class stores information about a 'WindowContent' class' state. In our specific use of the momento design pattern, the 'Window' class acts as the caretaker and the 'WindowContent' class acts as the originator.

Method Index

new WindowContentMomento()
getBodyText(), getHeaderText(), getToggleState(), init(), setBodyText(), setHeaderText(), setToggleState()

Constructor Detail

WindowContentMomento

public function WindowContentMomento()

Method Detail

init

public function init():Void

getHeaderText

public function getHeaderText():String

setHeaderText

public function setHeaderText(strHeaderText:String):Void

getBodyText

public function getBodyText():String

setBodyText

public function setBodyText(strBodyText:String):Void

getToggleState

public function getToggleState():String

setToggleState

public function setToggleState(strToggleState:String):Void