fun_kwadrat.CanvasMoj2
function windowTitle()
{
parent.document.title="fun_kwadrat.CanvasMoj2";
}
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.CanvasMoj2
java.lang.Object
java.awt.Component
java.awt.Canvas
fun_kwadrat.CanvasMoj2
All Implemented Interfaces: javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
Enclosing class:fun_kwadrat
public class fun_kwadrat.CanvasMoj2extends java.awt.Canvas
Klasa ta jest wyprowadzona z klasy Canvas. Dotyczy układu,
na którym jest rysowany wykres funkcji kwadratowej.
See Also: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.CanvasMoj2()
Method Summary
void
init()
Funkcja ustawiająca podstawowe parametry dla klasy CanvasMoj2
takie jak: kolor tła, położenie, rozmiary
void
paint(java.awt.Graphics gg)
void
rysujWykres(double a,
double b,
double c)
Funkcja rysująca wykres funkcji kwadratowej f(x)=ax^2+bx+c
w zależności od pobranych parametrów a, b i c.
Methods inherited from class java.awt.Canvas
addNotify, createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy, update
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, dispatchEvent, doLayout, enable, enable, enableInputMethods, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Constructor Detail
fun_kwadrat.CanvasMoj2
public fun_kwadrat.CanvasMoj2()
Method Detail
init
public void init()
Funkcja ustawiająca podstawowe parametry dla klasy CanvasMoj2
takie jak: kolor tła, położenie, rozmiary
paint
public void paint(java.awt.Graphics gg)
rysujWykres
public void rysujWykres(double a,
double b,
double c)
Funkcja rysująca wykres funkcji kwadratowej f(x)=ax^2+bx+c
w zależności od pobranych parametrów a, b i c.
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
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 canvasmoj2fun kwadrat canvasmoj2znak fun tryg canvaskatfun kwadrat panelsuwakifun logarytm canvasmoj6fun kwadratfun kwadrat panelobliczeniaimgfun kwadrat panelsuwakifun logarytm canvasmoj6fun wykladnicza canvasmoj5fun kwadratfun kwadrat paneltytulznak fun tryg canvaskatfun kwadrat panelsuwakifun kwadratwięcej podobnych podstron