Module java.desktop

Class BasicTreeUI.TreeToggleAction

java.lang.Object
javax.swing.AbstractAction
javax.swing.plaf.basic.BasicTreeUI.TreeToggleAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
BasicTreeUI

public class BasicTreeUI.TreeToggleAction
extends AbstractAction
For the first selected row expandedness will be toggled.
  • Constructor Details

    • TreeToggleAction

      public TreeToggleAction​(String name)
      Constructs a new instance of TreeToggleAction.
      Parameters:
      name - the name of action