WeatherPainter Class Reference

List of all members.

Public Member Functions

Dimension getPreferredSize ()
void paint (Graphics g)

Package Functions

void setTemperature (int temp)
void setupText (String s1, String s2)
void setupImages (BufferedImage i0)
void setupImages (int min, int max, BufferedImage i0, BufferedImage i1)
void setupWeatherReport ()

Package Attributes

int temperature = 65
String[] conditions = { "Snow", "Rain", "Cloud", "Sun"}
BufferedImage snow = null
BufferedImage rain = null
BufferedImage cloud = null
BufferedImage sun = null
Color textColor = Color.yellow
String condStr = ""
String feels = ""
Composite alpha0 = null
Composite alpha1 = null
BufferedImage img0 = null
BufferedImage img1 = null


Member Function Documentation

void WeatherPainter::setTemperature ( int  temp  )  [inline, package]

Dimension WeatherPainter::getPreferredSize (  )  [inline]

void WeatherPainter::setupText ( String  s1,
String  s2 
) [inline, package]

References condStr, feels, temperature, and textColor.

Referenced by setupWeatherReport().

void WeatherPainter::setupImages ( BufferedImage  i0  )  [inline, package]

References alpha0, alpha1, img0, and img1.

Referenced by setupWeatherReport().

void WeatherPainter::setupImages ( int  min,
int  max,
BufferedImage  i0,
BufferedImage  i1 
) [inline, package]

References alpha0, alpha1, img0, img1, and temperature.

void WeatherPainter::setupWeatherReport (  )  [inline, package]

References cloud, rain, setupImages(), setupText(), snow, sun, and temperature.

Referenced by paint().

void WeatherPainter::paint ( Graphics  g  )  [inline]


Member Data Documentation

int WeatherPainter::temperature = 65 [package]

String [] WeatherPainter::conditions = { "Snow", "Rain", "Cloud", "Sun"} [package]

BufferedImage WeatherPainter::snow = null [package]

BufferedImage WeatherPainter::rain = null [package]

BufferedImage WeatherPainter::cloud = null [package]

BufferedImage WeatherPainter::sun = null [package]

Color WeatherPainter::textColor = Color.yellow [package]

Referenced by paint(), and setupText().

String WeatherPainter::condStr = "" [package]

Referenced by paint(), and setupText().

String WeatherPainter::feels = "" [package]

Referenced by paint(), and setupText().

Composite WeatherPainter::alpha0 = null [package]

Referenced by paint(), and setupImages().

Composite WeatherPainter::alpha1 = null [package]

Referenced by paint(), and setupImages().

BufferedImage WeatherPainter::img0 = null [package]

Referenced by paint(), and setupImages().

BufferedImage WeatherPainter::img1 = null [package]

Referenced by paint(), and setupImages().


The documentation for this class was generated from the following file:

Generated on Wed Aug 10 11:57:15 2011 for Softwares from Orpara by  doxygen 1.5.6