public abstract class AWindow
extends javafx.stage.Stage
Modifier and Type | Field and Description |
---|---|
protected java.util.ResourceBundle |
texts |
Constructor and Description |
---|
AWindow(java.lang.String title,
boolean resizable,
boolean modal)
Sets up the window.
|
Modifier and Type | Method and Description |
---|---|
protected void |
onShownAction(javafx.stage.WindowEvent event)
Centerizes the window.
|
protected void |
setCSS()
Sets the CSS file for the window.
|
close, fullScreenProperty, getIcons, getModality, getOwner, getStyle, getTitle, iconifiedProperty, impl_decreaseFocusGrabCounter, impl_getMXWindowType, impl_increaseFocusGrabCounter, impl_setImportant, impl_setPrimary, impl_showAndWait, impl_visibleChanged, impl_visibleChanging, initModality, initOwner, initStyle, isFullScreen, isIconified, isResizable, resizableProperty, setFullScreen, setIconified, setResizable, setScene, setTitle, show, titleProperty, toBack, toFront
addEventFilter, addEventHandler, buildEventDispatchChain, centerOnScreen, eventDispatcherProperty, fireEvent, focusedProperty, getEventDispatcher, getHeight, getOnCloseRequest, getOnHidden, getOnHiding, getOnShowing, getOnShown, getOpacity, getScene, getWidth, getX, getY, heightProperty, hide, impl_getPeer, impl_getWindows, isFocused, isShowing, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, opacityProperty, removeEventFilter, removeEventHandler, requestFocus, sceneProperty, setEventDispatcher, setEventHandler, setFocused, setHeight, setOnCloseRequest, setOnHidden, setOnHiding, setOnShowing, setOnShown, setOpacity, setWidth, setX, setY, showingProperty, sizeToScene, widthProperty, xProperty, yProperty
public AWindow(java.lang.String title, boolean resizable, boolean modal)
title
- Window title.resizable
- If true, window will be able to resized by the user.modal
- If true, other windows of the application cannot be accessed
until this one is not closed.