java.lang.Object
javafx.application.Application
com.tlcsdm.frame.SampleBase
com.tlcsdm.smc.SmcSample
com.tlcsdm.smc.codeDev.ecm.AbstractEcmScript
- 所有已实现的接口:
Sample
- 直接已知子类:
AbstractU2XFamilyScript,C1MEcmScript
EcmScript脚本超类.
- 从以下版本开始:
- 1.0.1
- 作者:
- unknowIfGuestInDream
-
嵌套类概要
从类继承的嵌套类/接口 com.tlcsdm.smc.SmcSample
SmcSample.ProjectInfo从类继承的嵌套类/接口 javafx.application.Application
javafx.application.Application.Parameters -
字段概要
字段修饰符和类型字段说明private final Collection<? extends org.controlsfx.control.action.Action> protected javafx.scene.control.TextAreaprotected javafx.scene.control.TextFieldprotected javafx.scene.control.TextFieldprotected NumberTextFieldprivate final Stringprivate final org.controlsfx.control.action.Actionprotected final javafx.stage.FileChooserprotected javafx.scene.control.TextFieldprotected javafx.scene.control.Labelprotected javafx.scene.control.TextFieldprotected javafx.scene.control.TextFieldprotected javafx.scene.control.TextFieldprotected javafx.scene.control.TextFieldprotected javafx.scene.control.TextFieldprotected javafx.stage.FileChooserprotected javafx.scene.control.TextAreaprivate final org.controlsfx.control.action.Actionprotected org.controlsfx.control.Notificationsprotected final org.controlsfx.control.action.Actionprotected Stringprotected javafx.stage.DirectoryChooserprotected javafx.scene.control.TextFieldprotected javafx.scene.control.TextAreaprotected javafx.scene.control.TextFieldprotected NumberTextFieldprotected javafx.scene.control.TextAreaprotected javafx.scene.control.Labelprivate final org.controlsfx.control.action.Action从类继承的字段 com.tlcsdm.smc.SmcSample
PROJECT_INFO从类继承的字段 com.tlcsdm.frame.SampleBase
aesSeed, userData从类继承的字段 javafx.application.Application
STYLESHEET_CASPIAN, STYLESHEET_MODENA -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明buildTagData(LinkedHashMap<String, String> tagMap, cn.hutool.poi.excel.ExcelReader reader, int rowNum) 获取tag数据protected javafx.scene.control.TitledPaneCategory 面板protected LinkedHashMap<String, String> 创建category配置数据protected javafx.scene.control.TitledPaneErrorSource面板protected LinkedHashMap<String, String> 创建Function配置数据创建productInfo数据 用于文件合并功能protected LinkedHashMap<String, String> 创建product配置数据protected LinkedHashMap<String, String> 创建tag配置数据处理category数据protected voiddealData()数据处理dealErrorSourceData(cn.hutool.poi.excel.ExcelReader reader, int rowNum, String product) ErrorSource数据处理protected void处理product数据javafx.scene.NodeReturns the panel to display to the user that allows for manipulating the sample.protected abstract String获取freemarker模板路径protected abstract String获取groovy脚本路径javafx.scene.NodegetPanel(javafx.stage.Stage stage) Returns the main sample panel.A short, multiple sentence description of the sample.javafx.scene.image.ImageViewsample icon.sample version.protected void设置默认值void将在getPanel要设置的binding提取出来.void将在getPanel要设置的userData binding提取出来.protected void合并结果文件 相同device不同pin如果文件内容一致则合并内容,结果文件如: RH850U2A6.xml 否则按照device_pin命名,如:RH850U2A6_144.xml从类继承的方法 com.tlcsdm.smc.SmcSample
getProjectName, getProjectVersion从类继承的方法 com.tlcsdm.frame.SampleBase
bindUserData, bindUserDataBefore, buildSample, dispose, getControlPanelDividerPosition, getSampleXmlPrefix, hasControlPanel, initialize, initializeUserData, isVisible, start, updateForVersionUpgrade从类继承的方法 javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.tlcsdm.frame.Sample
getOrderKey, getSampleId, getSampleName, isFxml
-
字段详细资料
-
excelField
protected javafx.scene.control.TextField excelField -
excelFileChooser
protected javafx.stage.FileChooser excelFileChooser -
outputField
protected javafx.scene.control.TextField outputField -
outputChooser
protected javafx.stage.DirectoryChooser outputChooser -
sheetNameField
protected javafx.scene.control.TextField sheetNameField -
startRowField
-
categorySheetNameField
protected javafx.scene.control.TextField categorySheetNameField -
categoryStartRowField
-
categoryConfigField
protected javafx.scene.control.TextArea categoryConfigField -
errorSourceIdColField
protected javafx.scene.control.TextField errorSourceIdColField -
categoryIdColField
protected javafx.scene.control.TextField categoryIdColField -
errorSourceNumberColField
protected javafx.scene.control.TextField errorSourceNumberColField -
errorSourceEnNameColField
protected javafx.scene.control.TextField errorSourceEnNameColField -
errorSourceDescColLabel
protected javafx.scene.control.Label errorSourceDescColLabel -
errorSourceDescColField
protected javafx.scene.control.TextField errorSourceDescColField -
errorSourceJpNameColField
protected javafx.scene.control.TextField errorSourceJpNameColField -
functionConfigField
protected javafx.scene.control.TextArea functionConfigField -
productConfigField
protected javafx.scene.control.TextArea productConfigField -
tagConfigLabel
protected javafx.scene.control.Label tagConfigLabel -
tagConfigField
protected javafx.scene.control.TextArea tagConfigField -
defaultTemplateName
- 另请参阅:
-
downloadChooser
protected final javafx.stage.FileChooser downloadChooser -
outParentFolder
-
notificationBuilder
protected org.controlsfx.control.Notifications notificationBuilder -
openOutDir
protected final org.controlsfx.control.action.Action openOutDir -
download
private final org.controlsfx.control.action.Action download -
viewGroovyScript
private final org.controlsfx.control.action.Action viewGroovyScript -
generate
private final org.controlsfx.control.action.Action generate -
actions
-
-
构造器详细资料
-
AbstractEcmScript
public AbstractEcmScript()
-
-
方法详细资料
-
getPanel
public javafx.scene.Node getPanel(javafx.stage.Stage stage) 从接口复制的说明:SampleReturns the main sample panel. -
createErrorSourceControl
protected javafx.scene.control.TitledPane createErrorSourceControl()ErrorSource面板 -
createCategoryControl
protected javafx.scene.control.TitledPane createCategoryControl()Category 面板 -
initializeBindings
public void initializeBindings()从类复制的说明:SampleBase将在getPanel要设置的binding提取出来.- 覆盖:
initializeBindings在类中SampleBase
-
initializeUserDataBindings
public void initializeUserDataBindings()从类复制的说明:SampleBase将在getPanel要设置的userData binding提取出来.- 覆盖:
initializeUserDataBindings在类中SampleBase
-
initDefaultValue
protected void initDefaultValue()设置默认值 -
dealData
protected void dealData()数据处理 -
createOperationMap
创建Function配置数据 -
createProductMap
创建product配置数据 -
createProductInfo
创建productInfo数据 用于文件合并功能 -
createCategoryMap
创建category配置数据 -
createTagMap
创建tag配置数据 -
dealCategoryData
处理category数据 -
dealProductData
protected void dealProductData()处理product数据 -
dealErrorSourceData
protected abstract Map<String,Object> dealErrorSourceData(cn.hutool.poi.excel.ExcelReader reader, int rowNum, String product) ErrorSource数据处理 -
buildTagData
protected List<Map<String,Object>> buildTagData(LinkedHashMap<String, String> tagMap, cn.hutool.poi.excel.ExcelReader reader, int rowNum) 获取tag数据 -
postMergeResult
protected void postMergeResult()合并结果文件 相同device不同pin如果文件内容一致则合并内容,结果文件如: RH850U2A6.xml 否则按照device_pin命名,如:RH850U2A6_144.xml -
getFtlPath
获取freemarker模板路径 -
getGroovyPath
获取groovy脚本路径 -
getSampleDescription
从类复制的说明:SampleBaseA short, multiple sentence description of the sample.- 指定者:
getSampleDescription在接口中Sample- 覆盖:
getSampleDescription在类中SampleBase
-
getSampleVersion
从接口复制的说明:Samplesample version. -
getSampleImageIcon
public javafx.scene.image.ImageView getSampleImageIcon()从接口复制的说明:Samplesample icon.- 指定者:
getSampleImageIcon在接口中Sample- 覆盖:
getSampleImageIcon在类中SampleBase
-
getControlPanel
public javafx.scene.Node getControlPanel()从类复制的说明:SampleBaseReturns the panel to display to the user that allows for manipulating the sample.- 指定者:
getControlPanel在接口中Sample- 覆盖:
getControlPanel在类中SampleBase
-