| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Canvas
|
+--org.rr0.is.presentation.view.report.applet.draw.DrawView
|
+--org.rr0.is.presentation.view.report.applet.sky.SkyView
Graphical view of the sky
| Field Summary | |
int | FULL_WIDTH |
int | HALF_SKY_HEIGHT |
int | HALF_SKY_WIDTH |
protected int | horizonY |
private int | hour |
(package private) int[][][] | hourColors |
private int | SKY_HEIGHT |
private int | SKY_WIDTH |
private Precipitations | weatherRunnable |
private int | xCenter |
private int | yCenter |
| Fields inherited from class org.rr0.is.presentation.view.report.applet.draw.DrawView |
bufferedGraphics, CROSS_HAIR_CURSOR, DEFAULT_CURSOR, HEIGHT_RESIZE_CURSOR, MOVE_CURSOR, NORTH_EAST_RESIZE_CURSOR, NORTH_WEST_RESIZE_CURSOR, SOUTH_EAST_RESIZE_CURSOR, SOUTH_WEST_RESIZE_CURSOR, WIDTH_RESIZE_CURSOR |
| Fields inherited from class java.awt.Component |
TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT |
| Method Summary | |
Precipitations | getWeatherRunnable() |
int | getXCenter() |
int | getYCenter() |
boolean | isVisible(int xDelta, int yDelta) |
void | paintBackground(GregorianCalendar time) |
void | paintGround(GregorianCalendar time, double altitude, double factor, Image img, int azimut) |
void | paintMoon(int xDelta, int yDelta, int halfMagnitude, int fullMagnitude) |
void | paintPlanet(int xDelta, int yDelta, int halfMagnitude, int fullMagnitude) |
void | paintStar(int xDelta, int yDelta, int halfRadius, int radius) |
void | paintSun(int xDelta, int yDelta, int halfMagnitude, int fullMagnitude) |
void | paintWeather(Image weatherImage, int azimut) |
void | paintWeather2() |
void | setColor(Color color) |
void | setSize(int width, int height)Resizes this component so that it has width width
and height. |
void | setWeatherRunnable(Precipitations weatherRunnable) |
boolean | skyContains(int mouseX, int mouseY) |
void | start() |
| Methods inherited from class org.rr0.is.presentation.view.report.applet.draw.DrawView |
displayBuffered, getShapeMenu, paint, paintShape, setMessageBundle, update |
| Methods inherited from class java.awt.Canvas |
addNotify, getAccessibleContext |
| Methods inherited from class java.awt.Component |
getName, setName, getParent, getPeer, setDropTarget, getDropTarget, getGraphicsConfiguration, getTreeLock, getToolkit, isValid, isDisplayable, isVisible, isShowing, isEnabled, setEnabled, enable, enable, disable, isDoubleBuffered, enableInputMethods, setVisible, show, show, hide, getForeground, setForeground, getBackground, setBackground, getFont, setFont, getLocale, setLocale, getColorModel, getLocation, getLocationOnScreen, location, setLocation, move, setLocation, getSize, size, resize, setSize, resize, getBounds, bounds, setBounds, reshape, setBounds, getX, getY, getWidth, getHeight, getBounds, getSize, getLocation, isOpaque, isLightweight, getPreferredSize, preferredSize, getMinimumSize, minimumSize, getMaximumSize, getAlignmentX, getAlignmentY, doLayout, layout, validate, invalidate, getGraphics, getFontMetrics, setCursor, getCursor, paintAll, repaint, repaint, repaint, repaint, print, printAll, imageUpdate, createImage, createImage, prepareImage, prepareImage, checkImage, checkImage, contains, inside, contains, getComponentAt, locate, getComponentAt, deliverEvent, dispatchEvent, postEvent, addComponentListener, removeComponentListener, addFocusListener, removeFocusListener, addHierarchyListener, removeHierarchyListener, addHierarchyBoundsListener, removeHierarchyBoundsListener, addKeyListener, removeKeyListener, addMouseListener, removeMouseListener, addMouseMotionListener, removeMouseMotionListener, addInputMethodListener, removeInputMethodListener, getListeners, getInputMethodRequests, getInputContext, enableEvents, disableEvents, coalesceEvents, processEvent, processComponentEvent, processFocusEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processInputMethodEvent, processHierarchyEvent, processHierarchyBoundsEvent, handleEvent, mouseDown, mouseDrag, mouseUp, mouseMove, mouseEnter, mouseExit, keyDown, keyUp, action, removeNotify, gotFocus, lostFocus, isFocusTraversable, requestFocus, transferFocus, nextFocus, hasFocus, add, remove, paramString, toString, list, list, list, list, list, addPropertyChangeListener, removePropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, firePropertyChange, setComponentOrientation, getComponentOrientation |
| Methods inherited from class java.lang.Object |
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize |
| Field Detail |
public int FULL_WIDTH
public int HALF_SKY_HEIGHT
public int HALF_SKY_WIDTH
protected int horizonY
private int hour
int[][][] hourColors
private int SKY_HEIGHT
private int SKY_WIDTH
private Precipitations weatherRunnable
private int xCenter
private int yCenter
| Method Detail |
public Precipitations getWeatherRunnable()
public int getXCenter()
public int getYCenter()
public boolean isVisible(int xDelta, int yDelta)
public void paintBackground(GregorianCalendar time)
public void paintGround(GregorianCalendar time, double altitude, double factor, Image img, int azimut)
public void paintMoon(int xDelta, int yDelta, int halfMagnitude, int fullMagnitude)
public void paintPlanet(int xDelta, int yDelta, int halfMagnitude, int fullMagnitude)
public void paintStar(int xDelta, int yDelta, int halfRadius, int radius)
public void paintSun(int xDelta, int yDelta, int halfMagnitude, int fullMagnitude)
public void paintWeather(Image weatherImage, int azimut)
public void paintWeather2()
public void setColor(Color color)
public void setSize(int width, int height)
width
height.public void setWeatherRunnable(Precipitations weatherRunnable)
public boolean skyContains(int mouseX, int mouseY)
public void start()
| Association Links |
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||