Interface ViewPort

  • All Implemented Interfaces:

    
    public interface ViewPort
    
                        

    This interface implements an Adapter pattern between a generic view element and the needs of a Wormhole2D.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract double getWidth() Getter method for the width of the adapted view.
      abstract double getHeight() Getter method for the height of the adapted view.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getWidth

         abstract double getWidth()

        Getter method for the width of the adapted view.

        Returns:

        the width

      • getHeight

         abstract double getHeight()

        Getter method for the height of the adapted view.

        Returns:

        the height