public class PView extends View implements KeyListener
activeRepaintTimer, ANONYMOUS, mouse, name, OPENGL_VIEW, STD_VIEW| Modifier | Constructor and Description |
|---|---|
protected |
PView(String viewType,
Vector<Camera> v,
String t,
int w,
int h) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroyView()
Destroy this view.
|
Component |
getFrame()
Get the java.awt.Container for this view
|
boolean |
isSelected()
Always returns false as this is not a window.
|
void |
keyPressed(KeyEvent e) |
void |
keyReleased(KeyEvent e) |
void |
keyTyped(KeyEvent e) |
void |
setLocation(int x,
int y)
No effect.
|
void |
setResizable(boolean resizable)
No effect.
|
void |
setSize(int width,
int height)
No effect.
|
void |
setTitle(String t)
No effect.
|
void |
setVisible(boolean b)
No effect.
|
activate, centerOnGlyph, centerOnGlyph, centerOnGlyph, centerOnGlyph, centerOnRegion, centerOnRegion, close, deactivate, fromPanelToVSCoordinates, fromVSToPanelCoordinates, getActiveCamera, getActiveLayer, getAntialiasing, getBackgroundColor, getCameraNumber, getCursor, getDetectMultiFills, getGlobalView, getGlobalView, getGlobalView, getGlobalView, getGraphicsContext, getImage, getJava2DPainter, getLayerCount, getLayerVisibility, getLens, getName, getNotifyCursorMoved, getPanel, getPanelFactory, getPanelSize, getRefreshRate, getViewType, getVisibilityPadding, getVisibleRegion, getVisibleRegion, getVisibleRegionHeight, getVisibleRegionWidth, isBlank, rasterize, rasterize, registerViewPanelFactory, removeRepaintListener, repaint, repaint, setActiveLayer, setActiveLayer, setActiveRepaintInterval, setAntialiasing, setBackgroundColor, setBlank, setCursorIcon, setCursorIcon, setDetectMultiFills, setJava2DPainter, setLayerVisibility, setLens, setListener, setListener, setListener, setNotifyCursorMoved, setRefreshRate, setStatusBarFont, setStatusBarForeground, setStatusBarText, setVisibilityPadding, updateFontprotected PView(String viewType, Vector<Camera> v, String t, int w, int h)
viewType - one of View.STD_VIEW, View.OPENGL_VIEW - determines the type of view and acceleration method. The use of OPENGL_VIEW requires the following Java property: -Dsun.java2d.opengl=truev - list of camerast - view name/titlew - width of window in pixelsh - height of window in pixelspublic Component getFrame()
public boolean isSelected()
isSelected in class Viewpublic void setLocation(int x,
int y)
setLocation in class Viewx - the x-coordinate of the new location's top-left corner in the parent's coordinate spacey - the y-coordinate of the new location's top-left corner in the parent's coordinate spacepublic void setTitle(String t)
public void setSize(int width,
int height)
public void setResizable(boolean resizable)
setResizable in class Viewresizable - - true if this frame is resizable; false otherwise.public void setVisible(boolean b)
setVisible in class Viewb - true to show, false to hide.public void destroyView()
ViewdestroyView in class Viewpublic void keyTyped(KeyEvent e)
keyTyped in interface KeyListenerpublic void keyPressed(KeyEvent e)
keyPressed in interface KeyListenerpublic void keyReleased(KeyEvent e)
keyReleased in interface KeyListenerCopyright © 2000-2002 Xerox Corporation. All Rights Reserved
Copyright © 2003 World Wide Web Consortium. All Rights Reserved
Copyright © 2004-2015 INRIA. All Rights Reserved
Licensed under the GNU LGPL. For full terms see the file COPYING.