Class AlertTips
java.lang.Object
javafx.stage.Window
javafx.stage.Stage
com.imyeyu.fx.ui.components.alert.AbstractAlert
com.imyeyu.fx.ui.components.alert.AlertTips
- All Implemented Interfaces:
TimiFXUI, TimiFXUI.Colorful, javafx.event.EventTarget
- Direct Known Subclasses:
AlertConfirm
-
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
FieldsFields 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
ConstructorsConstructorDescriptionAlertTips(AlertType type, AlertButton... buttons) 弹窗提示弹窗提示AlertTips(AlertType type, String content, AlertButton... buttons) 弹窗提示AlertTips(AlertType type, String title, String content, AlertButton... buttons) 弹窗提示弹窗提示AlertTips(String content, AlertButton... buttons) 弹窗提示 -
Method Summary
Methods 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
-
Field Details
-
tips
protected final javafx.scene.control.Label tips提示标签
-
-
Constructor Details
-
AlertTips
-
AlertTips
弹窗提示- Parameters:
content- 内容buttons- 可控按钮
-
AlertTips
-
AlertTips
-
AlertTips
弹窗提示- Parameters:
type- 类型content- 内容buttons- 可控按钮
-
AlertTips
弹窗提示- Parameters:
type- 类型title- 标题content- 内容buttons- 可控按钮
-
-
Method Details
-
setTips
-
info
-
warn
-
warnDanger
-
error
-
getTips
public javafx.scene.control.Label getTips()提示标签
-