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