JavaTM 2 Platform
Standard Edition

Uses of Interface
javax.swing.Action

Packages that use Action
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look-and-feel. 
javax.swing.plaf.metal Provides user interface objects built according to the ``metal'' look-and-feel. 
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
javax.swing.text.html Provides the class HTMLEditorKit and supporting classes for creating HTML text editors. 
 

Uses of Action in javax.swing
 

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

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

Methods in javax.swing with parameters of type Action
 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.
 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.
 

Uses of Action in javax.swing.plaf.basic
 

Classes in javax.swing.plaf.basic that implement Action
protected  class BasicDesktopPaneUI.CloseAction
           
protected  class BasicDesktopPaneUI.MaximizeAction
           
protected  class BasicDesktopPaneUI.MinimizeAction
           
protected  class BasicDesktopPaneUI.NavigateAction
           
protected  class BasicFileChooserUI.ApproveSelectionAction
          Responds to an Open or Save request
protected  class BasicFileChooserUI.CancelSelectionAction
          Responds to a cancel request.
protected  class BasicFileChooserUI.ChangeToParentDirectoryAction
           
protected  class BasicFileChooserUI.GoHomeAction
          Acts on the "home" key event or equivalent event.
protected  class BasicFileChooserUI.NewFolderAction
          Creates a new folder.
protected  class BasicFileChooserUI.UpdateAction
          Rescans the files in the current directory
 class BasicInternalFrameTitlePane.CloseAction
          This inner class is marked "public" due to a compiler bug.
 class BasicInternalFrameTitlePane.IconifyAction
          This inner class is marked "public" due to a compiler bug.
 class BasicInternalFrameTitlePane.MaximizeAction
          This inner class is marked "public" due to a compiler bug.
 class BasicInternalFrameTitlePane.MoveAction
          This inner class is marked "public" due to a compiler bug.
 class BasicInternalFrameTitlePane.RestoreAction
          This inner class is marked "public" due to a compiler bug.
 class BasicInternalFrameTitlePane.SizeAction
          This inner class is marked "public" due to a compiler bug.
 class BasicSliderUI.ActionScroller
          Defines the action to take when scrolled.
 class BasicTreeUI.TreeCancelEditingAction
          ActionListener that invokes cancelEditing when action performed.
 class BasicTreeUI.TreeHomeAction
          TreeHomeAction is used to handle end/home actions.
 class BasicTreeUI.TreeIncrementAction
          TreeIncrementAction is used to handle up/down actions.
 class BasicTreeUI.TreePageAction
          TreePageAction handles page up and page down events.
 class BasicTreeUI.TreeToggleAction
          For the first selected row expandedness will be toggled.
 class BasicTreeUI.TreeTraverseAction
          TreeTraverseAction is the action used for left/right keys.
 

Fields in javax.swing.plaf.basic declared as Action
protected  Action BasicInternalFrameTitlePane.closeAction
           
protected  Action BasicInternalFrameTitlePane.maximizeAction
           
protected  Action BasicInternalFrameTitlePane.iconifyAction
           
protected  Action BasicInternalFrameTitlePane.restoreAction
           
protected  Action BasicInternalFrameTitlePane.moveAction
           
protected  Action BasicInternalFrameTitlePane.sizeAction
           
protected  Action BasicTreeUI.KeyHandler.repeatKeyAction
          Key code that is being generated for.
 

Methods in javax.swing.plaf.basic that return Action
 Action BasicFileChooserUI.getNewFolderAction()
           
 Action BasicFileChooserUI.getGoHomeAction()
           
 Action BasicFileChooserUI.getChangeToParentDirectoryAction()
           
 Action BasicFileChooserUI.getApproveSelectionAction()
           
 Action BasicFileChooserUI.getCancelSelectionAction()
           
 Action BasicFileChooserUI.getUpdateAction()
           
 

Uses of Action in javax.swing.plaf.metal
 

Classes in javax.swing.plaf.metal that implement Action
protected  class MetalFileChooserUI.DirectoryComboBoxAction
          Acts when DirectoryComboBox has changed the selected item.
 

Uses of Action in javax.swing.text
 

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

Methods in javax.swing.text that return Action
 Action[] JTextComponent.getActions()
          Fetches the command list for the editor.
 Action Keymap.getDefaultAction()
          Fetches the default action to fire if a key is typed (i.e.
 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.
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.
 Action[] StyledEditorKit.getActions()
          Fetches the command list for the editor.
static Action[] TextAction.augmentList(Action[] list1, Action[] list2)
          Takes one list of commands and augments it with another list of commands.
 

Methods in javax.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.
 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.
static Action[] TextAction.augmentList(Action[] list1, Action[] list2)
          Takes one list of commands and augments it with another list of commands.
 

Uses of Action in javax.swing.text.html
 

Classes in javax.swing.text.html that implement Action
static class HTMLEditorKit.HTMLTextAction
          An abstract Action providing some convenience methods that may be useful in inserting HTML into an existing document.
static class HTMLEditorKit.InsertHTMLTextAction
          InsertHTMLTextAction can be used to insert an arbitrary string of HTML into an existing HTML document.
 

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


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.