public void setSwingFocus(ICFLibAnyObj value) {
   final String S_ProcName = "setSwingFocus";
   if ((value == null) || (value instanceof ICFBamTZTimestampDefObj)) {
     super.setSwingFocus(value);
   } else {
     throw CFLib.getDefaultExceptionFactory()
         .newUnsupportedClassException(
             getClass(), S_ProcName, "value", value, "ICFBamTZTimestampDefObj");
   }
   ((ICFBamSwingTZTimestampDefJPanelCommon) swingViewEditJPanel).setSwingFocus(value);
   ICFBamTZTimestampDefObj argFocus = (ICFBamTZTimestampDefObj) value;
   if ((argFocus != null) && (!argFocus.getIsNew())) {
     argFocus = (ICFBamTZTimestampDefObj) argFocus.read(true);
     super.setSwingFocus(argFocus);
   }
 }
 public void setSwingFocus(ICFLibAnyObj value) {
   final String S_ProcName = "setSwingFocus";
   if ((value == null) || (value instanceof ICFBamEnumDefObj)) {
     super.setSwingFocus(value);
   } else {
     throw CFLib.getDefaultExceptionFactory()
         .newUnsupportedClassException(getClass(), S_ProcName, "value", value, "ICFBamEnumDefObj");
   }
 }
 public void setSwingFocus(ICFLibAnyObj value) {
   final String S_ProcName = "setSwingFocus";
   if ((value == null) || (value instanceof ICFBamTextTypeObj)) {
     super.setSwingFocus(value);
   } else {
     throw CFLib.getDefaultExceptionFactory()
         .newUnsupportedClassException(
             getClass(), S_ProcName, "value", value, "ICFBamTextTypeObj");
   }
   ((ICFBamSwingTextTypeJPanelCommon) swingPickerJPanel).setSwingFocus((ICFBamTextTypeObj) value);
 }
 public void setPanelMode(CFJPanel.PanelMode value) {
   final String S_ProcName = "setPanelMode";
   CFJPanel.PanelMode oldMode = getPanelMode();
   if (oldMode == value) {
     return;
   }
   super.setPanelMode(value);
   if ((value != CFJPanel.PanelMode.Unknown)
       && (value != CFJPanel.PanelMode.View)
       && (value != CFJPanel.PanelMode.Delete)) {
     throw CFLib.getDefaultExceptionFactory()
         .newUsageException(
             getClass(),
             S_ProcName,
             "AskDeleteJInternalFrames only support PanelMode Unknown, View or Delete");
   }
   ((ICFBamSwingEnumDefJPanelCommon) swingAskDeleteJPanel).setPanelMode(value);
 }
 public void setPanelMode(CFJPanel.PanelMode value) {
   final String S_ProcName = "setPanelMode";
   CFJPanel.PanelMode oldValue = getPanelMode();
   if (oldValue == value) {
     return;
   }
   if (value != CFJPanel.PanelMode.View) {
     throw CFLib.getDefaultExceptionFactory()
         .newUsageException(
             getClass(), S_ProcName, "PickerJInternalFrames only support PanelMode View");
   }
   super.setPanelMode(value);
   if (swingPickerJPanel != null) {
     ICFBamSwingTextTypeJPanelCommon jpanelCommon =
         (ICFBamSwingTextTypeJPanelCommon) swingPickerJPanel;
     jpanelCommon.setPanelMode(value);
   }
 }
 public void setPanelMode(CFJPanel.PanelMode value) {
   CFJPanel.PanelMode oldMode = getPanelMode();
   if (oldMode == value) {
     return;
   }
   super.setPanelMode(value);
   ((ICFBamSwingTZTimestampDefJPanelCommon) swingViewEditJPanel).setPanelMode(value);
   if (value == CFJPanel.PanelMode.View) {
     if (actionEdit != null) {
       actionEdit.setEnabled(true);
     }
     if (actionSave != null) {
       actionSave.setEnabled(false);
     }
     if (actionDelete != null) {
       actionDelete.setEnabled(true);
     }
     if (actionClose != null) {
       actionClose.setEnabled(true);
     }
   } else if (value == CFJPanel.PanelMode.Edit) {
     if (actionEdit != null) {
       actionEdit.setEnabled(false);
     }
     if (actionSave != null) {
       actionSave.setEnabled(true);
     }
     if (actionDelete != null) {
       actionDelete.setEnabled(false);
     }
     if (actionClose != null) {
       actionClose.setEnabled(true);
     }
   } else if (value == CFJPanel.PanelMode.Add) {
     if (actionEdit != null) {
       actionEdit.setEnabled(false);
     }
     if (actionSave != null) {
       actionSave.setEnabled(true);
     }
     if (actionDelete != null) {
       actionDelete.setEnabled(false);
     }
     if (actionClose != null) {
       actionClose.setEnabled(true);
     }
   } else {
     if (actionEdit != null) {
       actionEdit.setEnabled(false);
     }
     if (actionSave != null) {
       actionSave.setEnabled(false);
     }
     if (actionDelete != null) {
       actionDelete.setEnabled(false);
     }
     if (actionClose != null) {
       actionClose.setEnabled(true);
     }
   }
 }