APIdia Launch Partner
Top Fields Constructors Methods
com.sun.java.swing.action

public abstract Class DelegateAction

extends AbstractAction
Class Inheritance
Known Direct Subclasses
com.sun.java.swing.action.ExitAction, com.sun.java.swing.action.FinishAction, com.sun.java.swing.action.HelpAction, com.sun.java.swing.action.NewAction, com.sun.java.swing.action.NextAction, com.sun.java.swing.action.OkAction, com.sun.java.swing.action.OpenAction, com.sun.java.swing.action.SaveAction, com.sun.java.swing.action.SaveAsAction, com.sun.java.swing.action.StateChangeAction, sun.jvm.hotspot.ui.action.FindAction, sun.jvm.hotspot.ui.action.FindClassesAction, sun.jvm.hotspot.ui.action.FindCrashesAction, sun.jvm.hotspot.ui.action.InspectAction, sun.jvm.hotspot.ui.action.JavaStackTraceAction, sun.jvm.hotspot.ui.action.MemoryAction, sun.jvm.hotspot.ui.action.ShowAction, com.sun.java.swing.action.AboutAction, com.sun.java.swing.action.ApplyAction, com.sun.java.swing.action.BackAction, com.sun.java.swing.action.CancelAction
Imports
java.awt.event.ActionEvent, .ActionListener, javax.swing.AbstractAction, .Icon

Field Summary

Modifier and TypeField and Description
private ActionListener
Inherited from javax.swing.AbstractAction:
changeSupportenabled

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
actionPerformed(ActionEvent evt)

Implements java.awt.event.ActionListener.actionPerformed.

Invoked when an action occurs.

public void
public ActionListener[]
public void
Inherited from javax.swing.AbstractAction:
addPropertyChangeListenerclonefirePropertyChangegetKeysgetPropertyChangeListenersgetValueisEnabledputValueremovePropertyChangeListenersetEnabled

Field Detail

listenerback to summary
private ActionListener listener

Constructor Detail

DelegateActionback to summary
public DelegateAction(String name, Icon icon)

Method Detail

actionPerformedback to summary
public void actionPerformed(ActionEvent evt)

Implements java.awt.event.ActionListener.actionPerformed.

Doc from java.awt.event.ActionListener.actionPerformed.

Invoked when an action occurs.

addActionListenerback to summary
public void addActionListener(ActionListener listener)
getActionListenersback to summary
public ActionListener[] getActionListeners()
removeActionListenerback to summary
public void removeActionListener(ActionListener listener)