Package snap.view

Class WindowView.WindowHpr<T>

java.lang.Object
snap.view.WindowView.WindowHpr<T>
Direct Known Subclasses:
SWWindowHpr
Enclosing class:
WindowView

public abstract static class WindowView.WindowHpr<T> extends Object
A class to map snap Window functionality to native platform.
  • Constructor Details

    • WindowHpr

      public WindowHpr()
  • Method Details

    • getWindow

      public abstract WindowView getWindow()
      Returns the snap Window.
    • setWindow

      public abstract void setWindow(WindowView aWin)
      Sets the snap Window.
    • getNative

      public abstract T getNative()
      Returns the native being helped.
    • getContentNative

      public Object getContentNative()
      Returns the native for the window content.
    • requestPaint

      public abstract void requestPaint(Rect aRect)
      Registers a view for repaint.
    • initWindow

      public abstract void initWindow()
      Window method: initializes native window.
    • show

      public abstract void show()
      Window/Popup method: Shows the window.
    • hide

      public abstract void hide()
      Window/Popup method: Hides the window.
    • toFront

      public abstract void toFront()
      Window/Popup method: Order window to front.
    • viewToScreen

      public Point viewToScreen(View aView, double aX, double aY)
      Convert given point x/y from given view to screen.
    • setDocURL

      public void setDocURL(WebURL aURL)
      Window/Popup method: Sets the document file url for the window title bar proxy icon.
    • focusDidChange

      public void focusDidChange(View aView)
      Notifies that focus changed.