- 所有已知实现类:
AbstractEcmScript,AbstractEscape,AbstractU2XFamilyScript,APNMdfParse,AsciiPicTool,C1MEcmScript,CgSample,CodeStyleLength120,ColorCode,CommonSample,Compress,CsvEscape,DaliDemo,DataFormatConvert,DmaTriggerSourceCode,DtsTriggerSourceDoc,DtsTriggerSourceXml,EcmaScriptEscape,EmptySample,ExcelColNameCalculator,FileDiff,FileDiffWithWeb,FxmlDemo,GirretReview,HconvertExcel,HtmlEscape,HttpTool,IconTool,ImageSplit,JavaEscape,JsonEscape,MoneyToChinese,QeSample,RcpIconTool,RegexTester,SampleBase,ScanPortTool,SerialPortTool,SmcSample,SpecGeneralTest,TestTool,U2AEcmScript,U2CEcmScript,UrlEscape,XmlEscape
组件对象.
- 作者:
- unknowIfGuestInDream
-
方法概要
修饰符和类型方法说明voiddispose()Provides a place to dispose of any resources when sample is deselected.javafx.scene.NodeReturns the panel to display to the user that allows for manipulating the sample.doubleReturns divider position to use for split between main panel and control panel.排序字段.javafx.scene.NodegetPanel(javafx.stage.Stage stage) Returns the main sample panel.Returns the name of the project that this sample belongs to (e.g.Returns the version of the project that this sample belongs to (e.g. '1.0.0').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.xml配置key前缀,用于导出等功能使用.boolean是否有右侧区域.voidNote that initialize() is called after getPanel().default booleanisFxml()当前实现类是否是fxml实现,如果是的话初始化需要额外处理.booleanIf true this sample is shown to users, if false it is not.
-
方法详细资料
-
getSampleId
String getSampleId()组件id. -
getSampleName
String getSampleName()A short, most likely single-word, name to show to the user - e.g. "CheckBox". -
getSampleDescription
String getSampleDescription()A short, multiple sentence description of the sample. -
getProjectName
String getProjectName()Returns the name of the project that this sample belongs to (e.g. 'JFXtras'. or 'ControlsFX'). -
getProjectVersion
String getProjectVersion()Returns the version of the project that this sample belongs to (e.g. '1.0.0'). -
getSampleVersion
String getSampleVersion()sample version. -
getSampleImageIcon
javafx.scene.image.ImageView getSampleImageIcon()sample icon. -
getPanel
javafx.scene.Node getPanel(javafx.stage.Stage stage) Returns the main sample panel. -
getControlPanel
javafx.scene.Node getControlPanel()Returns the panel to display to the user that allows for manipulating the sample. -
initialize
void initialize()Note that initialize() is called after getPanel(). 实现类是FXML实现,推荐不使用此接口初始化,而是需要手动初始化 -
dispose
void dispose()Provides a place to dispose of any resources when sample is deselected. -
getControlPanelDividerPosition
double getControlPanelDividerPosition()Returns divider position to use for split between main panel and control panel. -
isVisible
boolean isVisible()If true this sample is shown to users, if false it is not. -
getOrderKey
String getOrderKey()排序字段. -
getSampleXmlPrefix
String getSampleXmlPrefix()xml配置key前缀,用于导出等功能使用. -
hasControlPanel
boolean hasControlPanel()是否有右侧区域. -
isFxml
default boolean isFxml()当前实现类是否是fxml实现,如果是的话初始化需要额外处理.
-