public interface PsViewerIf
extends java.awt.event.KeyListener
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
Modifier and Type | Field and Description |
---|---|
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 |
BOUNDARY |
static int |
CAMERA |
static int |
CONFIG |
static int |
CONSOLE |
static int |
CONTROL |
static int |
DISPLAY |
static int |
EXPORT_BUG |
static int |
EXPORT_BYU |
static int |
EXPORT_DXF |
static int |
EXPORT_EPS |
static int |
EXPORT_FE |
static int |
EXPORT_GIF |
static int |
EXPORT_GIF_ANIM |
static int |
EXPORT_HTML |
static int |
EXPORT_JPG |
static int |
EXPORT_JPG_ANIM |
static int |
EXPORT_JVD |
static int |
EXPORT_JVX |
static int |
EXPORT_JVX_SMALL
Deprecated.
no longer supported.
|
static int |
EXPORT_JVZ |
static int |
EXPORT_MA |
static int |
EXPORT_MGS |
static int |
EXPORT_MPL |
static int |
EXPORT_MULTIPLE |
static int |
EXPORT_OBJ |
static int |
EXPORT_OFF |
static int |
EXPORT_PDF |
static int |
EXPORT_PLY |
static int |
EXPORT_PNG |
static int |
EXPORT_POV |
static int |
EXPORT_PPM |
static int |
EXPORT_PPM_ANIM |
static int |
EXPORT_PS |
static int |
EXPORT_STL |
static int |
EXPORT_U3D |
static int |
EXPORT_VAL
Deprecated.
since 3.97.010, use EXPORT_VALIDATE instead.
|
static int |
EXPORT_VALIDATE |
static int |
EXPORT_VRML
Deprecated.
since 3.95.012, use EXPORT_WRL instead.
|
static int |
EXPORT_WRL |
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_DISPLAY_ADD_ELEMENT
Major mode in display to add new elements to geometry.
|
static int |
MENU_DISPLAY_ADD_VERTEX
Major mode in display to add new points of geometries.
|
static int |
MENU_DISPLAY_DELETE_GEOMETRY
Major mode in display to delete items or geometries.
|
static int |
MENU_DISPLAY_DISPLAY_PICK
Major mode in display to select initial points in display without picking geometries.
|
static int |
MENU_DISPLAY_DRAWING
Major mode allows to draw sketches in the display which are then converted to strokes.
|
static int |
MENU_DISPLAY_INITIAL_PICK
Major mode in display to select initial points on geometries.
|
static int |
MENU_DISPLAY_MARK_ELEMENT
Major mode in display to mark a set of elements on geometries.
|
static int |
MENU_DISPLAY_MARK_VERTEX
Major mode in display to mark a set of points on geometries.
|
static int |
MENU_DISPLAY_ORBIT
Major mode in display to rotate geometry.
|
static int |
MENU_DISPLAY_PICK_VERTEX
Major mode in display to pick and modify vertices.
|
static int |
MENU_DISPLAY_SCALE
Major mode in display to scale geometry by zooming.
|
static int |
MENU_DISPLAY_SCALE_RECT
Major mode in display to scale geometry by zooming into a specified rectangle.
|
static int |
MENU_DISPLAY_TRANSLATE
Major mode in display to (x,y)-translate geometry.
|
static int |
MENU_DISPLAY_TRANSLATE_Z
Major mode in display to z-translate geometry.
|
static int |
MENU_DISPLAY_UNMARK_ELEMENT
Major mode in display to mark a set of elements on geometries.
|
static int |
MENU_DISPLAY_UNMARK_VERTEX
Major mode in display to unmark a set of points on surfaces.
|
static int |
MENU_DISPLAY_VERTICAL
Major mode in display to rotate geometry around vertical z-axis.
|
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_JPG |
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_MA |
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_PDF |
static int |
MENU_FILE_EXPORT_PLY |
static int |
MENU_FILE_EXPORT_POV |
static int |
MENU_FILE_EXPORT_PPM |
static int |
MENU_FILE_EXPORT_STL |
static int |
MENU_FILE_EXPORT_U3D |
static int |
MENU_FILE_EXPORT_VRML
Deprecated.
since 3.95.012, use MENU_FILE_EXPORT_WRL instead.
|
static int |
MENU_FILE_EXPORT_WRL |
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_BOUNDARY |
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_SEPARATOR
Separator line in menu.
|
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 |
Modifier and Type | Method and Description |
---|---|
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.
|
static final int PROJECT
static final int OBJECT
static final int INFO
static final int MATERIAL
static final int BOUNDARY
static final int TEXTURE
static final int VECTOR
static final int CONFIG
static final int LABEL
static final int LIGHT
static final int AXIS
static final int CAMERA
static final int DISPLAY
static final int AXIS_X
static final int AXIS_Y
static final int AXIS_Z
static final int LICENSE
static final int RESOURCE
static final int RSRC
static final int ABOUT
static final int ABOUT_APPLET
static final int ANIMATION
static final int CONTROL
static final int CONSOLE
static final int HELP
static final int NEW_PROJECT
static final int ADD_PROJECT
static final int NEW_GEOMETRY
static final int ADD_GEOMETRY
static final int IMPORT_VGP
static final int IMPORT_DISK
static final int IMPORT_JVD
static final int EXPORT_BYU
static final int EXPORT_DXF
static final int EXPORT_FE
static final int EXPORT_JVX
static final int EXPORT_JVZ
static final int EXPORT_JVX_SMALL
static final int EXPORT_MA
static final int EXPORT_MGS
static final int EXPORT_MPL
static final int EXPORT_OBJ
static final int EXPORT_OFF
static final int EXPORT_POV
static final int EXPORT_PLY
static final int EXPORT_STL
static final int EXPORT_U3D
static final int EXPORT_WRL
static final int EXPORT_VRML
static final int EXPORT_JVD
static final int EXPORT_GIF
static final int EXPORT_GIF_ANIM
static final int EXPORT_JPG
static final int EXPORT_JPG_ANIM
static final int EXPORT_PPM
static final int EXPORT_PPM_ANIM
static final int EXPORT_PNG
static final int EXPORT_XML
static final int EXPORT_EPS
static final int EXPORT_PS
static final int EXPORT_PDF
static final int EXPORT_HTML
static final int EXPORT_VALIDATE
static final int EXPORT_VAL
static final int EXPORT_BUG
static final int EXPORT_MULTIPLE
static final int PRINT
static final int MENU_SEPARATOR
static final int MENU_FILE
static final int MENU_FILE_NEW
static final int MENU_FILE_NEW_PROJECT
static final int MENU_FILE_NEW_GEOMETRY
static final int MENU_FILE_NEW_DISPLAY
static final int MENU_FILE_IMPORT
static final int MENU_FILE_IMPORT_VGP
static final int MENU_FILE_IMPORT_DISK
static final int MENU_FILE_IMPORT_JVD
static final int MENU_FILE_IMPORT_SER
static final int MENU_FILE_EXPORT
static final int MENU_FILE_EXPORT_BYU
static final int MENU_FILE_EXPORT_FE
static final int MENU_FILE_EXPORT_JVX
static final int MENU_FILE_EXPORT_JVX_SMALL
static final int MENU_FILE_EXPORT_MA
static final int MENU_FILE_EXPORT_MGS
static final int MENU_FILE_EXPORT_MPL
static final int MENU_FILE_EXPORT_OBJ
static final int MENU_FILE_EXPORT_OFF
static final int MENU_FILE_EXPORT_PDF
static final int MENU_FILE_EXPORT_PLY
static final int MENU_FILE_EXPORT_POV
static final int MENU_FILE_EXPORT_STL
static final int MENU_FILE_EXPORT_U3D
static final int MENU_FILE_EXPORT_WRL
static final int MENU_FILE_EXPORT_VRML
static final int MENU_FILE_EXPORT_GIF
static final int MENU_FILE_EXPORT_JPG
static final int MENU_FILE_EXPORT_PPM
static final int MENU_FILE_EXPORT_JVD
static final int MENU_FILE_PRINT
static final int MENU_FILE_PRINT_EPS
static final int MENU_FILE_PRINT_PS
static final int MENU_FILE_SUBMIT
static final int MENU_FILE_CLOSE
static final int MENU_FILE_EXIT
static final int MENU_INSPECTOR
static final int MENU_INSPECTOR_PROJECT
static final int MENU_INSPECTOR_OBJECT
static final int MENU_INSPECTOR_OBJECT_INFO
static final int MENU_INSPECTOR_OBJECT_MATERIAL
static final int MENU_INSPECTOR_OBJECT_TEXTURE
static final int MENU_INSPECTOR_OBJECT_CONFIG
static final int MENU_INSPECTOR_GEOMETRY
static final int MENU_INSPECTOR_GEOMETRY_INFO
static final int MENU_INSPECTOR_GEOMETRY_MATERIAL
static final int MENU_INSPECTOR_GEOMETRY_BOUNDARY
static final int MENU_INSPECTOR_GEOMETRY_TEXTURE
static final int MENU_INSPECTOR_GEOMETRY_VECTOR
static final int MENU_INSPECTOR_GEOMETRY_LABEL
static final int MENU_INSPECTOR_GEOMETRY_CONFIG
static final int MENU_INSPECTOR_LIGHT
static final int MENU_INSPECTOR_AXIS
static final int MENU_INSPECTOR_AXIS_X
static final int MENU_INSPECTOR_AXIS_Y
static final int MENU_INSPECTOR_AXIS_Z
static final int MENU_INSPECTOR_CAMERA
static final int MENU_INSPECTOR_DISPLAY
static final int MENU_METHOD
static final int MENU_WINDOW
static final int MENU_WINDOW_ANIMATION
static final int MENU_WINDOW_CONSOLE
static final int MENU_WINDOW_NETWORK
static final int MENU_HELP
static final int MENU_HELP_VIEWER
static final int MENU_HELP_SYSTEM
static final int MENU_HELP_FONTS
static final int MENU_HELP_RESOURCE
static final int MENU_HELP_LICENSE
static final int MENU_HELP_APPLET
static final int MENU_HELP_ABOUT
static final int MENU_DISPLAY_ORBIT
static final int MENU_DISPLAY_VERTICAL
static final int MENU_DISPLAY_SCALE
static final int MENU_DISPLAY_SCALE_RECT
static final int MENU_DISPLAY_TRANSLATE
static final int MENU_DISPLAY_TRANSLATE_Z
static final int MENU_DISPLAY_PICK_VERTEX
static final int MENU_DISPLAY_INITIAL_PICK
static final int MENU_DISPLAY_DISPLAY_PICK
static final int MENU_DISPLAY_MARK_VERTEX
static final int MENU_DISPLAY_UNMARK_VERTEX
static final int MENU_DISPLAY_MARK_ELEMENT
static final int MENU_DISPLAY_UNMARK_ELEMENT
static final int MENU_DISPLAY_ADD_VERTEX
static final int MENU_DISPLAY_ADD_ELEMENT
static final int MENU_DISPLAY_DELETE_GEOMETRY
static final int MENU_DISPLAY_DRAWING
boolean addProject(java.lang.String category, java.lang.String name, java.lang.String className, java.lang.String[] parmList)
category
- Unique name of category 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)
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 declaration.
dialog
- ID of dialog determining the file formatfileName
- Full file nameboolean 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."