Documentation of 'visad.java2d.DefaultDisplayRendererJ2D' Java class
DefaultDisplayRendererJ2D
visad.java2d

Class DefaultDisplayRendererJ2D

    • Constructor Detail

      • DefaultDisplayRendererJ2D

        public DefaultDisplayRendererJ2D()
        This is the default DisplayRenderer used by the DisplayImplJ2D constructor. It draws a 2-D box around the scene and a 2-D cursor.

        The left mouse button controls the projection as follows:

        • mouse drag or mouse drag with Ctrl translates the scene sideways
        • mouse drag with Shift down zooms the scene
        The center mouse button activates and controls the 2-D cursor as follows:
        • mouse drag translates the cursor sideways
        The right mouse button is used for direct manipulation by clicking on the depiction of a Data object and dragging or re-drawing it.

        Cursor and direct manipulation locations are displayed in RealType values

        BadMappingExceptions and UnimplementedExceptions are displayed

        No RealType may be mapped to ZAxis, Latitude or Alpha.

      • DefaultDisplayRendererJ2D

        public DefaultDisplayRendererJ2D(java.lang.Class mbj2dClass)
        Parameters:
        mbj2dClass - - sub Class of MouseBehaviorJ2D
    • Method Detail

      • getMode2D

        public boolean getMode2D()
        Description copied from class: DisplayRenderer
        Return true if this is a 2-D DisplayRenderer.
        Overrides:
        getMode2D in class DisplayRenderer
        Returns:
        true if this is a 2-D renderer.
      • legalDisplayScalar

        public boolean legalDisplayScalar(DisplayRealType type)
        Description copied from class: DisplayRenderer
        Return true if type is legal for this DisplayRenderer; for example, 2-D DisplayRenderers use this to disallow mappings to ZAxis and Latitude.
        Overrides:
        legalDisplayScalar in class DisplayRenderer
        Parameters:
        type - The mapping type to check.
        Returns:
        true if type is legal.
      • setBoxAspect

        public void setBoxAspect(double[] aspect)
        set the aspect for the containing box aspect double[3] array used to scale x, y and z box sizes
        Specified by:
        setBoxAspect in class DisplayRenderer

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.