Graphics Reference
In-Depth Information
12
CLASSES
CHAPTER OUTLINE
Set Up 192
Packages 192
Document Class 193
The BorderButton Class
195
BorderButton Code 196
BorderButton Breakdown 197
Sample Use of BorderButton
200
The SimpleMenu Class
200
SimpleMenu Code 201
SimpleMenu Breakdown 206
Sample Use of SimpleMenu
212
The SimpleGallery Class
213
SimpleGallery Code 214
SimpleGallery Breakdown 217
Sample Use of SimpleGallery
225
The ReverseClip Class
226
ReverseClip Code 226
ReverseClip Breakdown 227
Sample Use of ReverseClip
230
The ClickTagger Class
231
ClickTagger Code 231
ClickTagger Breakdown 234
Sample Use of ClickTagger
238
Conclusion
238
Writing good classes (and reusable code in general) can sometimes
be a challenge in the advertising agency world where timelines
tend to be significantly shorter than a developer would like and
project functionality can change at the drop of a hat during the
final moments of a tight deadline. Another challenge to writing
code that can be easily passed acrossprojectsisthefactthat,in
general, no two projects are ever the same. That said you should
still strive for reusable classes in your projects.
 
Search WWH ::




Custom Search