public CFBorderPane getTabViewChildrenRefListPane() { if (tabViewChildrenRefListPane == null) { Collection<ICFDbTestTableColObj> dataCollection; ICFDbTestEnumTypeObj focus = (ICFDbTestEnumTypeObj) getJavaFXFocusAsEnumType(); if (focus != null) { dataCollection = focus.getOptionalChildrenRef(javafxIsInitializing); } else { dataCollection = null; } ICFDbTestTableObj javafxContainer; if ((focus != null) && (focus instanceof ICFDbTestTableObj)) { javafxContainer = (ICFDbTestTableObj) focus; } else { javafxContainer = null; } tabViewChildrenRefListPane = javafxSchema .getTableColFactory() .newListPane( cfFormManager, javafxContainer, null, dataCollection, new RefreshChildrenRefList(), false); } return (tabViewChildrenRefListPane); }
public CFDbTestJavaFXStringDefViewEditPane( ICFFormManager formManager, ICFDbTestJavaFXSchema argSchema, ICFDbTestStringDefObj argFocus) { super(); final String S_ProcName = "construct-schema-focus"; if (formManager == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 1, "formManager"); } cfFormManager = formManager; if (argSchema == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 2, "argSchema"); } // argFocus is optional; focus may be set later during execution as // conditions of the runtime change. javafxSchema = argSchema; setJavaFXFocus(argFocus); attrPane = argSchema.getStringDefFactory().newAttrPane(cfFormManager, argFocus); attrScrollPane = new ScrollPane(); attrScrollPane.setFitToWidth(true); attrScrollPane.setHbarPolicy(ScrollBarPolicy.NEVER); attrScrollPane.setVbarPolicy(ScrollBarPolicy.AS_NEEDED); attrScrollPane.setContent(attrPane); setOrientation(Orientation.VERTICAL); getItems().add(attrScrollPane); }