Package net.raumzeitfalle.fx.filechooser
Class FXFileChooserStage
java.lang.Object
javafx.stage.Window
javafx.stage.Stage
net.raumzeitfalle.fx.filechooser.FXFileChooserStage
- All Implemented Interfaces:
javafx.event.EventTarget
public class FXFileChooserStage
extends javafx.stage.Stage
A
FileChooser placed into its own Stage.- See Also:
-
Property Summary
Properties inherited from class javafx.stage.Stage
alwaysOnTop, fullScreenExitHint, fullScreenExitKey, fullScreen, iconified, maxHeight, maximized, maxWidth, minHeight, minWidth, resizable, titleProperties inherited from class javafx.stage.Window
eventDispatcher, focused, forceIntegerRenderScale, height, onCloseRequest, onHidden, onHiding, onShowing, onShown, opacity, outputScaleX, outputScaleY, renderScaleX, renderScaleY, scene, showing, width, x, y -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLocations(List<Location> locations) voidstatic FXFileChooserStagecreate(Skin skin, Path startsIn, DirectoryChooserOption dirChooserOption, PathFilter... filters) Creates a new FileChooser placed into its own stage.static FXFileChooserStagecreate(Skin skin, Path startsIn, PathFilter... filters) Creates a new FileChooser placed into its own stage.static FXFileChooserStagecreate(Skin skin, DirectoryChooserOption dirChooserOption, PathFilter... filters) Creates a new FileChooser placed into its own stage.static FXFileChooserStagecreate(Skin skin, PathFilter... filters) Creates a new FileChooser placed into its own stage.showOpenDialog(javafx.stage.Window ownerWindow) Methods inherited from class javafx.stage.Stage
alwaysOnTopProperty, close, fullScreenExitHintProperty, fullScreenExitKeyProperty, fullScreenProperty, getFullScreenExitHint, getFullScreenExitKeyCombination, getIcons, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getModality, getOwner, getStyle, getTitle, iconifiedProperty, initModality, initOwner, initStyle, isAlwaysOnTop, isFullScreen, isIconified, isMaximized, isResizable, maxHeightProperty, maximizedProperty, maxWidthProperty, minHeightProperty, minWidthProperty, resizableProperty, setAlwaysOnTop, setFullScreen, setFullScreenExitHint, setFullScreenExitKeyCombination, setIconified, setMaxHeight, setMaximized, setMaxWidth, setMinHeight, setMinWidth, setResizable, setScene, setTitle, show, showAndWait, titleProperty, toBack, toFrontMethods inherited from class javafx.stage.Window
addEventFilter, addEventHandler, buildEventDispatchChain, centerOnScreen, eventDispatcherProperty, fireEvent, focusedProperty, forceIntegerRenderScaleProperty, getEventDispatcher, getHeight, getOnCloseRequest, getOnHidden, getOnHiding, getOnShowing, getOnShown, getOpacity, getOutputScaleX, getOutputScaleY, getProperties, getRenderScaleX, getRenderScaleY, getScene, getUserData, getWidth, getWindows, getX, getY, hasProperties, heightProperty, hide, isFocused, isForceIntegerRenderScale, isShowing, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, opacityProperty, outputScaleXProperty, outputScaleYProperty, removeEventFilter, removeEventHandler, renderScaleXProperty, renderScaleYProperty, requestFocus, sceneProperty, setEventDispatcher, setEventHandler, setForceIntegerRenderScale, setHeight, setOnCloseRequest, setOnHidden, setOnHiding, setOnShowing, setOnShown, setOpacity, setRenderScaleX, setRenderScaleY, setUserData, setWidth, setX, setY, showingProperty, sizeToScene, widthProperty, xProperty, yProperty
-
Method Details
-
create
Creates a new FileChooser placed into its own stage. The new stage will be application modal by default. To change modality call theinitModality(...)method.This instance will start browsing in current working directory accepting the provided
PathFilter.- Parameters:
skin-SkinDefines the visual appearance of FileChooser. In case no Skin is provided, MODENA will be used.filters-PathFilterargument of variable length, accepts all path filters as needed. In case no filter is provided, a filter accepting all files will be used.- Returns:
FXFileChooserStageA file chooser in its own window.
-
create
public static FXFileChooserStage create(Skin skin, DirectoryChooserOption dirChooserOption, PathFilter... filters) Creates a new FileChooser placed into its own stage. The new stage will be application modal by default. To change modality call theinitModality(...)method.This instance will start browsing in current working directory accepting the provided
PathFilter.- Parameters:
skin-SkinDefines the visual appearance of FileChooser. In case no Skin is provided, MODENA will be used.dirChooserOption-DirectoryChooserOptionDefines if an integrated (same stage) directory chooser is used or the standard JavaFX platform specific directory chooser.filters-PathFilterargument of variable length, accepts all path filters as needed. In case no filter is provided, a filter accepting all files will be used.- Returns:
FXFileChooserStageA file chooser in its own window.
-
create
Creates a new FileChooser placed into its own stage. The new stage will be application modal by default. To change modality call theinitModality(...)method.This instance will start browsing in the provided directory accepting files matching the provided
PathFilter.- Parameters:
skin-SkinDefines the visual appearance of FileChooser. In case no Skin is provided, MODENA will be used.startsIn-PathLocation where file browsing starts. If not provided, the file chooser will start browsing in the current working directory.filters-PathFilterargument of variable length, accepts all path filters as needed. In case no filter is provided, a filter accepting all files will be used.- Returns:
FXFileChooserStageA file chooser in its own window.
-
create
public static FXFileChooserStage create(Skin skin, Path startsIn, DirectoryChooserOption dirChooserOption, PathFilter... filters) Creates a new FileChooser placed into its own stage. The new stage will be application modal by default. To change modality call theinitModality(...)method.This instance will start browsing in the provided directory accepting files matching the provided
PathFilter.- Parameters:
skin-SkinDefines the visual appearance of FileChooser. In case no Skin is provided, MODENA will be used.startsIn-PathLocation where file browsing starts. If not provided, the file chooser will start browsing in the current working directory.dirChooserOption-DirectoryChooserOptionDefines if an integrated (same stage) directory chooser is used or the standard JavaFX platform specific directory chooser.filters-PathFilterargument of variable length, accepts all path filters as needed. In case no filter is provided, a filter accepting all files will be used.- Returns:
FXFileChooserStageA file chooser in its own window.
-
showOpenDialog
-
closeView
public void closeView() -
addLocations
-