O'Reilly logo

Enterprise Curl by Paul Sheehan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

StatusBarManager

The StatusBarManager is a service manager class that controls the appearance of an application status bar. It is used to create the classes involved in the visual representation of the status bar, as well as the methods that control setting the data within each element. The code for the StatusBarManager class is discussed in the following sections.

get-status-bar

The code required in the {get-status-bar} method, and for the declaration of the class fields, is shown in Figure 7-2.

StatsBarManager has a private class field declared called statusbar-container, which is of the type StatsBarContainer. This is instantiated directly upon creation of this class, as no other constructor processing needs to happen or parameters passed ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required