public CFSecuritySwingSecGroupMemberViewEditJPanel( ICFSecuritySwingSchema argSchema, ICFSecuritySecGroupMemberObj 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.getSecGroupMemberFactory().newAttrJPanel(argFocus); attrScrollPane = new CFHSlaveJScrollPane(attrJPanel); eltJTabbedPane = argSchema.getSecGroupMemberFactory().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 CFSecuritySwingSecGroupFormAskDeleteJPanel( ICFSecuritySwingSchema 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; swingFocus = argFocus; // Construct the various objects textAreaMessage = new JTextArea("Are you sure you want to delete this Security Group Form?"); actionOk = new ActionOk(); actionCancel = new ActionCancel(); buttonOk = new JButton(actionOk); buttonCancel = new JButton(actionCancel); attrJPanel = argSchema.getSecGroupFormFactory().newAttrJPanel(argFocus); scrollPane = new CFHSlaveJScrollPane(attrJPanel); // Lay out the widgets setSize(1024, 480); Dimension min = new Dimension(480, 300); setMinimumSize(min); add(textAreaMessage); textAreaMessage.setBounds(0, 0, 1024, 50); int xparts = (768 - (2 * 125)) / 3; add(buttonOk); buttonOk.setBounds(xparts, 55, 125, 40); add(buttonCancel); buttonCancel.setBounds(xparts + 125 + xparts, 55, 125, 40); add(scrollPane); scrollPane.setBounds(0, 100, 1024, 480 - 100); }
public CFSecuritySwingTSecGroupIncludeAskDeleteJInternalFrame( ICFSecuritySwingSchema argSchema, ICFSecurityTSecGroupIncludeObj 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.getTSecGroupIncludeFactory().newAskDeleteJPanel(argFocus); setContentPane(swingAskDeleteJPanel); Dimension dim = new Dimension(1024, 480); setSize(dim); dim = new Dimension(320, 240); setMinimumSize(dim); setTitle("Confirm deletion of Tenant Security Group Include"); setIconifiable(false); setMaximizable(true); setResizable(true); setClosable(false); }
public void loadData(boolean forceReload) { ICFSecuritySchemaObj schemaObj = swingSchema.getSchema(); if ((listOfISOTimezone == null) || forceReload) { arrayOfISOTimezone = null; listOfISOTimezone = schemaObj.getISOTimezoneTableObj().readAllISOTimezone(swingIsInitializing); if (listOfISOTimezone != null) { Object objArray[] = listOfISOTimezone.toArray(); if (objArray != null) { int len = objArray.length; arrayOfISOTimezone = new ICFSecurityISOTimezoneObj[len]; for (int i = 0; i < len; i++) { arrayOfISOTimezone[i] = (ICFSecurityISOTimezoneObj) objArray[i]; } Arrays.sort(arrayOfISOTimezone, compareISOTimezoneByQualName); } } } }
public CFSecuritySwingTSecGroupMemberPickerJInternalFrame( ICFSecuritySwingSchema argSchema, ICFSecurityTSecGroupMemberObj argFocus, ICFSecurityTSecGroupObj argContainer, Collection<ICFSecurityTSecGroupMemberObj> argDataCollection, ICFSecuritySwingTSecGroupMemberChosen 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 .getTSecGroupMemberFactory() .newPickerJPanel(argFocus, argContainer, argDataCollection, whenChosen); setSwingFocusAsTSecGroupMember(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 Tenant Security Group Member"); setIconifiable(true); setMaximizable(true); setResizable(true); setClosable(false); setPanelMode(CFJPanel.PanelMode.View); }
public CFSecuritySwingHostNodeFinderJInternalFrame(ICFSecuritySwingSchema argSchema) { 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); swingSchema = argSchema; swingFinderJPanel = argSchema.getHostNodeFactory().newFinderJPanel(); setContentPane(swingFinderJPanel); Dimension dim = new Dimension(1024, 480); setSize(dim); dim = new Dimension(320, 240); setMinimumSize(dim); setTitle("Find Host Node"); setJMenuBar(getFinderMenuBar()); setIconifiable(true); setMaximizable(true); setResizable(true); setClosable(false); adjustFinderMenuBar(); }