Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/ChartGenerator.java @ 4444:47d50572844a
Add method to a access the CallContext of a ChartGenerator
Don't access the member variable directly. Always use getters and setters to
declare a contract to another class. Public or proteced members
would extend the contract.
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Wed, 07 Nov 2012 14:12:39 +0100 |
parents | 5b8919ef601d |
children | afd817b006b7 |
comparison
equal
deleted
inserted
replaced
4443:af728a5e0329 | 4444:47d50572844a |
---|---|
1883 context.putContextValue("chart.height", dimension[1]); | 1883 context.putContextValue("chart.height", dimension[1]); |
1884 context.putContextValue( | 1884 context.putContextValue( |
1885 "chart.encoding", | 1885 "chart.encoding", |
1886 ChartExportHelper.DEFAULT_ENCODING); | 1886 ChartExportHelper.DEFAULT_ENCODING); |
1887 } | 1887 } |
1888 | |
1889 /** | |
1890 * Retuns the call context. May be null if init hasn't been called yet. | |
1891 * | |
1892 * @return the CallContext instance | |
1893 */ | |
1894 public CallContext getCallContext() { | |
1895 return context; | |
1896 } | |
1888 } | 1897 } |
1889 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 1898 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |