Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

Summary

This chapter showed you how to add skin support to your Spark-based components by extending them from SkinnableComponent or a subclass. You also saw how to implement the partAdded(), partRemoved(), and getCurrentSkinState() methods.

You also saw that, although Halo components don’t provide the same level of configuration, you can use FXG/MXMLG to create an associated skin for most Halo components by extending their skin classes from SparkSkin or SparkSkinForHalo classes.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial