public class PopupWindowPeerListener extends WindowPeerListener
| Modifier and Type | Field and Description |
|---|---|
private PopupWindow |
popupWindow |
| Constructor and Description |
|---|
PopupWindowPeerListener(PopupWindow popupWindow) |
| Modifier and Type | Method and Description |
|---|---|
void |
changedFocused(boolean cf,
FocusCause cause)
The stages peer focused state has changed.
|
void |
changedFullscreen(boolean fs)
The stages peer has changed its full screen status
|
void |
changedIconified(boolean iconified)
The stages peer has become iconified or uniconified
|
void |
changedLocation(float x,
float y)
The stages peer's location have changed so we need to update the scene
|
void |
changedMaximized(boolean maximized)
The stages peer has become maximized or unmaximized
|
void |
changedResizable(boolean resizable)
The stages peer has become resizable or nonresizable
|
void |
closing()
Called if the window is closing do to something that has happened on the peer.
|
void |
focusUngrab()
Focus grab has been reset for the stage peer.
|
changedAlwaysOnTop, changedScreen, changedSize, closedprivate final PopupWindow popupWindow
public PopupWindowPeerListener(PopupWindow popupWindow)
public void changedFocused(boolean cf,
FocusCause cause)
TKStageListenerchangedFocused in interface TKStageListenerchangedFocused in class WindowPeerListenercf - True if the stage's peer now contains the focuscause - The cause of (de)activationpublic void closing()
TKStageListenerclosing in interface TKStageListenerclosing in class WindowPeerListenerpublic void changedLocation(float x,
float y)
TKStageListenerchangedLocation in interface TKStageListenerchangedLocation in class WindowPeerListenerx - the new Xy - The new Ypublic void changedIconified(boolean iconified)
TKStageListenerchangedIconified in interface TKStageListenerchangedIconified in class WindowPeerListenericonified - True if the stage's peer is now iconifiedpublic void changedMaximized(boolean maximized)
TKStageListenerchangedMaximized in interface TKStageListenerchangedMaximized in class WindowPeerListenermaximized - True if the stage's peer is now maximizedpublic void changedResizable(boolean resizable)
TKStageListenerchangedResizable in interface TKStageListenerchangedResizable in class WindowPeerListenerresizable - True if the stage's peer is now resizablepublic void changedFullscreen(boolean fs)
TKStageListenerchangedFullscreen in interface TKStageListenerchangedFullscreen in class WindowPeerListenerfs - True if the stage's peer is now full screen, false otherwisepublic void focusUngrab()
TKStageListenerTKStage.grabFocus() when the grab
is reset either by user action (e.g. clicking the titlebar of the
stage), or via a call to TKStage.ungrabFocus().focusUngrab in interface TKStageListenerfocusUngrab in class WindowPeerListener