artofillusion.keystroke
Class KeystrokeEditor

java.lang.Object
  extended by buoy.event.EventSource
      extended by buoy.widget.Widget
          extended by buoy.widget.WidgetContainer
              extended by buoy.widget.WindowWidget
                  extended by buoy.widget.BDialog
                      extended by artofillusion.keystroke.KeystrokeEditor

public class KeystrokeEditor
extends buoy.widget.BDialog

This class presents a user interface for editing a single KeystrokeRecord. To use it, invoke the static editKeystroke() method.


Method Summary
static KeystrokeRecord showEditorDialog(KeystrokeRecord record, buoy.widget.WindowWidget parent)
          Display a dialog for editing a KeystrokeRecord.
 
Methods inherited from class buoy.widget.BDialog
getChildCount, getChildren, getComponent, getMenuBar, getTitle, isModal, isResizable, pack, remove, removeAll, setMenuBar, setModal, setResizable, setTitle
 
Methods inherited from class buoy.widget.WindowWidget
dispose, getContent, getDefaultButton, isVisible, layoutChildren, setBounds, setContent, setDefaultButton, setVisible, toBack, toFront
 
Methods inherited from class buoy.widget.WidgetContainer
isOpaque, setOpaque
 
Methods inherited from class buoy.widget.Widget
addEventLink, dispatchEvent, getBackground, getBounds, getCursor, getFont, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, hasFocus, isEnabled, isFocusable, repaint, requestFocus, setBackground, setCursor, setEnabled, setFocusable, setFont, setName
 
Methods inherited from class buoy.event.EventSource
addEventLink, addEventLink, removeEventLink
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

showEditorDialog

public static KeystrokeRecord showEditorDialog(KeystrokeRecord record,
                                               buoy.widget.WindowWidget parent)
Display a dialog for editing a KeystrokeRecord.

Parameters:
record - the record to be edited
parent - the parent window
Returns:
a new KeystrokeRecord representing the edited keystroke, or null if the user clicked Cancel.


Copyright © 1999-2008 by Peter Eastman.