Class com.bumpslide.ui.StatefulClip

????
   +--com.bumpslide.ui.BaseClip
      +--com.bumpslide.ui.StatefulClip

Description

Abstract Class for defining clips that can responds to specific view state changes

Field Index

state

Method Index

callChangeHandler(), onLoad(), onStateValueChange()

Field Detail

state

state:Model [Read Only]
This must return a valid state model

Method Detail

onLoad

function onLoad()

Init state after running superclass version of onLoad

onStateValueChange

function onStateValueChange(e:ModelValueChangedEvent)

When a state value changes, call the change handler for that key

Parameters

e

callChangeHandler

function callChangeHandler(key:String, newValue, oldValue)

Calls the change handler function for a given key Change handlers are function with names formed using the convention "onStateChange_"+key

Parameters

key
newValue
oldValue