Package snap.view
Class WindowView.WindowHpr<T>
java.lang.Object
snap.view.WindowView.WindowHpr<T>
- Enclosing class:
- WindowView
A class to map snap Window functionality to native platform.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
focusDidChange
(View aView) Notifies that focus changed.Returns the native for the window content.abstract T
Returns the native being helped.abstract WindowView
Returns the snap Window.abstract void
hide()
Window/Popup method: Hides the window.abstract void
Window method: initializes native window.abstract void
requestPaint
(Rect aRect) Registers a view for repaint.void
Window/Popup method: Sets the document file url for the window title bar proxy icon.abstract void
setWindow
(WindowView aWin) Sets the snap Window.abstract void
show()
Window/Popup method: Shows the window.abstract void
toFront()
Window/Popup method: Order window to front.viewToScreen
(View aView, double aX, double aY) Convert given point x/y from given view to screen.
-
Constructor Details
-
WindowHpr
public WindowHpr()
-
-
Method Details
-
getWindow
Returns the snap Window. -
setWindow
Sets the snap Window. -
getNative
Returns the native being helped. -
getContentNative
Returns the native for the window content. -
requestPaint
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
Convert given point x/y from given view to screen. -
setDocURL
Window/Popup method: Sets the document file url for the window title bar proxy icon. -
focusDidChange
Notifies that focus changed.
-