jhplot.v3d
Class Canvas3d
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Canvas
-
- jhplot.v3d.Canvas3d
-
- All Implemented Interfaces:
- java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible
public class Canvas3d extends java.awt.Canvas
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description float
omaxScale
float
ominScale
jhplot.v3d.Matrix3d
orot
jhplot.v3d.Matrix3d
oscale
jhplot.v3d.Matrix3d
otrans
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.awt.Color
getColorBack()
java.awt.Dimension
minimumSize()
void
paint(java.awt.Graphics g)
java.awt.Dimension
preferredSize()
void
reshape(int x, int y, int width, int height)
void
setColorBack(java.awt.Color c)
void
update(java.awt.Graphics g)
-
Methods inherited from class java.awt.Canvas
addNotify, createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy
-
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, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBaseline, getBaselineResizeBehavior, 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, getMousePosition, 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, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, print, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, resize, resize, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate
-
-
-
-
Field Detail
-
orot
public jhplot.v3d.Matrix3d orot
-
otrans
public jhplot.v3d.Matrix3d otrans
-
oscale
public jhplot.v3d.Matrix3d oscale
-
ominScale
public float ominScale
-
omaxScale
public float omaxScale
-
-
Constructor Detail
-
Canvas3d
public Canvas3d(Model3d md)
-
-
Method Detail
-
minimumSize
public java.awt.Dimension minimumSize()
- Overrides:
minimumSize
in classjava.awt.Component
-
preferredSize
public java.awt.Dimension preferredSize()
- Overrides:
preferredSize
in classjava.awt.Component
-
update
public void update(java.awt.Graphics g)
- Overrides:
update
in classjava.awt.Canvas
-
paint
public void paint(java.awt.Graphics g)
- Overrides:
paint
in classjava.awt.Canvas
-
setColorBack
public void setColorBack(java.awt.Color c)
-
getColorBack
public java.awt.Color getColorBack()
-
reshape
public void reshape(int x, int y, int width, int height)
- Overrides:
reshape
in classjava.awt.Component
-
-
DMelt 3.0 © DataMelt by jWork.ORG