public class Alert extends ControlBase implements AppAlert
| Modifier and Type | Field and Description |
|---|---|
protected AppDialogAction |
action |
protected List<String> |
buttonIds |
protected Map<String,AppDialogAction> |
consMap |
protected net.thevpc.common.props.WritableValue<AppComponent> |
content |
protected net.thevpc.common.props.WritableString |
defaultButton |
protected WritableImage |
headerIcon |
protected net.thevpc.common.i18n.WritableStr |
headerText |
protected AppDialogAction |
onClose |
protected net.thevpc.common.props.WritableValue<AppComponent> |
owner |
protected Supplier<Object> |
valueEvaluator |
anchor, contextMenu, itemType, parent, path, peer, peerType, properties| Constructor and Description |
|---|
Alert(AppComponent owner) |
Alert(Application app) |
Alert(String id,
Application app) |
accelerator, active, anchor, app, backgroundColor, bounds, childConstraints, componentType, contextMenu, copy, copyDefault, createListeners, editable, editing, enabled, events, focused, foregroundColor, icon, iconConfig, iconSet, id, largeIcon, locale, mnemonic, opaque, order, parent, parentConstraints, path, peerType, prefSize, prepareUnshowing, properties, requestFocus, resolveDefaultComponentConstructor, setOptions, setParent, setPeer, shown, title, titleStyle, tooltip, updateUI, visiblefullPropertyName, parentProperty, propagateEvents, propertyName, propertyType, toString, userObjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitshowDialog, showInputDialogaccelerator, active, anchor, app, backgroundColor, bounds, childConstraints, componentType, contextMenu, copy, editable, editing, enabled, events, focused, foregroundColor, icon, iconConfig, iconSet, id, largeIcon, locale, mnemonic, opaque, order, parent, parentConstraints, path, peerType, prefSize, properties, requestFocus, setOptions, shown, title, titleStyle, tooltip, visiblegetChildProperty, isWritable, onChange, onChange, onChangeAndInit, onChangeAndInit, onPropagatedChange, onPropagatedChange, onPropagatedChangeAndInit, onPropagatedChangeAndInit, propertyName, propertyType, readOnly, userObjects, with, withprotected net.thevpc.common.props.WritableValue<AppComponent> content
protected net.thevpc.common.props.WritableValue<AppComponent> owner
protected net.thevpc.common.props.WritableString defaultButton
protected WritableImage headerIcon
protected Map<String,AppDialogAction> consMap
protected AppDialogAction onClose
protected net.thevpc.common.i18n.WritableStr headerText
protected AppDialogAction action
public Alert(AppComponent owner)
public Alert(Application app)
public Alert(String id, Application app)
public net.thevpc.common.props.WritableValue<AppComponent> owner()
public net.thevpc.common.i18n.WritableStr headerText()
headerText in interface AppAlertpublic WritableImage headerIcon()
headerIcon in interface AppAlertpublic net.thevpc.common.props.WritableString defaultButton()
defaultButton in interface AppAlertpublic AppAlert setInputTextFieldContent(net.thevpc.common.i18n.Str headerId, net.thevpc.common.i18n.Str initialValue)
setInputTextFieldContent in interface AppAlertpublic AppAlert setInputTextAreaContent(net.thevpc.common.i18n.Str headerId, net.thevpc.common.i18n.Str initialValue)
setInputTextAreaContent in interface AppAlertpublic AppAlert setInputContent(AppDialogInputPane inputPanel)
setInputContent in interface AppAlertpublic net.thevpc.common.props.WritableValue<AppComponent> content()
public AppAlert setContent(AppComponent mainComponent)
setContent in interface AppAlertpublic AppAlert setContent(Object mainComponent)
setContent in interface AppAlertpublic AppAlert setContentText(net.thevpc.common.i18n.Str labelId)
setContentText in interface AppAlertpublic AppAlert withOkOnlyButton()
withOkOnlyButton in interface AppAlertpublic AppAlert withOkOnlyButton(AppDialogAction ok)
withOkOnlyButton in interface AppAlertpublic AppAlert withOkCancelButtons()
withOkCancelButtons in interface AppAlertpublic AppAlert withOkCancelButtons(AppDialogAction ok, AppDialogAction cancel)
withOkCancelButtons in interface AppAlertpublic AppAlert withYesNoButtons()
withYesNoButtons in interface AppAlertpublic AppAlert withYesNoButtons(AppDialogAction yes, AppDialogAction no)
withYesNoButtons in interface AppAlertpublic AppAlert withYesNoCancelButtons()
withYesNoCancelButtons in interface AppAlertpublic AppAlert withYesNoCancelButtons(AppDialogAction yes, AppDialogAction no, AppDialogAction cancel)
withYesNoCancelButtons in interface AppAlertpublic AppAlert withButtons(String... buttonIds)
withButtons in interface AppAlertpublic AppAlert setDefaultButton(String defaultId)
setDefaultButton in interface AppAlertpublic AppAlert setButtonHandler(String s, AppDialogAction r)
setButtonHandler in interface AppAlertpublic String showDialog(AppComponent owner)
showDialog in interface AppAlertpublic AppDialogResult showInputDialog(AppComponent owner)
showInputDialog in interface AppAlertpublic void closeDialog()
closeDialog in interface AppAlertpublic AppDialogAction getAction(String buttonId)
public AppDialogAction getAction()
public AppAlertPeer peer()
peer in interface AppAlertpeer in interface AppComponentpeer in class ComponentBasepublic AppAlertPeer peer(boolean prepareShowing)
peer in interface AppComponentpeer in class ComponentBaseCopyright © 2021 vpc open source initiative. All rights reserved.