Class/Object

it.unibo.scafi.simulation.frontend.controller

Controller

Related Docs: object Controller | package controller

Permalink

class Controller extends GeneralController

Linear Supertypes
GeneralController, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Controller
  2. GeneralController
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Controller()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def checkSensor(sensor: String, operator: String, value: String): Unit

    Permalink
  6. def clearSimulation(): Unit

    Permalink

    Clears the currently running simulation.

    Clears the currently running simulation.

    Definition Classes
    ControllerGeneralController
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  11. def getNeighborhood: Map[Node, Set[Node]]

    Permalink
  12. def getNodes: Iterable[(Node, GuiNode)]

    Permalink
  13. def getObservation: (Any) ⇒ Boolean

    Permalink

    returns

    the observation function

    Definition Classes
    ControllerGeneralController
  14. def getSensor(s: String): Option[Any]

    Permalink
  15. def getUI: SimulatorUI

    Permalink

    returns

    the JFrame of the UI.

    Definition Classes
    ControllerGeneralController
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def isObserved(id: Int): Boolean

    Permalink
  19. def moveNode(node: Node, guiNode: GuiNode): Unit

    Permalink
  20. def moveNode(guiNode: GuiNode, position: Point): Unit

    Permalink
  21. def moveNodeSelect(p: Point): Unit

    Permalink
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  25. def pauseSimulation(): Unit

    Permalink

    Pauses the simulation.

    Pauses the simulation.

    Definition Classes
    ControllerGeneralController
  26. def resumeSimulation(): Unit

    Permalink

    Resumes the simulation.

    Resumes the simulation.

    Definition Classes
    ControllerGeneralController
  27. def selectNodes(area: Rectangle): Unit

    Permalink
  28. def selectionAttempted: Boolean

    Permalink

    returns

    whether the user is currently trying to select nodes or not

    Definition Classes
    ControllerGeneralController
  29. def setGui(simulatorGui: SimulatorUI): Unit

    Permalink
  30. def setObservation(obs: (Any) ⇒ Boolean): Unit

    Permalink

    Sets the observation function.

    Sets the observation function.

    Definition Classes
    ControllerGeneralController
  31. def setSensor(sensorName: String, value: Any): Unit

    Permalink

    Sets the specified sensor value.

    Sets the specified sensor value.

    sensorName

    the name of the chosen sensor

    value

    the value to be set

    Definition Classes
    ControllerGeneralController
  32. def setShowValue(kind: NodeValue): Unit

    Permalink

    Sets the kind of value that each node's label should show.

    Sets the kind of value that each node's label should show.

    Definition Classes
    ControllerGeneralController
  33. def setSimManager(simManager: SimulationManager): Unit

    Permalink
  34. def showImage(img: Image, showed: Boolean): Unit

    Permalink

    Shows the provided background image.

    Shows the provided background image.

    img

    the image to be shown

    showed

    whether the image should be showed or not

    Definition Classes
    ControllerGeneralController
  35. def showInfoPanel(node: GuiNode, showed: Boolean): Unit

    Permalink
  36. var simManager: SimulationManager

    Permalink
    Attributes
    protected[it.unibo.scafi.simulation.frontend]
  37. def startSimulation(): Unit

    Permalink

    Starts the simulation.

    Starts the simulation.

    Definition Classes
    ControllerGeneralController
  38. def stepSimulation(n_step: Int): Unit

    Permalink

    Advances the simulation by the specified number of steps.

    Advances the simulation by the specified number of steps.

    Definition Classes
    ControllerGeneralController
  39. def stopSimulation(): Unit

    Permalink

    Stops the simulation.

    Stops the simulation.

    Definition Classes
    ControllerGeneralController
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  41. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  42. def updateNodePositions(): Unit

    Permalink
  43. def updateNodeValue(nodeId: Int): Unit

    Permalink
  44. def updateValue(): Unit

    Permalink
  45. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from GeneralController

Inherited from AnyRef

Inherited from Any

Ungrouped