Class CustomListDialog<T>
- java.lang.Object
-
- javafx.stage.Window
-
- javafx.stage.Stage
-
- org.teichert.databaseexplorer.gui.CustomDialog<T>
-
- org.teichert.databaseexplorer.gui.CustomListDialog<T>
-
- All Implemented Interfaces:
javafx.event.EventTarget
public class CustomListDialog<T> extends CustomDialog<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected ListWithTools<T>
list
-
Fields inherited from class org.teichert.databaseexplorer.gui.CustomDialog
CANCEL, CANCEL_STRING, heightDialog, mapOfButtons, mapOfConfig, OK, OK_STRING, parent, pressed, widthDialog
-
-
Constructor Summary
Constructors Constructor Description CustomListDialog(javafx.stage.Window parent)
CustomListDialog(javafx.stage.Window parent, List<T> input)
CustomListDialog(javafx.stage.Window parent, javafx.stage.StageStyle style, List<T> input)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
doOK()
List<T>
getInput()
ListWithTools<T>
getList()
protected void
init(javafx.stage.Window parent, javafx.stage.Modality modality)
protected javafx.scene.layout.BorderPane
initDialog()
protected void
initList(ToolOption<T>... options)
Erstellt die Liste und fuellt die Liste direkt mit den Items, welche im super-Konstruktor mitgegeben wurden!void
setInput(List<T> input)
void
setInput(T... input)
protected boolean
validation()
-
Methods inherited from class org.teichert.databaseexplorer.gui.CustomDialog
cancelPressed, createButton, createButton, createButtonArea, createComponent, createComponent, createDialog, getButton, getButtonArea, getData, getDataMap, getDialogArea, getParent, getPressed, getSelectedItem, getSelectedItems, okPressed, setData, setSelectedItem, setSelectedItems, showDialog
-
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, toFront
-
Methods 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
-
-
-
-
Field Detail
-
list
protected ListWithTools<T> list
-
-
Method Detail
-
init
protected void init(javafx.stage.Window parent, javafx.stage.Modality modality)
- Overrides:
init
in classCustomDialog<T>
-
initList
protected void initList(ToolOption<T>... options)
Erstellt die Liste und fuellt die Liste direkt mit den Items, welche im super-Konstruktor mitgegeben wurden!
Es gibt dafür keinen Setter, weil diese Liste im Konstruktor aufgerufen werden muss.
Weil dort die createDialog-Methode von CustomDialog neu aufgerufen werden muss!- Parameters:
options
-
-
getList
public ListWithTools<T> getList()
-
setInput
public void setInput(T... input)
-
initDialog
protected javafx.scene.layout.BorderPane initDialog()
- Specified by:
initDialog
in classCustomDialog<T>
-
doOK
protected boolean doOK()
- Specified by:
doOK
in classCustomDialog<T>
-
validation
protected boolean validation()
- Specified by:
validation
in classCustomDialog<T>
-
-