ilog.webui.dhtml.components

Class IlxWDialog.OKCancelDialog

  • All Implemented Interfaces:
    ilog.webui.dhtml.IlxWConstants, ilog.webui.dhtml.IlxWCSSModelProvider, ilog.webui.dhtml.IlxWDependencyProvider, ilog.webui.dhtml.IlxWJSObject, java.io.Serializable
    Enclosing class:
    IlxWDialog


    public static class IlxWDialog.OKCancelDialog
    extends IlxWDialog
    Custom dialog box which displays 3 components:
    • a body component. This component is either set up in the constructor, or set through the setBody method.
    • a "OK" button under the body. This button can be retrieved through the getOKButton method. By default clicking on this button does nothing, but user will typically add their custom handlers on it.
    • a "Cancel" button under the body. This button can be retrieved through the getCancelButton method. By default clicking on this button does nothing, but user will typically add their custom handlers on it.
    See Also:
    Serialized Form
    • Constructor Detail

      • IlxWDialog.OKCancelDialog

        public IlxWDialog.OKCancelDialog(IlxWComponent body)
        Constructs an OKCancelDialog with the given body component.
    • Method Detail

      • getOKButton

        public IlxWButton getOKButton()
        Gets the OK button.
      • getCancelButton

        public IlxWButton getCancelButton()
        Gets the cancel button.
      • setBody

        public void setBody(IlxWComponent component)
        Sets the body component.

© Copyright IBM Corp. 1987, 2017