Java Platform 1.2
Beta 4

Uses of Interface
com.sun.java.swing.Action

Packages that use Action
com.sun.java.swing Provides a set of "lightweight" (all-Java
com.sun.java.swing.text Provides classes and interfaces that deal with editable and noneditable text components.  
com.sun.java.swing.text.html Provides the class (HTMLEditorKit) and supporting classes for creating HTML text editors.  
 

Uses of Action in com.sun.java.swing
 

Classes in com.sun.java.swing that implement Action
  AbstractAction
          This class provides default implementations for the JFC Action interface.
 

Methods in com.sun.java.swing that return Action
 Action[] JTextField.getActions()
          Fetches the command list for the editor.
 

Methods in com.sun.java.swing with parameters of type Action
 JMenuItem JMenu.add(Action a)
          Creates a new menuitem attached to the specified Action object and appends it to the end of this menu.
 JMenuItem JMenu.insert(Action a, int pos)
          Insert a new menuitem attached to the specified Action object at a given position.
 JButton JToolBar.add(Action a)
          Add a new JButton which dispatches the action.
 JMenuItem JPopupMenu.add(Action a)
          Append a new menuitem to the end of the menu which dispatches the specified Action object.
 void JPopupMenu.insert(Action a, int index)
          Inserts a menu item for the specified Action object at a given position.
 

Uses of Action in com.sun.java.swing.text
 

Classes in com.sun.java.swing.text that implement Action
static  DefaultEditorKit.BeepAction
          Creates a beep.
static  DefaultEditorKit.CopyAction
          Coies the selected region and place its contents into the system clipboard.
static  DefaultEditorKit.CutAction
          Cuts the selected region and place its contents into the system clipboard.
static  DefaultEditorKit.DefaultKeyTypedAction
          The action that is executed by default if a key typed event is received and there is no keymap entry.
static  DefaultEditorKit.InsertBreakAction
          Places a line/paragraph break into the document.
static  DefaultEditorKit.InsertContentAction
          Places content into the associated document.
static  DefaultEditorKit.InsertTabAction
          Places a tab character into the document.
static  DefaultEditorKit.PasteAction
          Pastes the contents of the system clipboard into the selected region, or before the caret if nothing is selected.
static  StyledEditorKit.AlignmentAction
          An action to set paragraph alignment.
static  StyledEditorKit.BoldAction
          An action to toggle the bold attribute.
static  StyledEditorKit.FontFamilyAction
          An action to set the font family in the associated JEditorPane.
static  StyledEditorKit.FontSizeAction
          An action to set the font size in the associated JEditorPane.
static  StyledEditorKit.ForegroundAction
          An action to set the foreground color in the focused JEditorPane by calling its setForeground method.
static  StyledEditorKit.ItalicAction
          An action to toggle the italic attribute.
static  StyledEditorKit.StyledTextAction
          An action that assumes it's being fired on a JEditorPane with a StyledEditorKit (or subclass) installed.
static  StyledEditorKit.UnderlineAction
          An action to toggle the underline attribute.
  TextAction
          An Action implementation useful for key bindings that are shared across a number of different text components.
 

Methods in com.sun.java.swing.text that return Action
 Action[] JTextComponent.getActions()
          Fetches the command list for the editor.
abstract  Action[] EditorKit.getActions()
          Fetches the set of commands that can be used on a text component that is using a model and view produced by this kit.
 Action[] DefaultEditorKit.getActions()
          Fetches the set of commands that can be used on a text component that is using a model and view produced by this kit.
static Action[] TextAction.augmentList(Action[] list1, Action[] list2)
          Takes one list of commands and augments it with another list of commands.
 Action Keymap.getDefaultAction()
          Fetches the default action to fire if a key is typed (i.e. a KEY_TYPED KeyEvent is received) and there is no binding for it.
 Action Keymap.getAction(KeyStroke key)
          Fetches the action appropriate for the given symbolic event sequence.
 Action[] Keymap.getBoundActions()
          Fetches all of the actions defined in this keymap.
 Action[] StyledEditorKit.getActions()
          Fetches the command list for the editor.
 

Methods in com.sun.java.swing.text with parameters of type Action
static void JTextComponent.loadKeymap(Keymap map, JTextComponent.KeyBinding[] bindings, Action[] actions)
           Loads a keymap with a bunch of bindings.
static Action[] TextAction.augmentList(Action[] list1, Action[] list2)
          Takes one list of commands and augments it with another list of commands.
 void Keymap.setDefaultAction(Action a)
          Set the default action to fire if a key is typed.
 KeyStroke[] Keymap.getKeyStrokesForAction(Action a)
          Fetches the keystrokes that will result in the given action.
 void Keymap.addActionForKeyStroke(KeyStroke key, Action a)
          Adds a binding to the keymap.
 

Uses of Action in com.sun.java.swing.text.html
 

Methods in com.sun.java.swing.text.html that return Action
 Action[] HTMLEditorKit.getActions()
          Fetches the command list for the editor.
 


Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.