fun_kwadrat.PanelObliczeniaImg
function windowTitle()
{
parent.document.title="fun_kwadrat.PanelObliczeniaImg";
}
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 fun_kwadrat.PanelObliczeniaImg
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Panel
fun_kwadrat.PanelObliczeniaImg
All Implemented Interfaces: javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
Enclosing class:fun_kwadrat
public class fun_kwadrat.PanelObliczeniaImgextends java.awt.Panel
Klasa PanelObliczeniaImg jest wyprowadzona z klasy Panel.
Klasa ta wyświetla obliczone pierwiastki funkcji oraz wartość "delta".
Definiuje również elementy panelu jakimi są wyświetlane obrazki Image.
Przechowuje ich URL.
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
fun_kwadrat.PanelObliczeniaImg()
Method Summary
void
init()
Funkcja ustawiająca podstawowe parametry dla klasy PanelObliczeniaImg
takie jak: kolor tła, położenie, rozmiar.
void
oblicz(double a,
double b,
double c)
Funkcja obliczająca amienną "delta" oraz pierwiastki
funkcji kwadratowej f(x)=ax^2+bx+c.
void
paint(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, 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, 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
fun_kwadrat.PanelObliczeniaImg
public fun_kwadrat.PanelObliczeniaImg()
Method Detail
init
public void init()
Funkcja ustawiająca podstawowe parametry dla klasy PanelObliczeniaImg
takie jak: kolor tła, położenie, rozmiar.
oblicz
public void oblicz(double a,
double b,
double c)
Funkcja obliczająca amienną "delta" oraz pierwiastki
funkcji kwadratowej f(x)=ax^2+bx+c. Wyświetla wyniki
na panelu oraz ładuje obrazki.
Parameters:a - parametr a dla funkcji f(x)=ax^2+bx+cb - parametr b dla funkcji f(x)=ax^2+bx+cc - parametr c dla funkcji f(x)=ax^2+bx+c
paint
public void paint(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:
fun kwadrat panelobliczeniaimgfun kwadrat panelobliczeniaimgfun kwadrat panelsuwakifun kwadratfun kwadrat canvasmoj2fun kwadrat panelsuwakifun kwadrat canvasmoj2fun kwadrat canvasmoj2fun kwadratfun kwadrat paneltytulfun kwadrat panelsuwakifun kwadratfun kwadrat paneltytulfun kwadrat paneltytulwięcej podobnych podstron