public class

BasicTreeUI.TreeToggleAction

extends AbstractAction
java.lang.Object
   ↳ javax.swing.AbstractAction
     ↳ javax.swing.plaf.basic.BasicTreeUI.TreeToggleAction

Class Overview

For the first selected row expandedness will be toggled.

Summary

[Expand]
Inherited Constants
From interface javax.swing.Action
[Expand]
Inherited Fields
From class javax.swing.AbstractAction
Public Constructors
BasicTreeUI.TreeToggleAction(String name)
Public Methods
void actionPerformed(ActionEvent e)
boolean isEnabled()
Returns true if the action is enabled.
[Expand]
Inherited Methods
From class javax.swing.AbstractAction
From class java.lang.Object
From interface java.awt.event.ActionListener
From interface javax.swing.Action

Public Constructors

public BasicTreeUI.TreeToggleAction (String name)

Public Methods

public void actionPerformed (ActionEvent e)

public boolean isEnabled ()

Returns true if the action is enabled.

Returns
  • true if the action is enabled, false otherwise