Package com.sun.javafx.stage
Class PopupWindowPeerListener
java.lang.Object
com.sun.javafx.stage.WindowPeerListener
com.sun.javafx.stage.PopupWindowPeerListener
- All Implemented Interfaces:
TKStageListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
changedFocused
(boolean cf, FocusCause cause) The stages peer focused state has changed.void
changedFullscreen
(boolean fs) The stages peer has changed its full screen statusvoid
changedIconified
(boolean iconified) The stages peer has become iconified or uniconifiedvoid
changedLocation
(float x, float y) The stages peer's location have changed so we need to update the scenevoid
changedMaximized
(boolean maximized) The stages peer has become maximized or unmaximizedvoid
changedResizable
(boolean resizable) The stages peer has become resizable or nonresizablevoid
closing()
Called if the window is closing do to something that has happened on the peer.void
Focus grab has been reset for the stage peer.Methods inherited from class com.sun.javafx.stage.WindowPeerListener
changedAlwaysOnTop, changedScreen, changedSize, closed
-
Constructor Details
-
PopupWindowPeerListener
-
-
Method Details
-
changedFocused
Description copied from interface:TKStageListener
The stages peer focused state has changed.- Specified by:
changedFocused
in interfaceTKStageListener
- Overrides:
changedFocused
in classWindowPeerListener
- Parameters:
cf
- True if the stage's peer now contains the focuscause
- The cause of (de)activation
-
closing
public void closing()Description copied from interface:TKStageListener
Called if the window is closing do to something that has happened on the peer. For example the user clicking the close button or choosing quit from the application menu on a mac or right click close on the task bar on windows.- Specified by:
closing
in interfaceTKStageListener
- Overrides:
closing
in classWindowPeerListener
-
changedLocation
public void changedLocation(float x, float y) Description copied from interface:TKStageListener
The stages peer's location have changed so we need to update the scene- Specified by:
changedLocation
in interfaceTKStageListener
- Overrides:
changedLocation
in classWindowPeerListener
- Parameters:
x
- the new Xy
- The new Y
-
changedIconified
public void changedIconified(boolean iconified) Description copied from interface:TKStageListener
The stages peer has become iconified or uniconified- Specified by:
changedIconified
in interfaceTKStageListener
- Overrides:
changedIconified
in classWindowPeerListener
- Parameters:
iconified
- True if the stage's peer is now iconified
-
changedMaximized
public void changedMaximized(boolean maximized) Description copied from interface:TKStageListener
The stages peer has become maximized or unmaximized- Specified by:
changedMaximized
in interfaceTKStageListener
- Overrides:
changedMaximized
in classWindowPeerListener
- Parameters:
maximized
- True if the stage's peer is now maximized
-
changedResizable
public void changedResizable(boolean resizable) Description copied from interface:TKStageListener
The stages peer has become resizable or nonresizable- Specified by:
changedResizable
in interfaceTKStageListener
- Overrides:
changedResizable
in classWindowPeerListener
- Parameters:
resizable
- True if the stage's peer is now resizable
-
changedFullscreen
public void changedFullscreen(boolean fs) Description copied from interface:TKStageListener
The stages peer has changed its full screen status- Specified by:
changedFullscreen
in interfaceTKStageListener
- Overrides:
changedFullscreen
in classWindowPeerListener
- Parameters:
fs
- True if the stage's peer is now full screen, false otherwise
-
focusUngrab
public void focusUngrab()Description copied from interface:TKStageListener
Focus grab has been reset for the stage peer. Called after a previous call toinvalid @link
TKStage#grabFocus
invalid @link
TKStage#ungrabFocus
- Specified by:
focusUngrab
in interfaceTKStageListener
- Overrides:
focusUngrab
in classWindowPeerListener
-