Module java.desktop

Class BasicTreeUI.TreeHomeAction

    • Field Detail

      • direction

        protected int direction
        The direction.
    • Constructor Detail

      • TreeHomeAction

        public TreeHomeAction​(int direction,
                              String name)
        Constructs a new instance of TreeHomeAction.
        Parameters:
        direction - the direction
        name - the name of action
    • Method Detail

      • actionPerformed

        public void actionPerformed​(ActionEvent e)
        Description copied from interface: ActionListener
        Invoked when an action occurs.
        Parameters:
        e - the event to be processed