public void setPaneMode(CFPane.PaneMode value) {
   CFPane.PaneMode oldMode = getPaneMode();
   if (oldMode == value) {
     return;
   }
   try {
     super.setPaneMode(value);
     ((ICFBamJavaFXTokenColPaneCommon) javafxViewEditPane).setPaneMode(value);
   } catch (Throwable t) {
     super.setPaneMode(oldMode);
     ((ICFBamJavaFXTokenColPaneCommon) javafxViewEditPane).setPaneMode(oldMode);
     throw t;
   }
   adjustButtons();
 }
 public void setJavaFXFocus(ICFLibAnyObj value) {
   final String S_ProcName = "setJavaFXFocus";
   if ((value == null) || (value instanceof ICFBamTokenColObj)) {
     super.setJavaFXFocus(value);
   } else {
     throw CFLib.getDefaultExceptionFactory()
         .newUnsupportedClassException(
             getClass(), S_ProcName, "value", value, "ICFBamTokenColObj");
   }
   ((ICFBamJavaFXTokenColPaneCommon) javafxViewEditPane).setJavaFXFocus(value);
   ICFBamTokenColObj argFocus = (ICFBamTokenColObj) value;
   if ((argFocus != null) && (!argFocus.getIsNew())) {
     argFocus = (ICFBamTokenColObj) argFocus.read(true);
     super.setJavaFXFocus(argFocus);
   }
 }