Package 

Class WormholeSwing

  • All Implemented Interfaces:
    it.unibo.alchemist.boundary.wormhole.interfaces.Wormhole2D

    
    public class WormholeSwing<P extends Position2D<out P>>
    extends AbstractWormhole2D<P>
                        

    An implementation of [AbstractWormhole2D] for Swing.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class it.unibo.alchemist.boundary.wormhole.implementation.AbstractWormhole2D

        center, getEnvPoint, getMode, getViewPoint, getViewPosition, getViewSize, getZoom, isInsideView, optimalZoom, rotateAroundPoint, setEnvPosition, setRotation, setViewPosition, setZoom, zoomOnPoint
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WormholeSwing

        WormholeSwing(Environment<out Object, P> environment, Component component)
        Parameters:
        environment - the environment
        component - the it.unibo.alchemist.boundary.wormhole.interfaces.ViewPort of the UI used for implementing the wormhole
    • Method Detail