|
|||||||||
| 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 AccEView

java.lang.Objectcom.xerox.VTM.engine.View
com.xerox.VTM.engine.AccEView
- All Implemented Interfaces:
- java.util.EventListener, java.awt.event.KeyListener
- public class AccEView
- extends View
- implements java.awt.event.KeyListener
- extends View
An external view is a window and can be composed of one or several cameras superimposed (uses a standard JFrame) this one is hardware accelerated (at least under Win32) using VolatileImage available since JDK 1.4.0 (does not accelerate bitmaps)
| Field Summary | |
(package private) javax.swing.JFrame |
frame
|
(package private) boolean |
isFullScreen
|
(package private) javax.swing.JMenuBar |
jmb
|
(package private) java.awt.DisplayMode |
oldDM
|
(package private) java.awt.Dimension |
origDim
|
| Fields inherited from class com.xerox.VTM.engine.View |
cameras, detectMultipleFullFills, mouse, name, notifyMouseMoved, panel, parent, statusBar |
| Constructor Summary | |
protected |
AccEView(java.util.Vector v,
java.lang.String t,
int panelWidth,
int panelHeight,
boolean bar,
boolean visible,
VirtualSpaceManager vsm)
|
|
AccEView(java.util.Vector v,
java.lang.String t,
int panelWidth,
int panelHeight,
boolean bar,
boolean visible,
VirtualSpaceManager vsm,
javax.swing.JMenuBar mnb)
|
| Method Summary | |
void |
destroyView()
destroy this view |
java.awt.Container |
getFrame()
get the java.awt.Container for this view |
void |
goFullScreen(boolean b,
java.awt.DisplayMode dm)
Go in full screen mode and display this View's content |
boolean |
isFullScreen()
|
boolean |
isSelected()
tells whether this frame is selected or not - not used |
void |
keyPressed(java.awt.event.KeyEvent e)
detect key pressed and send to application event handler |
void |
keyReleased(java.awt.event.KeyEvent e)
detect key released and send to application event handler |
void |
keyTyped(java.awt.event.KeyEvent e)
detect key typed and send to application event handler |
void |
requestFocus()
used only in Internal Views to get focus in view for key events (called automatically when the mouse enters the (Acc)IView) |
void |
setLocation(int x,
int y)
set the window location |
void |
setResizable(boolean b)
can the window be resized or not |
void |
setSize(int x,
int y)
set the window size |
void |
setTitle(java.lang.String t)
set the window title |
void |
setVisible(boolean b)
Shows or hides this view |
void |
toBack()
Sends this window to the back. |
void |
toFront()
Brings this window to the front. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
frame
javax.swing.JFrame frame
isFullScreen
boolean isFullScreen
oldDM
java.awt.DisplayMode oldDM
origDim
java.awt.Dimension origDim
jmb
javax.swing.JMenuBar jmb
| Constructor Detail |
AccEView
protected AccEView(java.util.Vector v, java.lang.String t, int panelWidth, int panelHeight, boolean bar, boolean visible, VirtualSpaceManager vsm)
AccEView
public AccEView(java.util.Vector v, java.lang.String t, int panelWidth, int panelHeight, boolean bar, boolean visible, VirtualSpaceManager vsm, javax.swing.JMenuBar mnb)
| Method Detail |
getFrame
public java.awt.Container getFrame()
isSelected
public boolean isSelected()
- tells whether this frame is selected or not - not used
- Specified by:
isSelectedin classView
setLocation
public void setLocation(int x,
int y)
- set the window location
- Specified by:
setLocationin classView
setTitle
public void setTitle(java.lang.String t)
setSize
public void setSize(int x,
int y)
setResizable
public void setResizable(boolean b)
- can the window be resized or not
- Specified by:
setResizablein classView
setVisible
public void setVisible(boolean b)
- Shows or hides this view
- Specified by:
setVisiblein classView
toFront
public void toFront()
- Brings this window to the front. Places this window at the top of the stacking order and shows it in front of any other windows
toBack
public void toBack()
- Sends this window to the back. Places this window at the bottom of the stacking order and makes the corresponding adjustment to other visible windows
destroyView
public void destroyView()
- destroy this view
- Specified by:
destroyViewin classView
goFullScreen
public void goFullScreen(boolean b,
java.awt.DisplayMode dm)
- Go in full screen mode and display this View's content
- Specified by:
goFullScreenin classView
isFullScreen
public boolean isFullScreen()
- Specified by:
isFullScreenin classView
keyTyped
public void keyTyped(java.awt.event.KeyEvent e)
- detect key typed and send to application event handler
- Specified by:
keyTypedin interfacejava.awt.event.KeyListener
keyPressed
public void keyPressed(java.awt.event.KeyEvent e)
- detect key pressed and send to application event handler
- Specified by:
keyPressedin interfacejava.awt.event.KeyListener
keyReleased
public void keyReleased(java.awt.event.KeyEvent e)
- detect key released and send to application event handler
- Specified by:
keyReleasedin interfacejava.awt.event.KeyListener
requestFocus
public void requestFocus()
- used only in Internal Views to get focus in view for key events (called automatically when the mouse enters the (Acc)IView)
- Specified by:
requestFocusin classView
|
|||||||||
| Home >> All >> com >> xerox >> VTM >> [ engine overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC