jfig.gui
Class KeyHandler
java.lang.Object
jfig.gui.KeyHandler
- public class KeyHandler
- extends java.lang.Object
handle key shortcuts for the jfig editor.
KeyHandler - concentrates all 'one letter' abbreviations for the
jfig editor commands.
10.07.01:
To support xfig-style META-key and CTRL-key combinations, we use
an ugly hack
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
versionString
static java.lang.String versionString
debug
boolean debug
_META
static final int _META
- See Also:
- Constant Field Values
_CTRL
static final int _CTRL
- See Also:
- Constant Field Values
_ALT
static final int _ALT
- See Also:
- Constant Field Values
editor
FigBasicEditor editor
CreateCompoundChar
int CreateCompoundChar
BreakCompoundChar
int BreakCompoundChar
ScaleObjectChar
int ScaleObjectChar
CreateArcChar
int CreateArcChar
CreateOpenBezierChar
int CreateOpenBezierChar
CreateClosedBezierChar
int CreateClosedBezierChar
CopyObjectChar
int CopyObjectChar
CreateCircleChar
int CreateCircleChar
DeleteObjectChar
int DeleteObjectChar
EditObjectChar
int EditObjectChar
CreateEllipseChar
int CreateEllipseChar
ZoomFitChar
int ZoomFitChar
ToggleShowGridChar
int ToggleShowGridChar
InsertPointChar
int InsertPointChar
CreateImageChar
int CreateImageChar
MoveObjectChar
int MoveObjectChar
NextCachedAttributesChar
int NextCachedAttributesChar
SaveAttributesToCacheChar
int SaveAttributesToCacheChar
OpenCompoundChar
int OpenCompoundChar
MovePointChar
int MovePointChar
CreatePolylineChar
int CreatePolylineChar
CreatePolygonChar
int CreatePolygonChar
CreateRectangleChar
int CreateRectangleChar
CreateOpenSplineChar
int CreateOpenSplineChar
CreateClosedSplineChar
int CreateClosedSplineChar
CreateTextChar
int CreateTextChar
UpdateObjectChar
int UpdateObjectChar
CutPointChar
int CutPointChar
MirrorXChar
int MirrorXChar
MirrorYChar
int MirrorYChar
ZoomOutChar
int ZoomOutChar
ZoomInChar
int ZoomInChar
ToggleShowTeXStringsChar
int ToggleShowTeXStringsChar
KeyHandler
public KeyHandler(FigBasicEditor editor)
setup
public int setup(java.lang.String name,
java.lang.String c)
setupShortcutKeys
public void setupShortcutKeys()
keyPressed
public void keyPressed(java.awt.event.KeyEvent evt)
message
public void message(java.lang.String msg)
toString
public java.lang.String toString()