Overview

The simplest and preferred way to customize renderers is through the style sheet, as explained in Using renderers in the style sheet. There are situations, however, where it is necessary to access and modify renderers dynamically while the application is running. For example, you may want to disable the LinkLayout renderer temporarily and re-enable it later without reloading a new style sheet, which would re-create all the graphic objects. This section explains how to do this in your Java™ code.