Skip to Main Content
Enterprise Curl
book

Enterprise Curl

by Paul Sheehan
December 2002
Intermediate to advanced content levelIntermediate to advanced
400 pages
9h 25m
English
Pearson
Content preview from Enterprise Curl

GraphItem

The GraphItem class is used as the ancestor for all implementations of graphs that will be displayed in the SimpleGraph container. It contains a number of constants, getters, and setters, as well as abstract methods that will be implemented in descendent sub-classes, for example, the PieChart class that will be discussed later in this chapter. The constructor and class field code required in GraphItem are shown in Figure 15-21.

Figure 15-20. Pie chart module enumerator listing.
{define-enum public YLabelType
    eNone,
    eLeft,
    eRight
}

{define-enum public ItemDisplayType
    eDontShow,
    eShadowOnly,
    eItemOnly,
    eItemAndShadow
}

GraphItem contains a number of constant variables that represent colors, and these will be used in the sub-classes ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Web 2.0 Architectures

Web 2.0 Architectures

James Governor, Dion Hinchcliffe, Duane Nickull
Juniper Networks® Field Guide and Reference

Juniper Networks® Field Guide and Reference

Aviva Garrett, Gary Drenan, Cris Morris, Juniper Networks®

Publisher Resources

ISBN: 0131461222Purchase book