版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
1、Abaqus GUI Toolkit Reference ManualPart I: Abaqus GUI Toolkit Reference ManualALL CLASSES1. All Classes1.1 AFXAppThis class is responsible for providing some high-level GUI control methods.1.1.1 AFXApp(.)Constructor.ArgumentTypeDefaultDescriptionappNameStringAbaqus/CAEApplicationregistrykey.vendorNa
2、meStringSIMULIAVendor registry ductNameString”Product name.majorNumberInt-1Version number.minorNumberInt-1Release number.updateNumberInt-1Update number.prereleaseBoolFalseOfficial/Prerelease flag.1.1.2 create()Creates windows for the application. Reimplemented from FXApp.ArgumentsNone.1.1.3 g
3、etAFXMainWindow()Returns a pointer to the AFXMainWindow.ArgumentsNone.11091.1.4 getBasePrerelease()Returns True if the base product is a prerelease.ArgumentsNone.1.1.5 getBaseProductName()Returns the base product name.ArgumentsNone.1.1.6 getBaseVersionNumbers(.)Returns the base products major, minor
4、, and update numbers.ArgumentTypeDefaultDescriptionmajorNumberIntVersion number.minorNumberIntRelease number.updateNumberIntUpdate number.1.1.7 getKernelInitializationCommand()Returns the command string that will be issued upon application startup.ArgumentsNone.1.1.8 getPrerelease()Returns True if t
5、his is a prerelease.ArgumentsNone.1.1.9 getProductName()Returns the product name.ArgumentsNone.1.1.10 getVersionNumbers()Returns the major, minor, and update numbers.ArgumentsNone.1.1.11init(.)Initializes the application and connects to the kernel.ArgumentTypeDefaultDescriptionargcIntargvString1.1.1
6、2 isLocked()Returns True if the GUI is locked or False if otherwise.Reimplemented from FXApp.ArgumentsNone.1.1.13 isProductCAE()Returns True if the base product is Abaqus/CAE.ArgumentsNone.1.1.14 isProductViewer()Returns True if the base product is Abaqus/Viewer.ArgumentsNone.1.1.15 isStudentEdition
7、()Returns True if the base product is a student edition.ArgumentsNone.1.1.16 lock()Locks the GUI (normally used during command and mode processing).ArgumentsNone.1.1.17 run()Runs the main application event loop until stop() is called,.Reimplemented from FXApp.ArgumentsNone.1.1.18 runUntil(.)Run an e
8、vent loop till some flag becomes non-zero.Reimplemented from FXApp.ArgumentTypeDefaultDescriptionconditionInt1.1.19 unlock()Unlocks the GUI.ArgumentsNone.Class flagsMessage IDs.ID_QUERY_GUILOCKUsed to query whether the GUI is locked.ID_SHOW_HOURGLASSUsed to change the cursor.1.2 AFXBoolKeywordThis c
9、lass is designed for command keywords that have Boolean values.1.2.1AFXBoolKeyword(.)Constructor.ArgumentTypeDefaultDescriptioncommandAFXCommandHost StringKeyword name.booleanTypeTypeON_OFFType of boolean used in the command.isRequiredBoolFalseTrue if the keyword is a required argument o
10、f the command.defaultValueBoolFalseDefault value.1.2.2getTypeName()Returns the name of the keyword type.Implements AFXKeyword.ArgumentsNone.1.2.3 getValue()Returns the keywords current value.ArgumentsNone.1.2.4 getValueAsString()Returns the text string that represents the keywords current value.Impl
11、ements AFXKeyword.ArgumentsNone.1.2.5 isValueChanged()Returns True if the keyword value differs from its previous value.Implements AFXKeyword.ArgumentsNone.1.2.6 setDefaultValue(.)Sets the keywords default value.ArgumentTypeDefaultDescriptiondefaultValueBoolDefault value.1.2.7 setDefaultValueByStrin
12、g(.)Sets the keywords default value (returns True if the given text string is valid).ArgumentTypeDefaultDescriptiondefaultValueStringStringDefault value in textstring form.1.2.8 setDefaultValueByString(.)Sets the keywords default value (returns True if the given text string is valid).ArgumentTypeDef
13、aultDescriptiondefaultValueStringStringDefault value in textstring form.1.2.9 setValue(.)Sets the keywords current value.ArgumentTypeDefaultDescriptionnewValueBoolNew value.1.2.10 setValueByString(.)Sets the keywords current value (returns True if the given text string is valid).ArgumentTypeDefaultD
14、escriptionnewValueStringStringNew value in text stringform.1.2.11 setValueByString(.)Sets the keywords current value (returns True if the given text string is valid).ArgumentTypeDefaultDescriptionnewValueStringStringNew value in text stringform.1.2.12 setValueToDefault(.)Sets the keyword value to it
15、s default.ArgumentTypeDefaultDescriptionignoreUnspecifiedBoolFalseNot used.1.2.13 setValueToPrevious()Sets the keyword value to its previous value.Implements AFXKeyword.ArgumentsNone.1.2.14 syncPreviousValue()Sets the keywords previous value to its current value.Implements AFXKeyword.ArgumentsNone.C
16、lass flagsFlags for the type of the boolean.ON_OFFKeyword value will be ON or OFF.TRUE_FALSEKeyword value will be True or False.1.3 AFXColorButtonThis class contains a label that precedes a color well, which allows the user to bring up a color dialog box by double clicking. When connected to an AFXS
17、tringKeyword, this widget will assign the value of the buttons current color to the keyword in hex format (for example, FF0000).1.3.1AFXColorButton(.)Constructor.ArgumentTypeDefaultDescriptionpFXCompositeParent widget.textStringLabel string.tgtFXObjectNoneMessage target.selInt0Message ID.optsInt0Opt
18、ions and hints.xInt0X coordinate of origin.yInt0Y coordinate of origin.wInt0Width of the widget.hInt0Width of the widget.plIntDEFAULT_SPACINGLeft padding (margin).prIntDEFAULT_SPACINGRight padding (margin).ptIntDEFAULT_SPACINGTop padding (margin).pbIntDEFAULT_SPACINGBottom (margin).padding1.3.2creat
19、e()Creates the color button widget.Reimplemented from FXComposite.ArgumentsNone.1.3.3 disable()Disables the color button.Reimplemented from FXWindow.ArgumentsNone.1.3.4 enable()Enables the color button.Reimplemented from FXWindow.ArgumentsNone.1.3.5 getHelpText()Returns the status line help text.Arg
20、umentsNone.1.3.6 getLabelFont()Returns the label font.ArgumentsNone.1.3.7 getLabelText()Returns the label string.ArgumentsNone.1.3.8 getRGBA()Returns the color of the button.ArgumentsNone.1.3.9 getTipText()Returns the tool tip message.ArgumentsNone.1.3.10 setHelpText(.)Sets the status line help text
21、.ArgumentTypeDefaultDescriptiontextString1.3.11 setLabelFont(.)Sets the label font.ArgumentTypeDefaultDescriptionfntFXFont1.3.12 setLabelText(.)Sets the label string.ArgumentTypeDefaultDescriptiontxtString1.3.13 setRGBA(.)Sets the color of the button.ArgumentTypeDefaultDescriptionclrFXColor1.3.14 se
22、tTipText(.)Sets the tool tip message.ArgumentTypeDefaultDescriptiontextStringClass flagsMessage IDs.ID_COLORWELLID for color button.Global flagsFlags for AFX color button options.AFXCOLORBUTTON_VERTICALOrient label above button.1.4 AFXColorComboBoxThis class allows the user to select a color from a
23、predefined pallette of colors.1.4.1 AFXColorComboBox(.)Constructor.ArgumentTypeDefaultDescriptionpFXCompositeParent widget.textStringLabel string.tgtFXObjectNoneMessage target.selInt0Message ID.optsInt0Options and hints.x Int0X coordinate of origin.y Int0Y coordinate of origin.w Int0Width of the wid
24、get.hInt0Width of the widget.plIntDEFAULT_PADLeft padding (margin).prIntDEFAULT_PADRight padding (margin).ptIntDEFAULT_PADTop padding (margin).ArgumentTypeDefaultDescriptionpbIntDEFAULT_PADBottom (margin).paddingGlobal flagsFlags for color selector options.AFXCOLORCOMBOBOX_INCLUDE_AS_ISInclude As is
25、 color. AFXCOLORCOMBOBOX_INCLUDE_DEFAULTInclude Default color.1.5 AFXColumnItemsThis class connects the selected items in a single column of an AFXTable to a keyword (typically a tuple keyword).1.5.1AFXColumnItems(.)Constructor.ArgumentTypeDefaultDescriptiontableAFXTableTable to use.referenceColumn
26、IntIndex of the reference column.optsInt0Selection options (not used).1.5.2AFXColumnItems(.)Constructor for use with a keyword.ArgumentTypeDefaultDescriptionreferenceColumnIntIndex of the reference column.tgtFXObjectNoneMessage target.selInt0Message ID.optsInt0Selection options (not used).1.5.3 getR
27、eferenceColumn()Returns the index of the table reference column.ArgumentsNone.1.5.4 getSelector()Returns the message ID.ArgumentsNone.1.5.5 getTarget()Returns the message target.ArgumentsNone.1.5.6 setReferenceColumn(.)Sets the table reference column, whose selected items will be sent to the target.
28、ArgumentTypeDefaultDescriptionindexIntTable column index.1.5.7 setSelector(.)Sets the message ID.ArgumentTypeDefaultDescriptionselIntNew message ID.1.5.8 setTarget(.)Sets the message target.ArgumentTypeDefaultDescriptiontgtFXObjectNew message target.Class flagsMessage IDs.ID_TABLETable ID.1.6 AFXCom
29、boBoxThis class contains a label that precedes a combo box, which allows the user to select entries from a drop-down list.1.6.1AFXComboBox(.)Constructor.ArgumentTypeDefaultDescriptionpFXCompositeParent widget.ncolsIntNumber of columns in the combo box (use 0 for auto-sizing).nvisIntNumber of visible
30、 items in the combo boxs drop down list.textStringLabel string.tgtFXObjectNoneMessage target.selInt0Message ID.optsInt0Options and hints.xInt0X coordinate of origin.yInt0Y coordinate of origin.wInt0Width of the widget.hInt0Height of the widget.plIntDEFAULT_PADLeft padding (margin).prIntDEFAULT_PADRi
31、ght padding (margin).ptIntDEFAULT_PADTop padding (margin).pbIntDEFAULT_PADBottom (margin).padding1.6.2 appendItem(.)Adds an item to the end of the list.ArgumentTypeDefaultDescriptiontextStringText.selInt0Selector.1.6.3 clearItems()Removes all items from the list.ArgumentsNone.1.6.4 create()Creates t
32、he combo box.Reimplemented from FXComposite.ArgumentsNone.1.6.5 disable()Disables the combo box.Reimplemented from FXWindow.ArgumentsNone.1.6.6 enable()Enables the combo box.Reimplemented from FXWindow.ArgumentsNone.1.6.7 getCheck()Returns the state of the check button or the radio button.ArgumentsN
33、one.1.6.8 getCurrentItem()Returns the index of the current item.ArgumentsNone.1.6.9 getHelpText()Returns the status line help text.ArgumentsNone.1.6.10 getItemData(.)Returns the data for the specified item.ArgumentTypeDefaultDescriptionindexIntIndex.1.6.11 getItemIndexForData(.)Returns the index of
34、the first item with the associated data or -1 if not found.ArgumentTypeDefaultDescriptiondata1.6.12 getItemIndexForFloat(.)Returns the index of the first item with the text evaluating to the given value.ArgumentTypeDefaultDescriptionvalFloat1.6.13 getItemProvider()Returns the provider of the combo b
35、oxs items.ArgumentsNone.1.6.14 getItemText(.)Returns the text for the specified item.ArgumentTypeDefaultDescriptionindexIntIndex.1.6.15 getLabelFont()Returns the label font.ArgumentsNone.1.6.16 getLabelText()Returns the label string.ArgumentsNone.1.6.17 getNumColumns()Returns the number of columns.A
36、rgumentsNone.1.6.18 getNumItems()Returns the number of items in the list.ArgumentsNone.1.6.19 getNumVisible()Returns the number of visible items.ArgumentsNone.1.6.20 getText()Returns the text displayed in input field.ArgumentsNone.1.6.21 getTipText()Returns the tool tip message.ArgumentsNone.1.6.22
37、insertItem(.)Inserts a new item at the specified index position.ArgumentTypeDefaultDescriptionindexIntIndex.textStringText.selInt0Selector.1.6.23 isEditable()Returns True if the text in the input field may be edited.ArgumentsNone.1.6.24 isItemCurrent(.)Returns True if the item at the specified index
38、 position is the current item.ArgumentTypeDefaultDescriptionindexIntIndex.1.6.25 isReadOnlyState()Returns True if the combo box appears in the read-only state.ArgumentsNone.1.6.26 removeItem(.)Removes the item at the specified index position from the list.ArgumentTypeDefaultDescriptionindexIntIndex.
39、1.6.27 replaceItem(.)Replaces the item at the specified index position.ArgumentTypeDefaultDescriptionindexIntIndex.textStringText.selInt0Selector.1.6.28 setCheck(.)Sets the state of the check button or the radio button.ArgumentTypeDefaultDescriptionstateBoolButton state.1.6.29 setCheckButtonSelector
40、(.)Sets the message ID of the check button or the radio button.ArgumentTypeDefaultDescriptionselIntSelector.1.6.30 setCheckButtonTarget(.)Sets the message target of the check button or the radio button.ArgumentTypeDefaultDescriptiontgtFXObjectTarget.checkValBoolFalseValue of check button.1.6.31 setC
41、urrentItem(.)Sets the current item (the index is zero-based).ArgumentTypeDefaultDescriptionindexIntIndex.1.6.32 setEditable(.)Sets the editable state for the input field.ArgumentTypeDefaultDescriptioneditBoolTrueEditable state.1.6.33 setFocusAndSelection()Moves the focus to the input field and selec
42、ts its contents if the combo box is editable.ArgumentsNone.1.6.34 setFocusToCheckButton()Moves the focus to the check button or the radio button (if existed) of the widget.ArgumentsNone.1.6.35 setFocusToComboBox()Moves the focus to the input field of the widget.ArgumentsNone.1.6.36 setHelpText(.)Set
43、s the status line help text.ArgumentTypeDefaultDescriptiontextStringHelp text.1.6.37 setItemData(.)Sets the data for the specified item.ArgumentTypeDefaultDescriptionindexIntIndex.ptrStringData.1.6.38 setItemProvider(.)Sets the provider of this object items.ArgumentTypeDefaultDescriptioncpFXObjectIt
44、em provider.1.6.39 setItemText(.)Sets the text for the specified item.ArgumentTypeDefaultDescriptionindexIntIndex.textStringText.1.6.40 setLabelFont(.)Sets the label font.ArgumentTypeDefaultDescriptionfntFXFontLabel font.1.6.41 setLabelText(.)Sets the label string.ArgumentTypeDefaultDescriptiontxtSt
45、ringLabel text.1.6.42 setMaxVisible(.)Sets the maximum number of visible items. The combo box will show up to the given maximum number of items in its list. If the combo box has more items, its list will show a scroll bar.ArgumentTypeDefaultDescriptionmaxVisIntMaximum number ofvisible items.1.6.43 s
46、etNumColumns(.)Sets the number of columns in the combo box; passing zero will cause the combo box to always have the number of columns equal to the maximum item length.ArgumentTypeDefaultDescriptioncolsIntNumber of columns.1.6.44 setNumVisible(.)Sets the number of visible items.ArgumentTypeDefaultDe
47、scriptionnvisIntNumberofvisibleitems.1.6.45 setReadOnlyState(.)Sets the read-only state of the combo box.ArgumentTypeDefaultDescriptionreadonlyBoolTrueRead-only state.1.6.46 setText(.)Sets the text displayed in the input field.ArgumentTypeDefaultDescriptiontxtStringInput field text.1.6.47 setTipText
48、(.)Sets the tool tip message.ArgumentTypeDefaultDescriptiontextStringTooltip text.Class flagsMessage IDs.ID_BUTTONLabel or button ID.ID_COMBOCombo box ID.Global flagsFlags for AFX combo box options.AFXCOMBOBOX_CHECKBUTTONUse a check button instead of a label.AFXCOMBOBOX_RADIOBUTTONUse a radio button
49、 instead of a label.AFXCOMBOBOX_VERTICALOrient label or button above combo box.AFXCOMBOBOX_FLOATAllow interaction with float keywords.AFXCOMBOBOX_READONLYConfigure combo box to the read-only state.1.7 AFXCommandThis class is the abstract base class for command classes that are processed by modes.1.7
50、.1AFXCommand(.)Constructor.ArgumentmodeTypeAFXModeDefaultDescriptionHost mode.methodStringMethod.objectNameString”O(jiān)bject name.ArgumentTypeDefaultDescriptionregisterQueryBoolFalseTrue if a query should be registered when the command is used for theGUI.1.7.2 activate()Activates the command; active commands will be processed during command generation.ArgumentsNone.1.7.3 deactivate()Deactivates the command; inactive commands will not be processed duri
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 英語名片活動策劃方案(3篇)
- 裝修開槽施工方案(3篇)
- 路基工程預(yù)算單價快速參考手冊
- 路基修整施工方案(3篇)
- 酒店大棚施工方案(3篇)
- 鎮(zhèn)江店鋪施工方案(3篇)
- 防爆應(yīng)急預(yù)案演習(xí)(3篇)
- 項(xiàng)目釣魚活動方案策劃(3篇)
- 高壓間隔施工方案(3篇)
- 2026年跨境電子商務(wù)發(fā)展創(chuàng)新報告
- 2026年孝昌縣供水有限公司公開招聘正式員工備考題庫及答案詳解參考
- 前庭性偏頭痛(修訂版)課件
- 電子信息工程專業(yè)專業(yè)介紹課件
- (37)-24.1.4黃芪中藥中醫(yī)學(xué)課件
- 高中生物競賽課件:蛋白質(zhì)的性質(zhì)與分離、分析技術(shù)
- 刑法學(xué)(上冊)馬工程課件 第1章 刑法概說
- GB/T 5657-2013離心泵技術(shù)條件(Ⅲ類)
- GB/T 40923.1-2021滑雪單板固定器安裝區(qū)第1部分:無嵌件滑雪單板的要求和試驗(yàn)方法
- 《紅樓夢中的禮儀習(xí)俗研究報告》
- CB/T 3046-1992船用充放電板
- 教師心理健康輔導(dǎo)講座二
評論
0/150
提交評論