|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for a viewer to allow forwarding of keyboard events
to central event handler PvViewer.
Interface KeyListener is extended to allow viewer to receive function key and strg-key events to show and hide panels. The original F1 key is received by the display and has forward it. The F2 key is received by the control window when pressed right after the F1 key since input focus passes over to control window once it opens. If display receives focus again then F2 arrives here.
PvViewer,
PvViewerIf| Field Summary | |
static int |
ABOUT
|
static int |
ABOUT_APPLET
|
static int |
ADD_GEOMETRY
|
static int |
ADD_PROJECT
|
static int |
ANIMATION
|
static int |
AXIS
|
static int |
AXIS_X
|
static int |
AXIS_Y
|
static int |
AXIS_Z
|
static int |
CAMERA
|
static int |
CONFIG
|
static int |
CONSOLE
|
static int |
CONTROL
|
static int |
DISPLAY
|
static int |
EXPORT_BYU
|
static int |
EXPORT_EPS
|
static int |
EXPORT_FE
|
static int |
EXPORT_GIF
|
static int |
EXPORT_GIF_ANIM
|
static int |
EXPORT_HTML
|
static int |
EXPORT_JVD
|
static int |
EXPORT_JVX
|
static int |
EXPORT_JVX_SMALL
Deprecated. no longer supported. |
static int |
EXPORT_MGS
|
static int |
EXPORT_MPL
|
static int |
EXPORT_OBJ
|
static int |
EXPORT_OFF
|
static int |
EXPORT_PPM
|
static int |
EXPORT_PPM_ANIM
|
static int |
EXPORT_PS
|
static int |
EXPORT_STL
|
static int |
EXPORT_VRML
|
static int |
EXPORT_XML
|
static int |
HELP
|
static int |
IMPORT_DISK
|
static int |
IMPORT_JVD
|
static int |
IMPORT_VGP
|
static int |
INFO
|
static int |
LABEL
|
static int |
LICENSE
|
static int |
LIGHT
|
static int |
MATERIAL
|
static int |
MENU_FILE
File Menu for loading projects, data .... |
static int |
MENU_FILE_CLOSE
|
static int |
MENU_FILE_EXIT
|
static int |
MENU_FILE_EXPORT
|
static int |
MENU_FILE_EXPORT_BYU
|
static int |
MENU_FILE_EXPORT_FE
|
static int |
MENU_FILE_EXPORT_GIF
|
static int |
MENU_FILE_EXPORT_JVD
|
static int |
MENU_FILE_EXPORT_JVX
|
static int |
MENU_FILE_EXPORT_JVX_SMALL
Deprecated. no longer supported. |
static int |
MENU_FILE_EXPORT_MGS
|
static int |
MENU_FILE_EXPORT_MPL
|
static int |
MENU_FILE_EXPORT_OBJ
|
static int |
MENU_FILE_EXPORT_OFF
|
static int |
MENU_FILE_EXPORT_PPM
|
static int |
MENU_FILE_EXPORT_STL
|
static int |
MENU_FILE_EXPORT_VRML
|
static int |
MENU_FILE_IMPORT
|
static int |
MENU_FILE_IMPORT_DISK
|
static int |
MENU_FILE_IMPORT_JVD
|
static int |
MENU_FILE_IMPORT_SER
|
static int |
MENU_FILE_IMPORT_VGP
|
static int |
MENU_FILE_NEW
|
static int |
MENU_FILE_NEW_DISPLAY
|
static int |
MENU_FILE_NEW_GEOMETRY
|
static int |
MENU_FILE_NEW_PROJECT
|
static int |
MENU_FILE_PRINT
|
static int |
MENU_FILE_PRINT_EPS
|
static int |
MENU_FILE_PRINT_PS
|
static int |
MENU_FILE_SUBMIT
|
static int |
MENU_HELP
Menu with help information. |
static int |
MENU_HELP_ABOUT
Show 'About' dialog |
static int |
MENU_HELP_APPLET
Help on current applet. |
static int |
MENU_HELP_FONTS
Show system fonts. |
static int |
MENU_HELP_LICENSE
Show resource information. |
static int |
MENU_HELP_RESOURCE
Show resource information. |
static int |
MENU_HELP_SYSTEM
Help on system and PsConfig entries. |
static int |
MENU_HELP_VIEWER
Help on viewer. |
static int |
MENU_INSPECTOR
Menu with inspector panels. |
static int |
MENU_INSPECTOR_AXIS
|
static int |
MENU_INSPECTOR_AXIS_X
|
static int |
MENU_INSPECTOR_AXIS_Y
|
static int |
MENU_INSPECTOR_AXIS_Z
|
static int |
MENU_INSPECTOR_CAMERA
|
static int |
MENU_INSPECTOR_DISPLAY
|
static int |
MENU_INSPECTOR_GEOMETRY
|
static int |
MENU_INSPECTOR_GEOMETRY_CONFIG
|
static int |
MENU_INSPECTOR_GEOMETRY_INFO
|
static int |
MENU_INSPECTOR_GEOMETRY_LABEL
|
static int |
MENU_INSPECTOR_GEOMETRY_MATERIAL
|
static int |
MENU_INSPECTOR_GEOMETRY_TEXTURE
|
static int |
MENU_INSPECTOR_GEOMETRY_VECTOR
|
static int |
MENU_INSPECTOR_LIGHT
|
static int |
MENU_INSPECTOR_OBJECT
Deprecated. use MENU_INSPECTOR_GEOMETRY instead. |
static int |
MENU_INSPECTOR_OBJECT_CONFIG
Deprecated. use MENU_INSPECTOR_GEOMETRY_CONFIG instead. |
static int |
MENU_INSPECTOR_OBJECT_INFO
Deprecated. use MENU_INSPECTOR_GEOMETRY_INFO instead. |
static int |
MENU_INSPECTOR_OBJECT_MATERIAL
Deprecated. use MENU_INSPECTOR_GEOMETRY_MATERIAL instead. |
static int |
MENU_INSPECTOR_OBJECT_TEXTURE
Deprecated. use MENU_INSPECTOR_GEOMETRY_TEXTURE instead. |
static int |
MENU_INSPECTOR_PROJECT
|
static int |
MENU_METHOD
Menu with object methods. |
static int |
MENU_WINDOW
Menu with windows. |
static int |
MENU_WINDOW_ANIMATION
|
static int |
MENU_WINDOW_CONSOLE
|
static int |
MENU_WINDOW_NETWORK
|
static int |
NEW_GEOMETRY
|
static int |
NEW_PROJECT
|
static int |
OBJECT
|
static int |
PRINT
|
static int |
PROJECT
|
static int |
RESOURCE
|
static int |
RSRC
Deprecated. use RESOURCE. |
static int |
TEXTURE
|
static int |
VECTOR
|
| Method Summary | |
boolean |
addProject(java.lang.String category,
java.lang.String name,
java.lang.String className,
java.lang.String[] parmList)
Registers the name and class of a project in the viewer in given category. |
boolean |
export(int dialog,
java.lang.String fileName)
Export geometries of active display without opening a dialog. |
boolean |
export(int dialog,
java.lang.String fileName,
int width,
int height)
Export image file of currently active display with specified image size. |
| Methods inherited from interface java.awt.event.KeyListener |
keyPressed, keyReleased, keyTyped |
| Field Detail |
public static final int PROJECT
public static final int OBJECT
public static final int INFO
public static final int MATERIAL
public static final int TEXTURE
public static final int VECTOR
public static final int CONFIG
public static final int LABEL
public static final int LIGHT
public static final int AXIS
public static final int CAMERA
public static final int DISPLAY
public static final int AXIS_X
public static final int AXIS_Y
public static final int AXIS_Z
public static final int LICENSE
public static final int RESOURCE
public static final int RSRC
public static final int ABOUT
public static final int ABOUT_APPLET
public static final int ANIMATION
public static final int CONTROL
public static final int CONSOLE
public static final int HELP
public static final int NEW_PROJECT
public static final int ADD_PROJECT
public static final int NEW_GEOMETRY
public static final int ADD_GEOMETRY
public static final int IMPORT_VGP
public static final int IMPORT_DISK
public static final int IMPORT_JVD
public static final int EXPORT_BYU
public static final int EXPORT_FE
public static final int EXPORT_JVX
public static final int EXPORT_JVX_SMALL
public static final int EXPORT_MGS
public static final int EXPORT_MPL
public static final int EXPORT_OBJ
public static final int EXPORT_OFF
public static final int EXPORT_STL
public static final int EXPORT_VRML
public static final int EXPORT_GIF
public static final int EXPORT_GIF_ANIM
public static final int EXPORT_PPM
public static final int EXPORT_PPM_ANIM
public static final int EXPORT_XML
public static final int EXPORT_EPS
public static final int EXPORT_PS
public static final int EXPORT_JVD
public static final int EXPORT_HTML
public static final int PRINT
public static final int MENU_FILE
public static final int MENU_FILE_NEW
public static final int MENU_FILE_NEW_PROJECT
public static final int MENU_FILE_NEW_GEOMETRY
public static final int MENU_FILE_NEW_DISPLAY
public static final int MENU_FILE_IMPORT
public static final int MENU_FILE_IMPORT_VGP
public static final int MENU_FILE_IMPORT_DISK
public static final int MENU_FILE_IMPORT_JVD
public static final int MENU_FILE_IMPORT_SER
public static final int MENU_FILE_EXPORT
public static final int MENU_FILE_EXPORT_BYU
public static final int MENU_FILE_EXPORT_FE
public static final int MENU_FILE_EXPORT_JVX
public static final int MENU_FILE_EXPORT_JVX_SMALL
public static final int MENU_FILE_EXPORT_MGS
public static final int MENU_FILE_EXPORT_MPL
public static final int MENU_FILE_EXPORT_OBJ
public static final int MENU_FILE_EXPORT_OFF
public static final int MENU_FILE_EXPORT_STL
public static final int MENU_FILE_EXPORT_VRML
public static final int MENU_FILE_EXPORT_GIF
public static final int MENU_FILE_EXPORT_PPM
public static final int MENU_FILE_EXPORT_JVD
public static final int MENU_FILE_PRINT
public static final int MENU_FILE_PRINT_EPS
public static final int MENU_FILE_PRINT_PS
public static final int MENU_FILE_SUBMIT
public static final int MENU_FILE_CLOSE
public static final int MENU_FILE_EXIT
public static final int MENU_INSPECTOR
public static final int MENU_INSPECTOR_PROJECT
public static final int MENU_INSPECTOR_OBJECT
public static final int MENU_INSPECTOR_OBJECT_INFO
public static final int MENU_INSPECTOR_OBJECT_MATERIAL
public static final int MENU_INSPECTOR_OBJECT_TEXTURE
public static final int MENU_INSPECTOR_OBJECT_CONFIG
public static final int MENU_INSPECTOR_GEOMETRY
public static final int MENU_INSPECTOR_GEOMETRY_INFO
public static final int MENU_INSPECTOR_GEOMETRY_MATERIAL
public static final int MENU_INSPECTOR_GEOMETRY_TEXTURE
public static final int MENU_INSPECTOR_GEOMETRY_VECTOR
public static final int MENU_INSPECTOR_GEOMETRY_LABEL
public static final int MENU_INSPECTOR_GEOMETRY_CONFIG
public static final int MENU_INSPECTOR_LIGHT
public static final int MENU_INSPECTOR_AXIS
public static final int MENU_INSPECTOR_AXIS_X
public static final int MENU_INSPECTOR_AXIS_Y
public static final int MENU_INSPECTOR_AXIS_Z
public static final int MENU_INSPECTOR_CAMERA
public static final int MENU_INSPECTOR_DISPLAY
public static final int MENU_METHOD
public static final int MENU_WINDOW
public static final int MENU_WINDOW_ANIMATION
public static final int MENU_WINDOW_CONSOLE
public static final int MENU_WINDOW_NETWORK
public static final int MENU_HELP
public static final int MENU_HELP_VIEWER
public static final int MENU_HELP_SYSTEM
public static final int MENU_HELP_FONTS
public static final int MENU_HELP_RESOURCE
public static final int MENU_HELP_LICENSE
public static final int MENU_HELP_APPLET
public static final int MENU_HELP_ABOUT
| Method Detail |
public boolean addProject(java.lang.String category,
java.lang.String name,
java.lang.String className,
java.lang.String[] parmList)
category - Unique name of ctegory used to group projectsname - Unique name of project, used for identification and selectionclassName - Class name of project, used for creationparmList - List of parameters, may be null.PvViewerIf.addProject(String, String, String []),
PvViewerIf.selectProject(String),
PvViewer.addProject(jv.project.PjProject)
public boolean export(int dialog,
java.lang.String fileName)
PsViewerIf.
Method should be invoked only on instance of jv.viewer.PvViewer. This interface method is only for declarational purpose.
dialog - ID of dialog determining the file formatfileName - Full file name
public boolean export(int dialog,
java.lang.String fileName,
int width,
int height)
dialog - name of dialog to be shownfileName - full file namewidth - width of imageheight - height of image, or -1 to keep aspect ratio.
|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||