Class AlertTextArea
java.lang.Object
javafx.stage.Window
javafx.stage.Stage
com.imyeyu.fx.ui.components.alert.AbstractAlert
com.imyeyu.fx.ui.components.alert.AbstractAlertInput<javafx.scene.control.TextArea>
com.imyeyu.fx.ui.components.alert.AlertTextArea
- All Implemented Interfaces:
TimiFXUI, TimiFXUI.Colorful, javafx.event.EventTarget
文本域输入弹窗
- Since:
- 2022-01-20 00:36
- Author:
- 夜雨
-
Nested Class Summary
Nested classes/interfaces inherited from interface TimiFXUI
TimiFXUI.BG, TimiFXUI.Colorful, TimiFXUI.CSS, TimiFXUI.Shadow, TimiFXUI.Stroke -
Property Summary
Properties inherited from class AbstractAlert
typeProperties 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 -
Field Summary
Fields inherited from class AbstractAlertInput
content, input, tipsFields inherited from class AbstractAlert
btnPane, centerButtons, enableSizeToScene, leftButtons, PADDING_BUTTON, PADDING_CONTENT, rightButtons, rootFields inherited from interface TimiFXUI
CSS_FONT, CSS_STYLE, MULTILINGUAL, RESOURCEFields inherited from interface TimiFXUI.Colorful
BLACK, BLUE, BORDER, BROWN, DARK_GRAY, DARK_GREEN, FOCUSED_DARK, FOCUSED_DEFAULT, FOCUSED_LIGHT, GRAY, GRAY_WHITE, GREEN, ICON, ICON_DISABLED, ICON_HOVER, LIGHT_BLUE, LIGHT_GRAY, ORANGE, PINK, RED, TRANSPARENT, WHITE, YELLOW -
Constructor Summary
ConstructorsConstructorDescription默认构造AlertTextArea(AlertType type, String title, String content, String text, AlertButton... buttons) 文本域输入弹窗AlertTextArea(String text) 文本域输入弹窗AlertTextArea(String text, AlertButton... buttons) 文本域输入弹窗AlertTextArea(String content, String text) 文本域输入弹窗AlertTextArea(String content, String text, AlertButton... buttons) 文本域输入弹窗 -
Method Summary
Modifier and TypeMethodDescriptionstatic AlertTextArea一般错误static AlertTextArea一般错误static AlertTextArea异常错误static AlertTextArea异常错误static com.imyeyu.java.bean.CallbackArg<String> 反馈错误事件static AlertTextArea一般提示static voidsetOnFeedback4Error(com.imyeyu.java.bean.CallbackArg<String> onFeedback4Error) 设置反馈错误事件,全局事件,设置一次即可Methods inherited from class AbstractAlertInput
getInput, getText, getTips, setTipsMethods inherited from class AbstractAlert
addShownListener, autoSize, clearButton, getAction, getBtnPane, getCenterButtons, getLeftButtons, getRightButtons, getRoot, getType, isEnableSizeToScene, layout, onEscape, putButtons, putButtons, setButton, setCenterButtons, setEnableSizeToScene, setIcon, setLeftButtons, setOnActionEvent, setRightButtons, setType, showAwaitRelativeCenter, showAwaitRelativeCenter4PrimaryScreen, showAwaitRelativeCenter4Screen, showRelativeCenter, showRelativeCenter4PrimaryScreen, showRelativeCenter4Screen, typePropertyMethods 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
-
Constructor Details
-
AlertTextArea
public AlertTextArea()默认构造 -
AlertTextArea
-
AlertTextArea
-
AlertTextArea
文本域输入弹窗- Parameters:
text- 输入内容buttons- 可控按钮
-
AlertTextArea
文本域输入弹窗- Parameters:
content- 提示text- 输入内容buttons- 可控按钮
-
AlertTextArea
public AlertTextArea(AlertType type, String title, String content, String text, AlertButton... buttons) 文本域输入弹窗- Parameters:
type- 弹窗类型title- 标题content- 内容text- 预设输入框文本buttons- 可控按钮
-
-
Method Details
-
info
一般提示- Parameters:
owner- 依赖窗体content- 内容- Returns:
- 弹窗对象
-
error
一般错误- Parameters:
owner- 依赖窗体content- 内容- Returns:
- 弹窗对象
-
error
一般错误- Parameters:
owner- 依赖窗体tips- 提示content- 内容- Returns:
- 弹窗对象
-
error
异常错误- Parameters:
owner- 依赖窗体e- 异常- Returns:
- 弹窗对象
-
error
异常错误- Parameters:
owner- 依赖窗体tips- 提示e- 异常- Returns:
- 弹窗对象
-
setOnFeedback4Error
设置反馈错误事件,全局事件,设置一次即可- Parameters:
onFeedback4Error- 反馈错误事件
-
getOnFeedback4Error
反馈错误事件
-