symul_armata
function windowTitle()
{
parent.document.title="symul_armata";
}
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 symul_armata
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
symul_armata
All Implemented Interfaces: javax.accessibility.Accessible, java.awt.event.ActionListener, java.awt.event.AdjustmentListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
public class symul_armataextends java.applet.Appletimplements java.awt.event.AdjustmentListener, java.awt.event.ActionListener
Aplet symulujący strzał z armaty. Obrazuje lot pocisku wystrzelonego z prędkością
początkową v0 z pewnej wysokości H pod kątem alfa
Klasa apletu implementuje interfejsy: AdjustmentListener oraz ActionListener.
Author:
Agnieszka Gryz
See Also:Interface ActionListener,
Interface AdjustmentListener,
Serialized Form
Nested Class Summary
class
symul_armata.CanvasSymulacja
Klasa ta jest wyprowadzona z klasy Canvas.
class
symul_armata.PanelObl
Klasa PanelObl jest wyprowadzona z klasy Panel.
class
symul_armata.PanelSuwakAlfa
Klasa PanelSuwakV jest wyprowadzona z klasy Panel.
class
symul_armata.PanelSuwakH
Klasa PanelSuwakH jest wyprowadzona z klasy Panel.
class
symul_armata.PanelTytul
Klasa PanelTytul jest wyprowadzona z klasy Panel.
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
symul_armata()
Method Summary
void
actionPerformed(java.awt.event.ActionEvent event)
Metoda reagująca na naciśnięcie guzika Button.
void
adjustmentValueChanged(java.awt.event.AdjustmentEvent event)
Metoda reagująca na zmianę wartości suwaków, czyli
parametrów klasy Scrollbar.
void
init()
Funkcja init() zawiera konstruktory
używanych klas oraz inicjalizuje niektóre zmienne.
static void
main(java.lang.String[] args)
Funkcja tworząca okno apletu, wywołuje funkcję apletu init();
Methods inherited from class java.applet.Applet
destroy, getAccessibleContext, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop
Methods inherited from class java.awt.Panel
addNotify
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, paint, paintComponents, preferredSize, print, printComponents, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, 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, 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, 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
symul_armata
public symul_armata()
Method Detail
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent event)
Metoda reagująca na naciśnięcie guzika Button.
Należy do interfejsu ActionListener.
Specified by:actionPerformed in interface java.awt.event.ActionListener
See Also:Interface ActionListener
adjustmentValueChanged
public void adjustmentValueChanged(java.awt.event.AdjustmentEvent event)
Metoda reagująca na zmianę wartości suwaków, czyli
parametrów klasy Scrollbar.
Należy do interfejsu AdjustmentListener.
Specified by:adjustmentValueChanged in interface java.awt.event.AdjustmentListener
See Also:Interface AdjustmentListener
init
public void init()
Funkcja init() zawiera konstruktory
używanych klas oraz inicjalizuje niektóre zmienne.
See Also:java.applet.Applet.init()
main
public static void main(java.lang.String[] args)
Funkcja tworząca okno apletu, wywołuje funkcję apletu init();
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:
symul armata paneloblsymul armata panelsuwakhsymul armatasymul armata paneltytulsymul armata panelsuwakalfasymul armata paneloblsymul armata paneltytulsymul armata panelsuwakhsymul armata panelsuwakalfasymul armata panelsuwakalfasymul armata canvassymulacjasymul armata canvassymulacjaGreen?y Armatage ShanksArmata w krzakachArmata a charakterystyki trakcyjne czołguArmatagreen day armatage shankswięcej podobnych podstron