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 |
| void WeatherPainter::setTemperature | ( | int | temp | ) | [inline, package] |
References temperature.
Referenced by WeatherWizard::initComponents(), and WeatherWizard::stateChanged().
| Dimension WeatherPainter::getPreferredSize | ( | ) | [inline] |
| void WeatherPainter::setupText | ( | String | s1, | |
| String | s2 | |||
| ) | [inline, package] |
| void WeatherPainter::setupImages | ( | BufferedImage | i0 | ) | [inline, package] |
| 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] |
References alpha0, alpha1, condStr, feels, img0, img1, setupWeatherReport(), temperature, and textColor.
int WeatherPainter::temperature = 65 [package] |
Referenced by paint(), setTemperature(), setupImages(), setupText(), and setupWeatherReport().
String [] WeatherPainter::conditions = { "Snow", "Rain", "Cloud", "Sun"} [package] |
BufferedImage WeatherPainter::snow = null [package] |
Referenced by WeatherWizard::initComponents(), and setupWeatherReport().
BufferedImage WeatherPainter::rain = null [package] |
Referenced by WeatherWizard::initComponents(), and setupWeatherReport().
BufferedImage WeatherPainter::cloud = null [package] |
Referenced by WeatherWizard::initComponents(), and setupWeatherReport().
BufferedImage WeatherPainter::sun = null [package] |
Referenced by WeatherWizard::initComponents(), and setupWeatherReport().
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().
1.5.6