|
|||||||||
| Home >> All >> com >> xerox >> VTM >> [ engine overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.xerox.VTM.engine
Class AppletViewPanel

java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.xerox.VTM.engine.ViewPanel
com.xerox.VTM.engine.AppletViewPanel
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.lang.Runnable, java.io.Serializable
- public class AppletViewPanel
- extends ViewPanel
- implements java.lang.Runnable
- extends ViewPanel
Each view runs in its own thread - uses double buffering - for use in JApplet only
| Nested Class Summary |
| 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 |
| Field Summary | |
(package private) java.awt.image.BufferedImage |
buffImg
for Double Buffering |
| Fields inherited from class com.xerox.VTM.engine.ViewPanel |
active, activeLayer, alwaysRepaintMe, antialias, backColor, beginAt, blankColor, camIndex, cams, CIRCLE, circleOnly, computeListAtEachRepaint, curDragx, curDragy, d1, d2, deactiveTime, drawDrag, drawnGlyphs, drawOval, drawRect, drawVTMcursor, evH, frameTime, g2, gl, inside, newRequest, NONE, notBlank, oldX, oldY, origDragx, origDragy, OVAL, parent, repaintNow, runView, standardStroke, standardTransform, timeToSleep, uncoef, updateAntialias, updateFont, updateMouseOnly, viewH, viewHHu, viewHLu, viewW, viewWHu, viewWLu |
| 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 | |
AppletViewPanel(java.util.Vector cameras,
View v)
|
|
| Method Summary | |
protected java.awt.image.BufferedImage |
getImage()
|
void |
paint(java.awt.Graphics g)
Paint the component. |
void |
run()
This method will be called by whoever wishes to run your class implementing Runnable. |
void |
start()
|
void |
stop()
|
| Methods inherited from class com.xerox.VTM.engine.ViewPanel |
getGlyphsUnderMouse, getMouse, getRefreshRate, lastGlyphEntered, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, setAWTCursor, setDrawDrag, setDrawOval, setDrawRect, setDrawSegment, setEventHandler, setRefreshRate |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
buffImg
java.awt.image.BufferedImage buffImg
- for Double Buffering
| Constructor Detail |
AppletViewPanel
public AppletViewPanel(java.util.Vector cameras, View v)
| Method Detail |
getImage
protected java.awt.image.BufferedImage getImage()
start
public void start()
stop
public void stop()
run
public void run()
- Description copied from interface:
java.lang.Runnable - This method will be called by whoever wishes to run your class
implementing Runnable. Note that there are no restrictions on what
you are allowed to do in the run method, except that you cannot
throw a checked exception.
- Specified by:
runin interfacejava.lang.Runnable
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 >> com >> xerox >> VTM >> [ engine overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC