Package com.hybris.cockpitng.util
Class MessageboxUtils
- java.lang.Object
-
- com.hybris.cockpitng.util.MessageboxUtils
-
public final class MessageboxUtils extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static org.zkoss.zul.Messagebox.Button[]NO_YES_OPTIONConstant array ofMessagebox.Button.NO,Messagebox.Button.YESbuttons in the standard order.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.zkoss.zul.Messagebox.Button[]order(org.zkoss.zul.Messagebox.Button... buttons)Returns buttons in a standard order.
-
-
-
Field Detail
-
NO_YES_OPTION
public static final org.zkoss.zul.Messagebox.Button[] NO_YES_OPTION
Constant array ofMessagebox.Button.NO,Messagebox.Button.YESbuttons in the standard order.- See Also:
order(Button...),Messagebox.Button.NO,Messagebox.Button.YES
-
-
Method Detail
-
order
public static org.zkoss.zul.Messagebox.Button[] order(org.zkoss.zul.Messagebox.Button... buttons)
Returns buttons in a standard order. The standard order is as follow:
Messagebox.Button.NOMessagebox.Button.CANCELMessagebox.Button.ABORTMessagebox.Button.IGNOREMessagebox.Button.RETRYMessagebox.Button.YESMessagebox.Button.OK
- Parameters:
buttons- the buttons to order.- Returns:
- an array with buttons in the standard order.
-
-