java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JToolBar
de.ipk_gatersleben.ag_nw.graffiti.plugins.misc.invert_selection.SelectNodesComponent
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants, GraffitiComponent, ViewListener, SessionListener

public class SelectNodesComponent
extends JToolBar
implements GraffitiComponent, SessionListener, ViewListener
See Also:
Serialized Form
  • Constructor Details

    • SelectNodesComponent

      public SelectNodesComponent​(String prefComp)
  • Method Details

    • focus

      public static void focus​(KeyEvent e)
    • sessionChanged

      public void sessionChanged​(Session s)
      Description copied from interface: SessionListener
      This method is called when the session changes.
      Specified by:
      sessionChanged in interface SessionListener
      Parameters:
      s - the new Session.
    • sessionDataChanged

      public void sessionDataChanged​(Session s)
      Description copied from interface: SessionListener
      This method is called when the data (except the graph data) are changed.
      Specified by:
      sessionDataChanged in interface SessionListener
    • getPreferredComponent

      public String getPreferredComponent()
      Description copied from interface: GraffitiComponent
      Returns the id of the component this component should be placed in.
      Specified by:
      getPreferredComponent in interface GraffitiComponent
      Returns:
      the id of the component this component should be placed in.
    • viewChanged

      public void viewChanged​(View newView)
      Description copied from interface: ViewListener
      This method is called when the view changes. This method is not called when another session is activated. Implement SessionListener if you are interested in session changed events.
      Specified by:
      viewChanged in interface ViewListener
      Parameters:
      newView - the new View.