org.netbeans.modules.java.api.common/0 1.37

org.netbeans.modules.java.api.common.project.ui.customizer
Class SourceRootsUi.EditMediator

java.lang.Object
  extended by org.netbeans.modules.java.api.common.project.ui.customizer.SourceRootsUi.EditMediator
All Implemented Interfaces:
ActionListener, EventListener, CellEditorListener, ListSelectionListener
Enclosing class:
SourceRootsUi

public static class SourceRootsUi.EditMediator
extends Object
implements ActionListener, ListSelectionListener, CellEditorListener


Constructor Summary
SourceRootsUi.EditMediator(Project master, SourceRoots sourceRoots, JTable rootsList, JButton addFolderButton, JButton removeButton, JButton upButton, JButton downButton, boolean emptyTableIsValid)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
          Handles button events
 void editingCanceled(ChangeEvent e)
           
 void editingStopped(ChangeEvent e)
           
 void setRelatedEditMediator(SourceRootsUi.EditMediator rem)
           
 void valueChanged(ListSelectionEvent e)
          Handles changes in the selection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceRootsUi.EditMediator

public SourceRootsUi.EditMediator(Project master,
                                  SourceRoots sourceRoots,
                                  JTable rootsList,
                                  JButton addFolderButton,
                                  JButton removeButton,
                                  JButton upButton,
                                  JButton downButton,
                                  boolean emptyTableIsValid)
Method Detail

setRelatedEditMediator

public void setRelatedEditMediator(SourceRootsUi.EditMediator rem)

actionPerformed

public void actionPerformed(ActionEvent e)
Handles button events

Specified by:
actionPerformed in interface ActionListener

valueChanged

public void valueChanged(ListSelectionEvent e)
Handles changes in the selection

Specified by:
valueChanged in interface ListSelectionListener

editingCanceled

public void editingCanceled(ChangeEvent e)
Specified by:
editingCanceled in interface CellEditorListener

editingStopped

public void editingStopped(ChangeEvent e)
Specified by:
editingStopped in interface CellEditorListener

org.netbeans.modules.java.api.common/0 1.37

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.