Class YesCancel

    • Constructor Detail

      • YesCancel

        protected YesCancel​(Primitive valueOf)
    • Method Detail

      • readValue

        public static YesCancel readValue​(java.lang.String s)
      • getButtonIndex

        public int getButtonIndex()
        Description copied from interface: DialogResult
        the index of the button. By convention 0 = Yes. 1 = No, 2 = Cancel/sandbox
        Specified by:
        getButtonIndex in interface DialogResult
        Overrides:
        getButtonIndex in class Yes
        Returns:
        button to be preselected in dialogue