rzut_pionowy.PanelObl
function windowTitle()
{
parent.document.title="rzut_pionowy.PanelObl";
}
Package
Class
Use
Tree
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Class rzut_pionowy.PanelObl
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Panel
rzut_pionowy.PanelObl
All Implemented Interfaces: javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
Enclosing class:rzut_pionowy
public class rzut_pionowy.PanelOblextends java.awt.Panel
Klasa PanelObl jest wyprowadzona z klasy Panel.
Wyświetla podstawowe wielkości dotyczące rzutu pionowego,
uprzednio je oblicza. Tymi wartościami są:
maksymalna wysokość, czas wznoszenia, czas lotu do momentu upadku.
See Also:java.awt.Panel,
Serialized Form
Field Summary
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor Summary
rzut_pionowy.PanelObl()
Method Summary
void
init()
Funkcja ustawiająca podstawowe parametry dla klasy PanelObl
takie jak: kolor tła, położenie, rozmiary, obiekty Label, czcionki, itd.
void
obliczeniaNaPanel(double v_0,
double H_,
double tk_)
Funkcja wyświetla na panelu maksymalną wysokość, czas wznoszenia, czas lotu do momentu upadku.
void
paint(java.awt.Graphics g)
void
update(java.awt.Graphics g)
Methods inherited from class java.awt.Panel
addNotify, getAccessibleContext
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, validate
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Constructor Detail
rzut_pionowy.PanelObl
public rzut_pionowy.PanelObl()
Method Detail
init
public void init()
Funkcja ustawiająca podstawowe parametry dla klasy PanelObl
takie jak: kolor tła, położenie, rozmiary, obiekty Label, czcionki, itd.
obliczeniaNaPanel
public void obliczeniaNaPanel(double v_0,
double H_,
double tk_)
Funkcja wyświetla na panelu maksymalną wysokość, czas wznoszenia, czas lotu do momentu upadku.
Wartości te są obliczane na podstawie argumentów.
Parameters:v_0 - prędkość początkowaH_ - maksymalna wysokość, na którą wzniesie się ciałotk_ - czas lotu do momentu upadku
paint
public void paint(java.awt.Graphics g)
update
public void update(java.awt.Graphics g)
Package
Class
Use
Tree
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Wyszukiwarka
Podobne podstrony:
rzut pionowy paneloblrzut poziomy paneloblRzut pionowyrzut pionowy canvasmoj3rzut pionowy canvasmoj3rzut pionowy paneltytulrzut poziomy paneloblrzut pionowyrzut pionowywięcej podobnych podstron