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 setJavaFXFocus(ICFLibAnyObj value) { final String S_ProcName = "setJavaFXFocus"; if ((value == null) || (value instanceof ICFDbTestNmTokenTypeObj)) { super.setJavaFXFocus(value); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "value", value, "ICFDbTestNmTokenTypeObj"); } ((ICFDbTestJavaFXNmTokenTypePaneCommon) javafxViewEditPane).setJavaFXFocus(value); ICFDbTestNmTokenTypeObj argFocus = (ICFDbTestNmTokenTypeObj) value; if ((argFocus != null) && (!argFocus.getIsNew())) { argFocus = (ICFDbTestNmTokenTypeObj) argFocus.read(true); super.setJavaFXFocus(argFocus); } }
public void setJavaFXFocus(ICFLibAnyObj value) { final String S_ProcName = "setJavaFXFocus"; if ((value == null) || (value instanceof ICFBamUuidColObj)) { super.setJavaFXFocus(value); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException(getClass(), S_ProcName, "value", value, "ICFBamUuidColObj"); } }
public void setJavaFXFocus(ICFLibAnyObj value) { final String S_ProcName = "setJavaFXFocus"; if ((value == null) || (value instanceof ICFBamBlobDefObj)) { super.setJavaFXFocus(value); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException(getClass(), S_ProcName, "value", value, "ICFBamBlobDefObj"); } ((ICFBamJavaFXBlobDefPaneCommon) javafxPickerPane).setJavaFXFocus((ICFBamBlobDefObj) value); }
public void setJavaFXFocus(ICFLibAnyObj value) { final String S_ProcName = "setJavaFXFocus"; if ((value == null) || (value instanceof ICFSecuritySysClusterObj)) { super.setJavaFXFocus(value); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "value", value, "ICFSecuritySysClusterObj"); } adjustFinderButtons(); }
public void setJavaFXFocus(ICFLibAnyObj value) { final String S_ProcName = "setJavaFXFocus"; if ((value == null) || (value instanceof ICFDbTestNumberTypeObj)) { super.setJavaFXFocus(value); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "value", value, "ICFDbTestNumberTypeObj"); } if (dataTable == null) { return; } }
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(); }