Uses of Interface
org.adempiere.util.Callback
Package
Description
Provide utility and helper classes.
Provide server context implementation.
Provide classes for generation of model and interfaces for table.
Provide server context implementation.
Provide classes for generation of model and interfaces for table.
-
Uses of Callback in org.adempiere.util
Modifier and TypeMethodDescriptionvoid
Prompt for user input.default void
ICalloutUI.askForInput
(String message, MLookup lookup, int displayType, Callback<Object> callback) ask for input from uservoid
IProcessUI.askForInput
(String message, Callback<String> callback) ask for input from userdefault void
IProcessUI.askForInput
(String message, MLookup lookup, int displayType, Callback<Object> callback) Prompt user for input with a configurable DisplayType (String, Number, TableDir or Search)void
IProcessUI.askForSecretInput
(String message, Callback<String> callback) Prompt for secret input (for e.g password) from user. -
Uses of Callback in org.adempiere.webui.adwindow
Modifier and TypeMethodDescriptionvoid
ADTabpanel.editorTraverse
(Callback<WEditor> editorTaverseCallback) void
GridView.editorTraverse
(Callback<WEditor> editorTaverseCallback) call editorTaverseCallback for all field editors.void
IFieldEditorContainer.editorTraverse
(Callback<WEditor> editorTaverseCallback) Call editorTaverseCallback for all editors hosted by this containerdefault void
IFieldEditorContainer.editorTraverse
(Callback<WEditor> editorTaverseCallback, Collection<WEditor> editors) Default implementation forIFieldEditorContainer.editorTraverse(Callback)
void
QuickGridView.editorTraverse
(Callback<WEditor> editorTaverseCallback) void
AbstractADWindowContent.executeButtonProcess
(IProcessButton wButton, boolean startWOasking, int table_ID, int record_ID, boolean isProcessMandatory, Callback<Boolean> callback) Show process, form or info window dialog for button.void
AbstractADWindowContent.executeButtonProcess
(IProcessButton wButton, boolean startWOasking, int table_ID, int record_ID, String record_UU, boolean isProcessMandatory, Callback<Boolean> callback) Show process, form or info window dialog for button.void
handle on exit/close of windowvoid
AbstractADWindowContent.onSave
(boolean onSaveEvent, boolean onNavigationEvent, Callback<Boolean> callback) FireWindowValidatorEvent
and delegate actual save toAbstractADWindowContent.onSaveCallback(boolean, boolean, Callback)
void
AbstractADWindowContent.saveAndNavigate
(Callback<Boolean> callback) save (if needed) and execute callback -
Uses of Callback in org.adempiere.webui.adwindow.validator
Modifier and TypeMethodDescriptionvoid
WindowValidatorManager.fireWindowValidatorEvent
(WindowValidatorEvent event, Callback<Boolean> callback) fire window validator event for all registerWindowValidator
servicevoid
WindowValidator.onWindowEvent
(WindowValidatorEvent event, Callback<Boolean> callback) HandleWindowValidatorEvent
. -
Uses of Callback in org.adempiere.webui.apps
Modifier and TypeMethodDescriptionvoid
void
AbstractProcessDialog.askForInput
(String message, Callback<String> callback) void
AbstractProcessDialog.askForInput
(String message, MLookup lookup, int editorType, Callback<Object> callback) void
CalloutDialog.askForInput
(String message, MLookup lookup, int editorType, Callback<Object> callback) void
AbstractProcessDialog.askForSecretInput
(String message, Callback<String> callback) -
Uses of Callback in org.adempiere.webui.component
Modifier and TypeMethodDescriptionint
Messagebox.show
(String message, String title, int buttons, String icon, Callback<?> callback, boolean modal) Show message box dialogint
Show message box dialogint
Messagebox.show
(String message, String title, int buttons, String icon, WEditor editor, boolean isInputMandatory, Callback<?> callback, boolean modal) Show message box dialog with optional input editorstatic int
Messagebox.showDialog
(String message, String title, int buttons, String icon, Callback<?> callback, boolean modal) Show message box dialogstatic int
Messagebox.showDialog
(String message, String title, int buttons, String icon, Callback<Integer> callback) Show message box dialogstatic int
Messagebox.showDialog
(String message, String title, int buttons, String icon, WEditor editor, boolean isInputMandatory, Callback<?> callback, boolean modal) Show message box dialogstatic int
Messagebox.showDialog
(String message, String title, int buttons, String icon, WEditor editor, Callback<?> callback, boolean modal) Show message box dialog -
Uses of Callback in org.adempiere.webui.desktop
Modifier and TypeMethodDescriptionvoid
FavouriteController.addDeletedCallback
(Callback<Integer> callback) add callback for after remove node from favouritesvoid
FavouriteController.addInsertedCallback
(Callback<MTreeNode> callback) add callback for after add node to favouritesvoid
default void
void
IDesktop.openWindow
(int windowId, Callback<ADWindow> callback) void
IDesktop.openWindow
(int windowId, MQuery query, Callback<ADWindow> callback) void
TabbedDesktop.openWindow
(int windowId, Callback<ADWindow> callback) void
TabbedDesktop.openWindow
(int windowId, MQuery query, Callback<ADWindow> callback) -
Uses of Callback in org.adempiere.webui.panel
-
Uses of Callback in org.adempiere.webui.window
Modifier and TypeMethodDescriptionstatic boolean
Ask Question with question icon and (OK) (Cancel) buttonsstatic boolean
Ask Question with question icon and (OK) (Cancel) buttonsstatic boolean
Ask Question with question icon and (OK) (Cancel) buttonsstatic boolean
Dialog.ask
(String title, int windowNo, String adMessage, String additionalMessage, Callback<Boolean> callback, Object... args) Ask Question with question icon and (OK) (Cancel) buttonsstatic boolean
Dialog.ask
(String title, int windowNo, String adMessage, Callback<Boolean> callback, Object... args) Ask Question with question icon and (OK) (Cancel) buttonsstatic boolean
FDialog.ask
(int windowNo, org.zkoss.zk.ui.Component comp, String title, String adMessage, String msg, Callback<Boolean> callback) Deprecated, for removal: This API element is subject to removal in a future version.Ask Question with question icon and (OK) (Cancel) buttonsstatic boolean
FDialog.ask
(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String msg, Callback<Boolean> callback) Deprecated, for removal: This API element is subject to removal in a future version.Ask Question with question icon and (OK) (Cancel) buttonsstatic boolean
FDialog.ask
(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, Callback<Boolean> callback) Deprecated, for removal: This API element is subject to removal in a future version.static boolean
FDialog.ask
(String title, int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, Callback<Boolean> callback, Object... args) Deprecated, for removal: This API element is subject to removal in a future version.Ask Question with question icon and (OK) (Cancel) buttonsstatic void
Dialog.askForInput
(int windowNo, String adMessage, String title, Callback<String> callback) static void
Dialog.askForInput
(int windowNo, String adMessage, Callback<String> callback) static void
Dialog.askForInput
(int windowNo, WEditor weditor, String adMessage, String title, Callback<Object> callback) static void
Dialog.askForInput
(int windowNo, WEditor weditor, String adMessage, Callback<Object> callback) static void
Dialog.askForInput
(String message, MLookup lookup, int editorType, Callback<Object> callback, org.zkoss.zk.ui.Desktop desktop, int windowNo) static void
Dialog.askForInput
(String message, MLookup lookup, int editorType, Callback<Object> callback, org.zkoss.zk.ui.Desktop desktop, int windowNo, String title, Object defaultValue) static void
FDialog.askForInput
(int windowNo, WEditor weditor, String adMessage, String title, Callback<Object> callback) Deprecated, for removal: This API element is subject to removal in a future version.static void
FDialog.askForInput
(int windowNo, WEditor weditor, String adMessage, Callback<Object> callback) Deprecated, for removal: This API element is subject to removal in a future version.static void
FDialog.askForInput
(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String title, Callback<String> callback) Deprecated, for removal: This API element is subject to removal in a future version.static void
FDialog.askForInput
(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, Callback<String> callback) Deprecated, for removal: This API element is subject to removal in a future version.static void
FDialog.askForInput
(String message, MLookup lookup, int editorType, Callback<Object> callback, org.zkoss.zk.ui.Desktop desktop, int windowNo) Deprecated, for removal: This API element is subject to removal in a future version.static void
FDialog.askForInput
(String message, MLookup lookup, int editorType, Callback<Object> callback, org.zkoss.zk.ui.Desktop desktop, int windowNo, String title, Object defaultValue) Deprecated, for removal: This API element is subject to removal in a future version.static void
Dialog.askForInputTextConfirmation
(int windowNo, WEditor weditor, String adMessage, Object[] adMessageArgs, String title, Callback<Map.Entry<Boolean, String>> callback) Confirmation dialog before deleting the records.static void
FDialog.askForInputTextConfirmation
(int windowNo, WEditor weditor, String adMessage, Object[] adMessageArgs, String title, Callback<Map.Entry<Boolean, String>> callback) Deprecated, for removal: This API element is subject to removal in a future version.Confirmation dialog before deleting the records.static void
Dialog.askForInputWithCancel
(int windowNo, WEditor weditor, String adMessage, String title, Callback<Map.Entry<Boolean, Object>> callback) static void
FDialog.askForInputWithCancel
(int windowNo, WEditor weditor, String adMessage, String title, Callback<Map.Entry<Boolean, Object>> callback) Deprecated, for removal: This API element is subject to removal in a future version.static void
Dialog.askForSecretInput
(int windowNo, String adMessage, Callback<String> callback) Same as askForInput but uses password editor for input field.static void
Display dialog with an error iconstatic void
Dialog.error
(int windowNo, String adMessage, String additionalMessage, Callback<Integer> callback, String title) Display dialog with an error iconstatic void
FDialog.error
(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message, Callback<Integer> callback) Deprecated, for removal: This API element is subject to removal in a future version.Display error with error icon.static void
FDialog.error
(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message, Callback<Integer> callback, String title) Deprecated, for removal: This API element is subject to removal in a future version.Display error with error icon.static void
Dialog.info
(int windowNo, String adMessage, String additionalMessage, String title, Callback<Integer> callback) Display dialog with information icon.static void
CustomizeGridViewDialog.onCustomize
(ADTabpanel tabPanel, Callback<Boolean> callback) Show grid view customization dialog for tabPanelstatic void
CustomizeGridViewDialog.showCustomize
(int WindowNo, int AD_Tab_ID, Map<Integer, String> columnsWidth, ArrayList<Integer> gridFieldIds, GridView gridPanel, QuickGridView quickGridView, boolean isQuickForm, Callback<Boolean> callback) Show customize grid view dialogModifierConstructorDescriptionInfoSchedule
(MResourceAssignment mAssignment, boolean createNew, Callback<MResourceAssignment> callback) InfoSchedule
(MResourceAssignment mAssignment, boolean createNew, org.zkoss.zk.ui.Component parent, Callback<MResourceAssignment> callback) ConstructorWAccountDialog
(String title, MAccountLookup mAccount, int C_AcctSchema_ID, Callback<Integer> callback) Constructor -
Uses of Callback in org.idempiere.apps.form
Modifier and TypeMethodDescriptionvoid
BOMDrop.addBOMLines
(MProduct product, BigDecimal qty, Callback<BOMDrop.BOMLine> callback)