javax.swing.plaf.basic

Class BasicDesktopPaneUI.CloseAction

protected class BasicDesktopPaneUI.CloseAction extends AbstractAction

This helper class is used to handle key events that cause JInternalFrames to be closed.
Method Summary
voidactionPerformed(ActionEvent e)
This method is called when the action is performed.
booleanisEnabled()
This method returns whether the action is enabled.

Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
This method is called when the action is performed.

Parameters: e The ActionEvent.

isEnabled

public boolean isEnabled()
This method returns whether the action is enabled.

Returns: Whether the action is enabled.