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); ((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 ICFBamInt32ColObj)) { super.setJavaFXFocus(value); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "value", value, "ICFBamInt32ColObj"); } ((ICFBamJavaFXInt32ColPaneCommon) javafxAddPane).setJavaFXFocus(value); ICFBamInt32ColObj argFocus = (ICFBamInt32ColObj) value; if ((argFocus != null) && (!argFocus.getIsNew())) { argFocus = (ICFBamInt32ColObj) 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 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) { ((ICFBamJavaFXUInt64ColPaneCommon) attrPane).setPaneMode(value); } }
public void setPaneMode(CFPane.PaneMode value) { super.setPaneMode(value); adjustListButtons(); }