java.lang.Object
rs.edu.raf.dsw.rudok.app.gui.swing.mindmappanel.statemanager.IState
rs.edu.raf.dsw.rudok.app.gui.swing.mindmappanel.statemanager.states.StateMoveTopic

public class StateMoveTopic
extends IState
State for moving topics (if any selected) or translating the view (if no topic selected.)
  • Constructor Details

    • StateMoveTopic

      public StateMoveTopic()
  • Method Details

    • migrate

      public void migrate​(MindMap parent, Topic t, int x1, int y1, boolean complete)
      Description copied from class: IState
      Performs the migration of IState with the given parameters. May produce no result if not implemented.
      Overrides:
      migrate in class IState
    • migrate

      public void migrate​(MindMap parent, int x1, int y1, int x2, int y2, boolean complete)
      Description copied from class: IState
      Performs the migration of IState with the given parameters. May produce no result if not implemented.
      Overrides:
      migrate in class IState