public CFAccSwingSecGroupFormViewEditJPanel( ICFAccSwingSchema argSchema, ICFSecuritySecGroupFormObj argFocus) { super(); final String S_ProcName = "construct-schema-focus"; if (argSchema == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 1, "argSchema"); } // argFocus is optional; focus may be set later during execution as // conditions of the runtime change. swingSchema = argSchema; setSwingFocus(argFocus); setSize(1024, 480); splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT); attrJPanel = argSchema.getSecGroupFormFactory().newAttrJPanel(argFocus); attrScrollPane = new CFHSlaveJScrollPane(attrJPanel); eltJTabbedPane = argSchema.getSecGroupFormFactory().newEltJTabbedPane(argFocus); splitPane.setTopComponent(attrScrollPane); splitPane.setBottomComponent(eltJTabbedPane); add(splitPane); splitPane.setBounds(0, 0, 1024, 455); splitPane.setDividerLocation(200); if (getSwingFocus() != null) { setPanelMode(CFJPanel.PanelMode.View); } doLayout(); }
public CFAccSwingDomainBaseAskDeleteJInternalFrame( ICFAccSwingSchema argSchema, ICFInternetDomainBaseObj argFocus) { super(); final String S_ProcName = "construct-schema-focus"; if (argSchema == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 1, "argSchema"); } setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); // argFocus is optional; focus may be set later during execution as // conditions of the runtime change. swingSchema = argSchema; setSwingFocus(argFocus); swingAskDeleteJPanel = argSchema.getDomainBaseFactory().newAskDeleteJPanel(argFocus); setContentPane(swingAskDeleteJPanel); Dimension dim = new Dimension(1024, 480); setSize(dim); dim = new Dimension(320, 240); setMinimumSize(dim); setTitle("Confirm deletion of DomainBase"); setIconifiable(false); setMaximizable(true); setResizable(true); setClosable(false); }
public JPanel getTabViewComponentsMinorVersionListJPanel() { if (tabViewComponentsMinorVersionListJPanel == null) { Collection<ICFInternetMinorVersionObj> dataCollection; ICFAccMajorVersionObj focus = (ICFAccMajorVersionObj) getSwingFocusAsMajorVersion(); if (focus != null) { dataCollection = focus.getOptionalComponentsMinorVersion(swingIsInitializing); } else { dataCollection = null; } ICFInternetMajorVersionObj swingContainer; if ((focus != null) && (focus instanceof ICFInternetMajorVersionObj)) { swingContainer = (ICFInternetMajorVersionObj) focus; } else { swingContainer = null; } tabViewComponentsMinorVersionListJPanel = swingSchema .getMinorVersionFactory() .newListJPanel( null, swingContainer, dataCollection, new RefreshComponentsMinorVersionList(), false); } return (tabViewComponentsMinorVersionListJPanel); }
public void loadData(boolean forceReload) { ICFAccSchemaObj schemaObj = swingSchema.getSchema(); if ((listOfISOLanguage == null) || forceReload) { arrayOfISOLanguage = null; listOfISOLanguage = schemaObj.getISOLanguageTableObj().readAllISOLanguage(swingIsInitializing); if (listOfISOLanguage != null) { Object objArray[] = listOfISOLanguage.toArray(); if (objArray != null) { int len = objArray.length; arrayOfISOLanguage = new ICFSecurityISOLanguageObj[len]; for (int i = 0; i < len; i++) { arrayOfISOLanguage[i] = (ICFSecurityISOLanguageObj) objArray[i]; } Arrays.sort(arrayOfISOLanguage, compareISOLanguageByQualName); } } } }
public CFAccSwingISOCountryLanguagePickerJInternalFrame( ICFAccSwingSchema argSchema, ICFSecurityISOCountryLanguageObj argFocus, ICFSecurityISOCountryObj argContainer, Collection<ICFSecurityISOCountryLanguageObj> argDataCollection, ICFAccSwingISOCountryLanguageChosen whenChosen) { super(); final String S_ProcName = "construct-schema-focus"; if (argSchema == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 1, "argSchema"); } if (whenChosen == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 5, "whenChosen"); } setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); // argFocus is optional; focus may be set later during execution as // conditions of the runtime change. swingSchema = argSchema; swingPickerJPanel = argSchema .getISOCountryLanguageFactory() .newPickerJPanel(argFocus, argContainer, argDataCollection, whenChosen); setSwingFocusAsISOCountryLanguage(argFocus); setSwingDataCollection(argDataCollection); setSwingContainer(argContainer); setContentPane(swingPickerJPanel); Dimension dim = new Dimension(1024, 480); setSize(dim); dim = new Dimension(320, 240); setMinimumSize(dim); setTitle("Pick a ISOCountryLanguage"); setIconifiable(true); setMaximizable(true); setResizable(true); setClosable(false); setPanelMode(CFJPanel.PanelMode.View); }