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) {
     ICFBamJavaFXRelationPaneCommon jpanelCommon =
         (ICFBamJavaFXRelationPaneCommon) javafxPickerPane;
     jpanelCommon.setPaneMode(value);
   }
 }
 public void setJavaFXFocus(ICFLibAnyObj value) {
   final String S_ProcName = "setJavaFXFocus";
   if ((value == null) || (value instanceof ICFBamRelationObj)) {
     super.setJavaFXFocus(value);
   } else {
     throw CFLib.getDefaultExceptionFactory()
         .newUnsupportedClassException(
             getClass(), S_ProcName, "value", value, "ICFBamRelationObj");
   }
   ((ICFBamJavaFXRelationPaneCommon) javafxPickerPane).setJavaFXFocus((ICFBamRelationObj) value);
 }