|
|||||||||
| Home >> All >> org >> fudaa >> ebli >> [ volume overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.fudaa.ebli.volume
Class BVolume3D

java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
org.fudaa.ebli.volume.BVolume3D
- All Implemented Interfaces:
- java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.awt.event.MouseMotionListener, java.io.Serializable
- public class BVolume3D
- extends javax.swing.JComponent
- implements java.awt.event.MouseMotionListener
- extends javax.swing.JComponent
- Version:
- $Revision: 1.4 $ $Date: 2001/09/11 15:29:21 $ by $Author: deniger $
| Nested Class Summary | |
(package private) class |
BVolume3D.RepaintTask
|
(package private) class |
BVolume3D.RotateTask
|
| 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 |
| Field Summary | |
(package private) Matrix3D |
amat
|
(package private) java.lang.String |
message
|
(package private) OOGL_OFF |
obj
|
(package private) java.lang.String |
objname
|
(package private) boolean |
painted
|
(package private) int |
prevx
|
(package private) int |
prevy
|
private BVolume3D.RepaintTask |
repaintTask_
|
private BVolume3D.RotateTask |
rotateTask_
|
(package private) double |
scaleval
|
(package private) Matrix3D |
tmat
|
(package private) double |
xfac
|
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Container |
|
| 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 | |
BVolume3D()
|
|
| Method Summary | |
void |
init()
|
void |
mouseDragged(java.awt.event.MouseEvent ev)
This method is called when the mouse is moved over a component while a button has been pressed. |
void |
mouseMoved(java.awt.event.MouseEvent ev)
This method is called when the mouse is moved over a component while no button is pressed. |
void |
paint(java.awt.Graphics g)
Paint the component. |
void |
repaint()
Repaint this entire component. |
void |
rotate()
|
private void |
super_repaint()
|
void |
update(java.awt.Graphics g)
Call paint(java.awt.Graphics) 55 . |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
obj
OOGL_OFF obj
painted
boolean painted
objname
java.lang.String objname
message
java.lang.String message
xfac
double xfac
scaleval
double scaleval
amat
Matrix3D amat
tmat
Matrix3D tmat
prevx
int prevx
prevy
int prevy
repaintTask_
private BVolume3D.RepaintTask repaintTask_
rotateTask_
private BVolume3D.RotateTask rotateTask_
| Constructor Detail |
BVolume3D
public BVolume3D()
| Method Detail |
init
public void init()
repaint
public void repaint()
- Description copied from class:
java.awt.Component - Repaint this entire component. The
update()method on this component will be called as soon as possible.
super_repaint
private void super_repaint()
rotate
public void rotate()
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent ev)
- Description copied from interface:
java.awt.event.MouseMotionListener - This method is called when the mouse is moved over a component
while a button has been pressed.
- Specified by:
mouseDraggedin interfacejava.awt.event.MouseMotionListener
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent ev)
- Description copied from interface:
java.awt.event.MouseMotionListener - This method is called when the mouse is moved over a component
while no button is pressed.
- Specified by:
mouseMovedin interfacejava.awt.event.MouseMotionListener
update
public void update(java.awt.Graphics g)
- Description copied from class:
javax.swing.JComponent - Call JComponent.paint(java.awt.Graphics)>
JComponent.paint(java.awt.Graphics)55 .
paint
public void paint(java.awt.Graphics g)
- Description copied from class:
javax.swing.JComponent Paint the component. This is a delicate process, and should only be called from the repaint thread, under control of the javax.swing.RepaintManager. Client code should usually call Component.repaint()>
Component.repaint()55 to trigger painting.The body of the
paintcall involves calling JComponent.paintComponent(java.awt.Graphics)>JComponent.paintComponent(java.awt.Graphics)55 , JComponent.paintBorder(java.awt.Graphics)>JComponent.paintBorder(java.awt.Graphics)55 , and JComponent.paintChildren(java.awt.Graphics)>JComponent.paintChildren(java.awt.Graphics)55 in order. If you want to customize painting behavior, you should override one of these methods rather thanpaint.For more details on the painting sequence, see this article.
|
|||||||||
| Home >> All >> org >> fudaa >> ebli >> [ volume overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC