Properties Methods Events
6
Properties, Methods and Events Seth Sivak Programming for Digital Media Spring 2010
-
Upload
seth-sivak -
Category
Business
-
view
704 -
download
0
Transcript of Properties Methods Events
Properties, Methods and EventsSeth Sivak
Programming for Digital Media Spring 2010
Inheritance
Child will inherit characteristics of the parent
Class Inheritance
Display Inheritance
Inheritance vs. Instance
Properties
Ways to describe custom objects
Variables for Objects
Read-Write vs. Read-Only
Methods
Way to tell custom objects what to do
Functions called on Objects
Can return a value
Can take in parameters
Events
Event Dispatchers
Events (MouseEvent, TimerEvent...)
Event Listeners