java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.hartmath.xfunctions.GenericPanel
com.hartmath.xfunctions.Graph3DPanel
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
- public class Graph3DPanel
- extends GenericPanel
- implements java.awt.event.ActionListener
Description of the Class
| Nested classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Fields inherited from class java.awt.Container |
|
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle |
scanner
com.hartmath.lib.Parser scanner
coords
com.hartmath.xfunctions.graphs.CoordinateRect coords
graphcanvas
Graph3DCanvas graphcanvas
functionInput
javax.swing.JTextField functionInput
parameterValues
double[] parameterValues
styleCB
javax.swing.JRadioButton[] styleCB
styleButtons
javax.swing.ButtonGroup styleButtons
graphItButton
javax.swing.JButton graphItButton
clearButton
javax.swing.JButton clearButton
zoomInButton
javax.swing.JButton zoomInButton
zoomOutButton
javax.swing.JButton zoomOutButton
vScroll
javax.swing.JScrollBar vScroll
hScroll
javax.swing.JScrollBar hScroll
clear
boolean clear
currentStyle
int currentStyle
session
com.hartmath.lib.Session session
WIREFRAME
public static final int WIREFRAME
- Description of the Field
- See Also:
- Constant Field Values
HIDDEN_LINES_REMOVED
public static final int HIDDEN_LINES_REMOVED
- Description of the Field
- See Also:
- Constant Field Values
SHADED
public static final int SHADED
- Description of the Field
- See Also:
- Constant Field Values
SHADED_WITH_WIRES
public static final int SHADED_WITH_WIRES
- Description of the Field
- See Also:
- Constant Field Values
canvas
com.hartmath.xfunctions.graphs.DisplayCanvas canvas
numberInput
com.hartmath.xfunctions.graphs.NumberInputPanel numberInput
buttons
ButtonPanel buttons
Graph3DPanel
public Graph3DPanel(java.lang.String fun,
java.lang.String x,
java.lang.String y,
double x0,
double x1,
double y0,
double y1,
com.hartmath.lib.Session sess)
- Constructor for the Graph3DPanel object
aboutToShow
public void aboutToShow()
- Description of the Method
- Overrides:
aboutToShow in class GenericPanel
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent evt)
- Description of the Method
- Specified by:
actionPerformed in interface java.awt.event.ActionListener
handleEvent
public boolean handleEvent(java.awt.Event evt)
- Description of the Method
installExample
void installExample(java.lang.Object[] data)
- Description of the Method
- Overrides:
installExample in class GenericPanel
getStyle
private void getStyle()
- Gets the style attribute of the Graph3DPanel object
doCompute
private void doCompute()
- Description of the Method
doClear
private void doClear()
- Description of the Method
doScroll
private void doScroll()
- Description of the Method
doZoom
private void doZoom(boolean zoomIn)
- Description of the Method
aboutToHide
void aboutToHide()
insets
public java.awt.Insets insets()
- Description copied from class:
java.awt.Container
- Returns the insets for this container, which is the space used for
borders, the margin, etc.