|
JavaView® v2.00.008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | 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 |
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_JVX
|
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_VRML
|
static int |
EXPORT_XML
|
static int |
HELP
|
static int |
IMPORT_DISK
|
static int |
IMPORT_VGP
|
static int |
INFO
|
static int |
MATERIAL
|
static int |
MENU_FILE
File Menu for loading projects, data .... |
static int |
MENU_FILE_ADD
|
static int |
MENU_FILE_ADD_GEOMETRY
|
static int |
MENU_FILE_ADD_PROJECT
|
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_JVX
|
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_VRML
|
static int |
MENU_FILE_IMPORT
|
static int |
MENU_FILE_IMPORT_DISK
|
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_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_RSRC
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_CAMERA
|
static int |
MENU_INSPECTOR_DISPLAY
|
static int |
MENU_INSPECTOR_OBJECT
|
static int |
MENU_INSPECTOR_OBJECT_CONFIG
|
static int |
MENU_INSPECTOR_OBJECT_INFO
|
static int |
MENU_INSPECTOR_OBJECT_MATERIAL
|
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 |
PROJECT
|
static int |
RSRC
|
| 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 aDialog,
java.lang.String fileName)
Export geometries of active display without opening a dialog. |
boolean |
export(int aDialog,
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 CONFIG
public static final int CAMERA
public static final int DISPLAY
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 EXPORT_BYU
public static final int EXPORT_FE
public static final int EXPORT_JVX
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_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 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_ADD
public static final int MENU_FILE_ADD_PROJECT
public static final int MENU_FILE_ADD_GEOMETRY
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_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_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_VRML
public static final int MENU_FILE_EXPORT_GIF
public static final int MENU_FILE_EXPORT_PPM
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_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_CONFIG
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_RSRC
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.addProject(PjProject),
PvViewerIf.selectProject(String)
public boolean export(int aDialog,
java.lang.String fileName)
PsViewerIf.
Method should be invoked only on instance of jv.viewer.PvViewer. This interface method is only for declarational purpose.
aDialog - ID of dialog determining the file formatString - Full file name
public boolean export(int aDialog,
java.lang.String fileName,
int width,
int height)
int - Name of dialog to be shownString - Full file namewidth - width of imageheight - height of image, or -1 to keep aspect ratio.
|
JavaView® v2.00.008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||