final class LensWindow extends Window
Window.EventHandler, Window.Level, Window.StateCLOSABLE, MAXIMIZABLE, MINIMIZABLE, NORMAL, POPUP, RIGHT_TO_LEFT, TITLED, TRANSPARENT, UNIFIED, UNTITLED, UTILITY| Modifier | Constructor and Description |
|---|---|
protected |
LensWindow(long parent) |
protected |
LensWindow(Window owner,
Screen screen,
int styleMask) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
_close(long nativeWindowPointer) |
protected long |
_createChildWindow(long parent) |
protected long |
_createWindow(long NativeWindow,
long NativeScreen,
int mask) |
protected void |
_enterModal(long ptr)
The functions below are used when the platform support modality natively.
|
protected void |
_enterModalWithWindow(long dialog,
long window) |
protected void |
_exitModal(long ptr) |
protected int |
_getEmbeddedX(long ptr) |
protected int |
_getEmbeddedY(long ptr) |
private long |
_getNativeWindowImpl(long ptr) |
protected boolean |
_grabFocus(long ptr) |
protected boolean |
_maximize(long nativeWindowPointer,
boolean maximize,
boolean wasMaximized) |
protected boolean |
_minimize(long nativeWindowPointer,
boolean minimize) |
protected void |
_notifyClose() |
protected void |
_notifyDestroy() |
protected void |
_notifyExpose(int x,
int y,
int width,
int height) |
protected void |
_notifyFocus(int event) |
protected void |
_notifyFocusDisabled() |
protected void |
_notifyFocusUngrab() |
protected void |
_notifyMove(int x,
int y) |
protected void |
_notifyResize(int type,
int width,
int height) |
protected void |
_releaseInput(long ptr) |
protected boolean |
_requestFocus(long ptr,
int event) |
protected void |
_requestInput(long ptr,
java.lang.String text,
int type,
double width,
double height,
double Mxx,
double Mxy,
double Mxz,
double Mxt,
double Myx,
double Myy,
double Myz,
double Myt,
double Mzx,
double Mzy,
double Mzz,
double Mzt) |
protected void |
_setAlpha(long ptr,
float alpha) |
protected boolean |
_setBackground(long ptr,
float r,
float g,
float b) |
protected void |
_setBounds(long nativeWindowPointer,
int x,
int y,
boolean xSet,
boolean ySet,
int w,
int h,
int cw,
int ch,
float xGravity,
float yGravity)
w/h is the total window width/height including all its
decorations (e.g.
|
protected void |
_setCursor(long ptr,
Cursor cursor) |
protected void |
_setEnabled(long ptr,
boolean enabled) |
protected void |
_setFocusable(long ptr,
boolean isFocusable) |
protected void |
_setIcon(long ptr,
Pixels pixels) |
protected void |
_setLevel(long ptr,
int level) |
protected boolean |
_setMaximumSize(long ptr,
int width,
int height) |
protected boolean |
_setMenubar(long ptr,
long menubarPtr) |
protected boolean |
_setMinimumSize(long ptr,
int width,
int height) |
protected boolean |
_setResizable(long ptr,
boolean resizable) |
protected boolean |
_setTitle(long ptr,
java.lang.String title) |
protected boolean |
_setView(long nativeWindowPointer,
View view) |
protected boolean |
_setVisible(long ptr,
boolean visible) |
protected void |
_toBack(long ptr) |
private void |
_toBackImpl(long ptr) |
protected void |
_toFront(long ptr) |
private void |
_toFrontImpl(long ptr) |
protected void |
_ungrabFocus(long ptr) |
private boolean |
attachViewToWindow(long nativeWindowPointer,
long nativeViewPointer) |
long |
getNativeWindow()
Returns the handle used to create a rendering context in Prism
|
protected void |
nativeClose() |
protected void |
nativeConfigure(int type,
int x,
int y,
int width,
int height) |
protected void |
nativeExpose(int x,
int y,
int width,
int height) |
private void |
raiseOwnedWindows(java.util.List<Window> list) |
private void |
setBoundsImpl(long nativeWindowPointer,
int x,
int y,
int width,
int height,
boolean needToUpdatePostion,
boolean needToUpdateSize,
boolean isContentSize)
Change the window size and/or position
Change in size may be the window content size w/o decorations
or the total window size
|
add, addFirst, close, dispatchNpapiEvent, enterModal, enterModal, exitModal, getAlpha, getEventHandler, getFocusedWindow, getHeight, getLevel, getMaximumHeight, getMaximumWidth, getMenuBar, getMinimumHeight, getMinimumWidth, getNativeHandle, getOutputScale, getOwner, getPlatformScale, getRawHandle, getRenderScale, getScreen, getStyleMask, getTitle, getView, getWidth, getWindows, getWindowsClone, getX, getY, grabFocus, handleWindowEvent, isClosed, isDecorated, isEnabled, isFocused, isMaximized, isMinimized, isModal, isResizable, isTransparentWindow, isUnifiedWindow, isVisible, maximize, minimize, notifyClose, notifyDelegatePtr, notifyDestroy, notifyFocus, notifyFocusDisabled, notifyFocusUngrab, notifyLevelChanged, notifyMove, notifyMoveToAnotherScreen, notifyResize, releaseInput, remove, requestFocus, requestFocus, requestInput, setAlpha, setBackground, setBounds, setContentSize, setCursor, setEnabled, setEventHandler, setFocusable, setIcon, setLevel, setMaximumSize, setMenuBar, setMinimumSize, setPlatformScale, setPosition, setRenderScale, setResizable, setScreen, setShouldStartUndecoratedMove, setSize, setState, setTitle, setUndecoratedMoveRectangle, setUndecoratedResizeRectangle, setView, setVisible, shouldStartUndecoratedMove, shouldStartUndecoratedResize, toBack, toFront, toString, ungrabFocusprivate void raiseOwnedWindows(java.util.List<Window> list)
protected void _setBounds(long nativeWindowPointer,
int x,
int y,
boolean xSet,
boolean ySet,
int w,
int h,
int cw,
int ch,
float xGravity,
float yGravity)
_setBounds in class Windowprotected long _createWindow(long NativeWindow,
long NativeScreen,
int mask)
_createWindow in class Windowprotected long _createChildWindow(long parent)
_createChildWindow in class Windowprivate boolean attachViewToWindow(long nativeWindowPointer,
long nativeViewPointer)
protected boolean _setView(long nativeWindowPointer,
View view)
public long getNativeWindow()
getNativeWindow in class Windowprivate long _getNativeWindowImpl(long ptr)
protected boolean _setMenubar(long ptr,
long menubarPtr)
_setMenubar in class Windowprotected boolean _minimize(long nativeWindowPointer,
boolean minimize)
protected boolean _maximize(long nativeWindowPointer,
boolean maximize,
boolean wasMaximized)
private void setBoundsImpl(long nativeWindowPointer,
int x,
int y,
int width,
int height,
boolean needToUpdatePostion,
boolean needToUpdateSize,
boolean isContentSize)
nativeWindowPointer - as was created by createWindow()x - the position of the window Xy - the position of the window Ywidth - of window/contentheight - of window/contentneedToUpdatePostion - is x&y are valid, if not resize onlyneedToUpdateSize - is width&height are valid, if not only
moveisContentSize - does width&height refer to the content
size or the whole windowprotected boolean _setVisible(long ptr,
boolean visible)
_setVisible in class Windowprotected boolean _setResizable(long ptr,
boolean resizable)
_setResizable in class Windowprotected boolean _requestFocus(long ptr,
int event)
_requestFocus in class Windowprotected void _setFocusable(long ptr,
boolean isFocusable)
_setFocusable in class Windowprotected boolean _setTitle(long ptr,
java.lang.String title)
protected boolean _setBackground(long ptr,
float r,
float g,
float b)
_setBackground in class Windowprotected void _setEnabled(long ptr,
boolean enabled)
_setEnabled in class Windowprotected boolean _setMinimumSize(long ptr,
int width,
int height)
_setMinimumSize in class Windowprotected boolean _setMaximumSize(long ptr,
int width,
int height)
_setMaximumSize in class Windowprivate void _toFrontImpl(long ptr)
private void _toBackImpl(long ptr)
protected boolean _grabFocus(long ptr)
_grabFocus in class Windowprotected void _ungrabFocus(long ptr)
_ungrabFocus in class Windowprotected void _enterModal(long ptr)
_enterModal in class Windowprotected void _enterModalWithWindow(long dialog,
long window)
_enterModalWithWindow in class Windowprotected void _exitModal(long ptr)
_exitModal in class Windowprotected void _notifyClose()
protected void _notifyDestroy()
protected void _notifyFocus(int event)
protected void _notifyMove(int x,
int y)
protected void _notifyResize(int type,
int width,
int height)
protected void _notifyExpose(int x,
int y,
int width,
int height)
protected void _notifyFocusUngrab()
protected void _notifyFocusDisabled()
protected void nativeExpose(int x,
int y,
int width,
int height)
protected void nativeConfigure(int type,
int x,
int y,
int width,
int height)
protected void nativeClose()
protected void _setCursor(long ptr,
Cursor cursor)
_setCursor in class Windowprotected int _getEmbeddedX(long ptr)
_getEmbeddedX in class Windowprotected int _getEmbeddedY(long ptr)
_getEmbeddedY in class Windowprotected void _requestInput(long ptr,
java.lang.String text,
int type,
double width,
double height,
double Mxx,
double Mxy,
double Mxz,
double Mxt,
double Myx,
double Myy,
double Myz,
double Myt,
double Mzx,
double Mzy,
double Mzz,
double Mzt)
_requestInput in class Windowprotected void _releaseInput(long ptr)
_releaseInput in class Window