public Object getValueObject(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindValueGenerateId.getValueObject() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } Boolean generateId; if (genDef instanceof ICFBamValueObj) { generateId = ((ICFBamValueObj) genDef).getOptionalGenerateId(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamValueObj"); } return (generateId); }
public Object getValueObject(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindISOTimezoneIso8601.getValueObject() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String iso8601; if (genDef instanceof ICFBamISOTimezoneObj) { iso8601 = ((ICFBamISOTimezoneObj) genDef).getRequiredIso8601(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamISOTimezoneObj"); } return (iso8601); }
public Object getValueObject(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindInt64DefMinValue.getValueObject() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } Long minValue; if (genDef instanceof ICFBamInt64DefObj) { minValue = ((ICFBamInt64DefObj) genDef).getOptionalMinValue(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamInt64DefObj"); } return (minValue); }
public Object getValueObject(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindISOCountryCurrencyISOCurrencyId.getValueObject() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } short iSOCurrencyId; if (genDef instanceof ICFBamISOCountryCurrencyObj) { iSOCurrencyId = ((ICFBamISOCountryCurrencyObj) genDef).getRequiredISOCurrencyId(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamISOCountryCurrencyObj"); } return (iSOCurrencyId); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindHasInt32DefUnknownValue"; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 1, "genContext.getGenDef()"); } if (genDef instanceof ICFBamInt32DefObj) { Integer unknownValue = ((ICFBamInt32DefObj) genDef).getOptionalUnknownValue(); if (unknownValue != null) { return ("yes"); } else { return ("no"); } } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "genContext.getGenDef()", genDef, "ICFBamInt32DefObj"); } }
public Object getValueObject(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindSchemaDefJMySqlSchemaObjMembers.getValueObject() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String jMySqlSchemaObjMembers; if (genDef instanceof ICFBamSchemaDefObj) { jMySqlSchemaObjMembers = ((ICFBamSchemaDefObj) genDef).getOptionalJMySqlSchemaObjMembers(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamSchemaDefObj"); } return (jMySqlSchemaObjMembers); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindSchemaDefLabel.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamSchemaDefObj) { String label = ((ICFBamSchemaDefObj) genDef).getOptionalLabel(); ret = label; } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamSchemaDefObj"); } return (ret); }
public void setSwingDataCollection(Collection<ICFBamServerListFuncObj> value) { final String S_ProcName = "setSwingDataCollection"; swingDataCollection = value; if (swingDataCollection == null) { arrayOfServerListFunc = new ICFBamServerListFuncObj[0]; } else { int len = value.size(); arrayOfServerListFunc = new ICFBamServerListFuncObj[len]; Iterator<ICFBamServerListFuncObj> iter = swingDataCollection.iterator(); int idx = 0; while (iter.hasNext() && (idx < len)) { arrayOfServerListFunc[idx++] = iter.next(); } if (idx < len) { throw CFLib.getDefaultExceptionFactory() .newRuntimeException( getClass(), S_ProcName, "Collection iterator did not fully populate the array copy"); } if (iter.hasNext()) { throw CFLib.getDefaultExceptionFactory() .newRuntimeException( getClass(), S_ProcName, "Collection iterator had left over items when done populating array copy"); } Arrays.sort(arrayOfServerListFunc, compareServerListFuncByQualName); } PickerTableModel tblDataModel = getDataModel(); if (tblDataModel != null) { tblDataModel.fireTableDataChanged(); } }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindServerObjFuncRetTableId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamServerObjFuncObj) { Long retTableId = ((ICFBamServerObjFuncObj) genDef).getOptionalRetTableId(); if (retTableId == null) { ret = null; } else { ret = retTableId.toString(); } } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamServerObjFuncObj"); } return (ret); }
public Object getValueObject(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindIndexColLabel.getValueObject() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String label; if (genDef instanceof ICFBamIndexColObj) { label = ((ICFBamIndexColObj) genDef).getOptionalLabel(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamIndexColObj"); } return (label); }
public ListIterator<ICFLibAnyObj> enumerateDetails(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFIterateISOCountryLanguage.enumerateDetails() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 1, "genContext.getGenDef()"); } List<ICFLibAnyObj> list = new LinkedList<ICFLibAnyObj>(); if (genDef instanceof ICFBamISOCountryObj) { Iterator<ICFBamISOCountryLanguageObj> elements = ((ICFBamISOCountryObj) genDef).getOptionalComponentsLanguage().iterator(); while (elements.hasNext()) { list.add(elements.next()); } } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "genContext.getGenDef()", genDef, "ICFBamISOCountryObj"); } return (list.listIterator()); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindValueGenerateId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamValueObj) { Boolean generateId = ((ICFBamValueObj) genDef).getOptionalGenerateId(); if (generateId == null) { ret = null; } else if (generateId.booleanValue()) { ret = "yes"; } else { ret = "no"; } } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamValueObj"); } return (ret); }
public Object getValueObject(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindPopSubDep3Name.getValueObject() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String name; if (genDef instanceof ICFBamPopSubDep3Obj) { name = ((ICFBamPopSubDep3Obj) genDef).getRequiredName(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamPopSubDep3Obj"); } return (name); }
public ICFLibAnyObj dereference(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFReferenceChainNextRel.dereference() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 1, "genContext.getGenDef()"); } ICFBamRelationObj obj; if (genDef instanceof ICFBamChainObj) { obj = ((ICFBamChainObj) genDef).getRequiredLookupNextRel(); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "genContext.getGenDef()", genDef, "ICFBamChainObj"); } return (obj); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindUuidColTableId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamUuidColObj) { long tableId = ((ICFBamUuidColObj) genDef).getRequiredTableId(); ret = Long.toString(tableId); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamUuidColObj"); } return (ret); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindHasTableViewAccessFrequencyId"; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 1, "genContext.getGenDef()"); } if (genDef instanceof ICFBamTableObj) { Short viewAccessFrequencyId = ((ICFBamTableObj) genDef).getOptionalViewAccessFrequencyId(); if (viewAccessFrequencyId != null) { return ("yes"); } else { return ("no"); } } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "genContext.getGenDef()", genDef, "ICFBamTableObj"); } }
public CFBamSwingFileImportJInternalFrame(ICFBamSwingSchema argSchema) { super(); final String S_ProcName = "construct-schema"; if (argSchema == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 1, "argSchema"); } setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); swingSchema = argSchema; fileImportJPanel = new FileImportJPanel(); setContentPane(fileImportJPanel); Dimension dim = new Dimension(800, 480); setSize(dim); int panelHeight = fileImportJPanel.doLayoutRetHeight(); // 60 is a fudge factor for the window decorations and menus dim = new Dimension(800, panelHeight + 60); setSize(dim); dim = new Dimension(400, panelHeight + 60); setMinimumSize(dim); setTitle("Please choose a file to import"); setIconifiable(false); setMaximizable(false); setResizable(true); setClosable(false); }
public void actionPerformed(ActionEvent e) { final String S_ProcName = "actionPerformed"; Container cont = getParent(); while ((cont != null) && (!(cont instanceof JInternalFrame))) { cont = cont.getParent(); } if (cont != null) { JInternalFrame frame = (JInternalFrame) cont; if (frame instanceof ICFBamSwingPopSubDep3JPanelCommon) { ICFBamSwingPopSubDep3JPanelCommon jpanelCommon = (ICFBamSwingPopSubDep3JPanelCommon) frame; jpanelCommon.setPanelMode(CFJPanel.PanelMode.Unknown); ICFBamPopSubDep3EditObj editObj = (ICFBamPopSubDep3EditObj) jpanelCommon.getSwingFocusAsPopSubDep3().getEdit(); if (editObj != null) { editObj.endEdit(); } } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "frame", frame, "ICFBamSwingPopSubDep3JPanelCommon"); } try { frame.setClosed(true); } catch (Exception x) { } } }
public CFBamSwingTZTimestampDefViewEditJInternalFrame( ICFBamSwingSchema argSchema, ICFBamTZTimestampDefObj 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; swingFocus = argFocus; if ((argFocus != null) && (!argFocus.getIsNew())) { argFocus = (ICFBamTZTimestampDefObj) argFocus.read(true); swingFocus = argFocus; } swingViewEditJPanel = argSchema.getTZTimestampDefFactory().newViewEditJPanel(argFocus); setContentPane(swingViewEditJPanel); Dimension dim = new Dimension(1024, 480); setSize(dim); dim = new Dimension(320, 240); setMinimumSize(dim); setTitle("View/Edit TZTimestampDef"); setJMenuBar(getFrameMenuBar()); setIconifiable(true); setMaximizable(true); setResizable(true); setClosable(false); }
public CFBamSwingPopSubDep3AskDeleteJPanel( ICFBamSwingSchema argSchema, ICFBamPopSubDep3Obj 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 PopSubDep3?"); actionOk = new ActionOk(); actionCancel = new ActionCancel(); buttonOk = new JButton(actionOk); buttonCancel = new JButton(actionCancel); attrJPanel = argSchema.getPopSubDep3Factory().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 CFBamSwingEnumDefAskDeleteJInternalFrame( ICFBamSwingSchema argSchema, ICFBamEnumDefObj 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.getEnumDefFactory().newAskDeleteJPanel(argFocus); setContentPane(swingAskDeleteJPanel); Dimension dim = new Dimension(1024, 480); setSize(dim); dim = new Dimension(320, 240); setMinimumSize(dim); setTitle("Confirm deletion of EnumDef"); setIconifiable(false); setMaximizable(true); setResizable(true); setClosable(false); }
public CFBamSwingStringColViewEditJPanel( ICFBamSwingSchema argSchema, ICFBamStringColObj 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.getStringColFactory().newAttrJPanel(argFocus); attrScrollPane = new CFHSlaveJScrollPane(attrJPanel); eltJTabbedPane = argSchema.getStringColFactory().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 void valueChanged(ListSelectionEvent lse) { final String S_ProcName = "valueChanged"; ICFBamTableColObj selectedObj; if (lse.getValueIsAdjusting()) { return; } if (dataTable == null) { return; } int dataRow = dataTable.getSelectedRow(); int modelIndex = dataTable.convertRowIndexToModel(dataRow); PickerTableModel tblDataModel = getDataModel(); Object selectedRowData = tblDataModel.getValueAt(modelIndex, COLID_ROW_HEADER); if (selectedRowData != null) { if (selectedRowData instanceof ICFBamTableColObj) { int selectedCount = dataTable.getSelectedRowCount(); if (selectedCount <= 0) { selectedObj = null; } else if (selectedCount == 1) { selectedObj = (ICFBamTableColObj) selectedRowData; } else { selectedObj = null; } } else { selectedObj = null; throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "selectedRowData", selectedRowData, "ICFBamTableColObj"); } } else { selectedObj = null; } setSwingFocus(selectedObj); adjustFeedback(); }
public CFBamSwingBoolTypeFactory(ICFBamSwingSchema argSchema) { final String S_ProcName = "construct-schema"; if (argSchema == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(this.getClass(), S_ProcName, 1, "argSchema"); } swingSchema = argSchema; }
public void setSwingFocus(ICFLibAnyObj value) { final String S_ProcName = "setSwingFocus"; if ((value == null) || (value instanceof ICFBamEnumDefObj)) { super.setSwingFocus(value); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException(getClass(), S_ProcName, "value", value, "ICFBamEnumDefObj"); } }
public void setSwingFocus(ICFLibAnyObj value) { final String S_ProcName = "setSwingFocus"; if ((value == null) || (value instanceof ICFBamTextTypeObj)) { super.setSwingFocus(value); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "value", value, "ICFBamTextTypeObj"); } ((ICFBamSwingTextTypeJPanelCommon) swingPickerJPanel).setSwingFocus((ICFBamTextTypeObj) value); }
public CFBamSwingTextTypePickerJInternalFrame( ICFBamSwingSchema argSchema, ICFBamTextTypeObj argFocus, ICFBamSchemaDefObj argContainer, Collection<ICFBamTextTypeObj> argDataCollection, ICFBamSwingTextTypeChosen 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 .getTextTypeFactory() .newPickerJPanel(argFocus, argContainer, argDataCollection, whenChosen); setSwingFocusAsTextType(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 TextType"); setIconifiable(true); setMaximizable(true); setResizable(true); setClosable(false); setPanelMode(CFJPanel.PanelMode.View); }
public void setBuff(CFBamScopeBuff value) { if (!((value == null) || (value instanceof CFBamDelSubDep3Buff))) { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "setBuff", "value", value, "CFBamDelSubDep3Buff"); } buff = value; copyBuffToPKey(); requiredOwnerTenant = null; requiredLookupRelation = null; optionalLookupDefSchema = null; requiredContainerContDelSubDep2 = null; }
public ICFBamScopeEditObj beginEdit() { if (edit != null) { throw CFLib.getDefaultExceptionFactory() .newUsageException(getClass(), "beginEdit", "An edit is already open"); } ICFBamDelSubDep3Obj lockobj; if (getIsNew()) { lockobj = (ICFBamDelSubDep3Obj) this; } else { lockobj = schema.getDelSubDep3TableObj().lockDelSubDep3(getPKey()); } edit = schema.getDelSubDep3TableObj().newEditInstance(lockobj); return ((ICFBamScopeEditObj) edit); }
public void actionPerformed(ActionEvent e) { final String S_ProcName = "actionPerformed"; if (getSwingFocusAsTZTimestampDef() != null) { if (null == getSwingFocusAsTZTimestampDef().getEdit()) { setPanelMode(CFJPanel.PanelMode.Edit); } else { throw CFLib.getDefaultExceptionFactory() .newUsageException( getClass(), S_ProcName, "Cannot begin an edit of an object already edited by another window instance"); } } }