public void setRequiredParentForm(ICFSecuritySecFormObj value) {
   if (buff == null) {
     getSecGroupFormBuff();
   }
   if (value != null) {
     getPKey().setRequiredClusterId(value.getRequiredClusterId());
     getSecGroupFormBuff().setRequiredClusterId(value.getRequiredClusterId());
     getSecGroupFormBuff().setRequiredSecFormId(value.getRequiredSecFormId());
   } else {
   }
   requiredParentForm = value;
 }
 public void setJavaFXFocus(ICFLibAnyObj value) {
   final String S_ProcName = "setJavaFXFocus";
   if ((value == null) || (value instanceof ICFSecuritySecFormObj)) {
     super.setJavaFXFocus(value);
   } else {
     throw CFLib.getDefaultExceptionFactory()
         .newUnsupportedClassException(
             getClass(), S_ProcName, "value", value, "ICFSecuritySecFormObj");
   }
   ((ICFSecurityJavaFXSecFormPaneCommon) javafxAddPane).setJavaFXFocus(value);
   ICFSecuritySecFormObj argFocus = (ICFSecuritySecFormObj) value;
   if ((argFocus != null) && (!argFocus.getIsNew())) {
     argFocus = (ICFSecuritySecFormObj) argFocus.read(true);
     super.setJavaFXFocus(argFocus);
   }
 }
 public CFSecuritySecFormEditObj(ICFSecuritySecFormObj argOrig) {
   orig = argOrig;
   getBuff();
   CFSecuritySecFormBuff origBuff = orig.getBuff();
   buff.set(origBuff);
   requiredOwnerCluster = null;
   requiredContainerApplication = null;
 }
 public CFSecuritySecFormBuff getBuff() {
   if (buff == null) {
     buff =
         ((ICFSecuritySchema) getOrigAsSecForm().getSchema().getBackingStore())
             .getFactorySecForm()
             .newBuff();
     buff.set(orig.getBuff());
   }
   return (buff);
 }
  public CFSecurityJavaFXSecFormAddForm(
      ICFFormManager formManager,
      ICFSecurityJavaFXSchema argSchema,
      ICFSecuritySecFormObj argFocus,
      ICFFormClosedCallback closeCallback,
      boolean argAllowSave) {
    super();
    final String S_ProcName = "construct-schema-focus";
    allowSave = argAllowSave;
    if (formManager == null) {
      throw CFLib.getDefaultExceptionFactory()
          .newNullArgumentException(getClass(), S_ProcName, 1, "formManager");
    }
    cfFormManager = formManager;
    formClosedCallback = closeCallback;
    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;
    javaFXFocus = argFocus;
    if ((argFocus != null) && (!argFocus.getIsNew())) {
      argFocus = (ICFSecuritySecFormObj) argFocus.read(true);
      javaFXFocus = argFocus;
    }
    javafxAddPane = argSchema.getSecFormFactory().newAddPane(cfFormManager, argFocus);

    scrollMenu = new ScrollPane();
    scrollMenu.setVbarPolicy(ScrollBarPolicy.NEVER);
    scrollMenu.setHbarPolicy(ScrollBarPolicy.AS_NEEDED);
    scrollMenu.setFitToHeight(true);
    scrollMenu.setContent(getHBoxMenu());

    setTop(scrollMenu);
    setCenter(javafxAddPane);
  }
 public void forceCancelAndClose() {
   ICFSecuritySecFormObj focus = getJavaFXFocusAsSecForm();
   if (focus != null) {
     ICFSecuritySecFormEditObj editObj = (ICFSecuritySecFormEditObj) focus.getEdit();
     if (editObj != null) {
       if (editObj.getIsNew()) {
         editObj.endEdit();
         setJavaFXFocus(null);
         setPaneMode(CFPane.PaneMode.Unknown);
       } else {
         editObj.endEdit();
         setPaneMode(CFPane.PaneMode.View);
       }
     }
   }
   if (cfFormManager != null) {
     if (cfFormManager.getCurrentForm() == this) {
       cfFormManager.closeCurrentForm();
     }
   }
   if (formClosedCallback != null) {
     formClosedCallback.formClosed(null);
   }
 }
 public void setIsNew(boolean value) {
   orig.setIsNew(value);
 }
 public boolean getIsNew() {
   return (orig.getIsNew());
 }
 public void setPKey(CFSecuritySecFormPKey value) {
   orig.setPKey(value);
   copyPKeyToBuff();
 }
 public CFSecuritySecFormPKey getPKey() {
   return (orig.getPKey());
 }
 public ICFSecuritySchemaObj getSchema() {
   return (orig.getSchema());
 }
 public void endEdit() {
   orig.endEdit();
 }
 public ICFSecuritySecFormTableObj getSecFormTable() {
   return (orig.getSchema().getSecFormTableObj());
 }