Interface IScreenDesigner

  • All Known Implementing Classes:
    ScreenDesigner

    public interface IScreenDesigner
    The screen designer interface hooks the paint and mouse functions.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      org.eclipse.swt.graphics.RectanglegetMarkingConstraints()
      Gets the rectangle marking constraints.
      booleanisCursorPresent()
      Cursor present (and blinking)?
      booleanisHotSpotEnabled()
      Check for hotspot enabled.
      voidonDoubleClick​(int x, int y)
      Marks the host field.
      voidpaint​(java.awt.Graphics2D g, int leftMargin, int topMargin, int cxFont, int cyFont, int cxFontReal, int cyFontReal, int cxScreen, int cyScreen, org.eclipse.swt.graphics.Rectangle clipRect)
      Paints the Graphics once the screen is drawn, before the cursor.
      voidsetTerminalWindow​(TerminalWindow window)
      Sets the TerminalWindow at creation.
    • Method Detail

      • setTerminalWindow

        void setTerminalWindow​(TerminalWindow window)
        Sets the TerminalWindow at creation.
      • paint

        void paint​(java.awt.Graphics2D g,
                   int leftMargin,
                   int topMargin,
                   int cxFont,
                   int cyFont,
                   int cxFontReal,
                   int cyFontReal,
                   int cxScreen,
                   int cyScreen,
                   org.eclipse.swt.graphics.Rectangle clipRect)
        Paints the Graphics once the screen is drawn, before the cursor.
      • isCursorPresent

        boolean isCursorPresent()
        Cursor present (and blinking)?
      • isHotSpotEnabled

        boolean isHotSpotEnabled()
        Check for hotspot enabled.
      • getMarkingConstraints

        org.eclipse.swt.graphics.Rectangle getMarkingConstraints()
        Gets the rectangle marking constraints. This is used for pop-up windows.
        Returns:
        null If no constrains are present.
      • onDoubleClick

        void onDoubleClick​(int x,
                           int y)
        Marks the host field.