java.lang.Object
javafx.application.Application
com.tlcsdm.frame.SampleBase
com.tlcsdm.smc.SmcSample
com.tlcsdm.smc.tools.CodeStyleLength120
- 所有已实现的接口:
Sample
检测指定路径下文件内容长度是否超过120.
- 从以下版本开始:
- 1.0.0
- 作者:
- unknowIfGuestInDream
-
嵌套类概要
从类继承的嵌套类/接口 com.tlcsdm.smc.SmcSample
SmcSample.ProjectInfo从类继承的嵌套类/接口 javafx.application.Application
javafx.application.Application.Parameters -
字段概要
字段修饰符和类型字段说明private final Collection<? extends org.controlsfx.control.action.Action> private javafx.scene.control.TextFieldprivate javafx.scene.control.TextField检测的文件类型private final org.controlsfx.control.action.Actionprivate File待比对文件的父级路径private javafx.scene.control.TextField忽略的文件private final org.controlsfx.control.Notifications(专用程序包) javafx.stage.FileChooser结果信息private String结果文件名称(目前支持结果输出到excel)private String结果信息输出路径从类继承的字段 com.tlcsdm.smc.SmcSample
PROJECT_INFO从类继承的字段 com.tlcsdm.frame.SampleBase
aesSeed, userData从类继承的字段 javafx.application.Application
STYLESHEET_CASPIAN, STYLESHEET_MODENA -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明javafx.scene.NodeReturns the panel to display to the user that allows for manipulating the sample.排序字段.javafx.scene.NodegetPanel(javafx.stage.Stage stage) Returns the main sample panel.A short, multiple sentence description of the sample.组件id.javafx.scene.image.ImageViewsample icon.A short, most likely single-word, name to show to the user - e.g.sample version.private voidhandleData(cn.hutool.poi.excel.ExcelWriter writer) 数据处理private void结果信息处理private voidprivate voidinitData()初始化数据void将在getPanel要设置的binding提取出来.protected voidBecause initialize() is called after getPanel() so userData needs to be initialized before this func.void将在getPanel要设置的userData binding提取出来.static voidprivate voidsetExcelStyle(cn.hutool.poi.excel.ExcelWriter writer) 设置生成的excel样式从类继承的方法 com.tlcsdm.smc.SmcSample
getProjectName, getProjectVersion从类继承的方法 com.tlcsdm.frame.SampleBase
bindUserData, bindUserDataBefore, buildSample, dispose, getControlPanelDividerPosition, getSampleXmlPrefix, hasControlPanel, initialize, isVisible, start, updateForVersionUpgrade从类继承的方法 javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop
-
字段详细资料
-
resultFileName
结果文件名称(目前支持结果输出到excel) -
resultPath
结果信息输出路径 -
ignoreFilesList
忽略的文件 -
fileTypeList
检测的文件类型 -
generateFilesParentPath
待比对文件的父级路径 -
result
结果信息 -
checkDirField
private javafx.scene.control.TextField checkDirField -
checkFileTypeField
private javafx.scene.control.TextField checkFileTypeField -
ignoreFileField
private javafx.scene.control.TextField ignoreFileField -
notificationBuilder
private final org.controlsfx.control.Notifications notificationBuilder -
outPutChooser
javafx.stage.FileChooser outPutChooser -
generate
private final org.controlsfx.control.action.Action generate -
actions
-
-
构造器详细资料
-
CodeStyleLength120
public CodeStyleLength120()
-
-
方法详细资料
-
getPanel
public javafx.scene.Node getPanel(javafx.stage.Stage stage) 从接口复制的说明:SampleReturns the main sample panel. -
initializeUserData
protected void initializeUserData()从类复制的说明:SampleBaseBecause initialize() is called after getPanel() so userData needs to be initialized before this func.- 覆盖:
initializeUserData在类中SampleBase
-
initializeBindings
public void initializeBindings()从类复制的说明:SampleBase将在getPanel要设置的binding提取出来.- 覆盖:
initializeBindings在类中SampleBase
-
initializeUserDataBindings
public void initializeUserDataBindings()从类复制的说明:SampleBase将在getPanel要设置的userData binding提取出来.- 覆盖:
initializeUserDataBindings在类中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
-
main
-
getSampleId
从接口复制的说明:Sample组件id. -
getSampleName
从接口复制的说明:SampleA short, most likely single-word, name to show to the user - e.g. "CheckBox". -
getSampleVersion
从接口复制的说明:Samplesample version. -
getSampleImageIcon
public javafx.scene.image.ImageView getSampleImageIcon()从接口复制的说明:Samplesample icon.- 指定者:
getSampleImageIcon在接口中Sample- 覆盖:
getSampleImageIcon在类中SampleBase
-
getOrderKey
从接口复制的说明:Sample排序字段. -
getSampleDescription
从类复制的说明:SampleBaseA short, multiple sentence description of the sample.- 指定者:
getSampleDescription在接口中Sample- 覆盖:
getSampleDescription在类中SampleBase
-
initComponment
private void initComponment() -
initData
private void initData()初始化数据 -
handleResult
private void handleResult()结果信息处理 -
setExcelStyle
private void setExcelStyle(cn.hutool.poi.excel.ExcelWriter writer) 设置生成的excel样式 -
handleData
private void handleData(cn.hutool.poi.excel.ExcelWriter writer) 数据处理
-