class GlassAppletWindow extends java.lang.Object implements AppletWindow
| Modifier and Type | Field and Description |
|---|---|
private Window |
glassWindow |
private java.lang.String |
serverName |
private java.lang.ref.WeakReference<Stage> |
topStage |
| Constructor and Description |
|---|
GlassAppletWindow(long nativeParent,
java.lang.String serverName) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
assertStageOrder()
Call when a child stage becomes visible so we can make sure topStage
is pushed to the front where it should be.
|
void |
dispatchEvent(java.util.Map eventInfo) |
(package private) void |
dispose() |
(package private) Window |
getGlassWindow() |
int |
getHeight() |
int |
getPositionX() |
int |
getPositionY() |
int |
getRemoteLayerId() |
float |
getUIScale() |
int |
getWidth() |
void |
setBackgroundColor(int color) |
void |
setForegroundColor(int color) |
void |
setPosition(int x,
int y) |
void |
setSize(int width,
int height) |
void |
setStageOnTop(Stage topStage) |
void |
setVisible(boolean state) |
private final Window glassWindow
private java.lang.ref.WeakReference<Stage> topStage
private java.lang.String serverName
GlassAppletWindow(long nativeParent,
java.lang.String serverName)
Window getGlassWindow()
public void setBackgroundColor(int color)
setBackgroundColor in interface AppletWindowpublic void setForegroundColor(int color)
setForegroundColor in interface AppletWindowpublic void setVisible(boolean state)
setVisible in interface AppletWindowpublic void setSize(int width,
int height)
setSize in interface AppletWindowpublic int getWidth()
getWidth in interface AppletWindowpublic int getHeight()
getHeight in interface AppletWindowpublic void setPosition(int x,
int y)
setPosition in interface AppletWindowpublic int getPositionX()
getPositionX in interface AppletWindowpublic int getPositionY()
getPositionY in interface AppletWindowpublic float getUIScale()
getUIScale in interface AppletWindowvoid dispose()
public void setStageOnTop(Stage topStage)
setStageOnTop in interface AppletWindowpublic int getRemoteLayerId()
getRemoteLayerId in interface AppletWindowpublic void dispatchEvent(java.util.Map eventInfo)
dispatchEvent in interface AppletWindowvoid assertStageOrder()