Module java.desktop

Class BasicTreeUI.TreeIncrementAction

    • Field Detail

      • direction

        protected int direction
        Specifies the direction to adjust the selection by.
    • Constructor Detail

      • TreeIncrementAction

        public TreeIncrementAction​(int direction,
                                   String name)
        Constructs a new instance of TreeIncrementAction.
        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.
        e - the event to be processed