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 ...

Get Enterprise Curl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.