public void setPaneMode(CFPane.PaneMode value) {
   CFPane.PaneMode oldMode = getPaneMode();
   if (oldMode == value) {
     return;
   }
   try {
     super.setPaneMode(value);
     ((ICFBamJavaFXInt32ColPaneCommon) javafxAddPane).setPaneMode(value);
   } catch (Throwable t) {
     super.setPaneMode(oldMode);
     ((ICFBamJavaFXInt32ColPaneCommon) javafxAddPane).setPaneMode(oldMode);
     throw t;
   }
   if (value == CFPane.PaneMode.View) {
     if (buttonSave != null) {
       buttonSave.setDisable(true);
     }
     if (buttonCancel != null) {
       buttonCancel.setDisable(false);
     }
     if (buttonClose != null) {
       buttonClose.setDisable(true);
     }
   } else if (value == CFPane.PaneMode.Edit) {
     if (buttonSave != null) {
       buttonSave.setDisable(false);
     }
     if (buttonCancel != null) {
       buttonCancel.setDisable(false);
     }
     if (buttonClose != null) {
       buttonClose.setDisable(false);
     }
   } else if (value == CFPane.PaneMode.Add) {
     if (buttonSave != null) {
       buttonSave.setDisable(false);
     }
     if (buttonCancel != null) {
       buttonCancel.setDisable(false);
     }
     if (buttonClose != null) {
       buttonClose.setDisable(false);
     }
   } else {
     if (buttonSave != null) {
       buttonSave.setDisable(true);
     }
     if (buttonCancel != null) {
       buttonCancel.setDisable(false);
     }
     if (buttonClose != null) {
       buttonClose.setDisable(true);
     }
   }
 }
 public void setPaneMode(CFPane.PaneMode value) {
   CFPane.PaneMode oldMode = getPaneMode();
   if (oldMode == value) {
     return;
   }
   try {
     super.setPaneMode(value);
     ((ICFDbTestJavaFXNmTokenTypePaneCommon) javafxViewEditPane).setPaneMode(value);
   } catch (Throwable t) {
     super.setPaneMode(oldMode);
     ((ICFDbTestJavaFXNmTokenTypePaneCommon) javafxViewEditPane).setPaneMode(oldMode);
     throw t;
   }
   adjustButtons();
 }
 public void setPaneMode(CFPane.PaneMode value) {
   final String S_ProcName = "setPaneMode";
   CFPane.PaneMode oldValue = getPaneMode();
   if (oldValue == value) {
     return;
   }
   if (value != CFPane.PaneMode.View) {
     throw CFLib.getDefaultExceptionFactory()
         .newUsageException(getClass(), S_ProcName, "PickerForms only support PaneMode View");
   }
   super.setPaneMode(value);
   if (javafxPickerPane != null) {
     ICFBamJavaFXBlobDefPaneCommon jpanelCommon = (ICFBamJavaFXBlobDefPaneCommon) javafxPickerPane;
     jpanelCommon.setPaneMode(value);
   }
 }
 public void setPaneMode(CFPane.PaneMode value) {
   final String S_ProcName = "setPaneMode";
   CFPane.PaneMode oldMode = getPaneMode();
   if (oldMode == value) {
     return;
   }
   if ((value != CFPane.PaneMode.Unknown)
       && (value != CFPane.PaneMode.View)
       && (value != CFPane.PaneMode.Delete)) {
     throw CFLib.getDefaultExceptionFactory()
         .newUsageException(
             getClass(),
             S_ProcName,
             "AskDeleteForms only support PaneMode Unknown, View or Delete");
   }
   super.setPaneMode(value);
   if (attrPane != null) {
     ((ICFDbTestJavaFXOptFullRangePaneCommon) attrPane).setPaneMode(value);
   }
 }
 public void setPaneMode(CFPane.PaneMode value) {
   super.setPaneMode(value);
   adjustListButtons();
 }