MCPcopy Index your code
hub / github.com/controlsfx/controlsfx / Sample

Interface Sample

fxsampler/src/main/java/fxsampler/Sample.java:34–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32/**
33 */
34public interface Sample {
35
36 /**
37 * A short, most likely single-word, name to show to the user - e.g. "CheckBox"
38 */
39 String getSampleName();
40
41 /**
42 * A short, multiple sentence description of the sample.
43 */
44 String getSampleDescription();
45
46 /**
47 * Returns the name of the project that this sample belongs to (e.g. 'JFXtras'
48 * or 'ControlsFX').
49 */
50 String getProjectName();
51
52 /**
53 * Returns the version of the project that this sample belongs to (e.g. '1.0.0')
54 */
55 String getProjectVersion();
56
57 /**
58 * Returns the main sample panel.
59 */
60 Node getPanel(final Stage stage);
61
62 /**
63 * Returns the panel to display to the user that allows for manipulating
64 * the sample.
65 */
66 Node getControlPanel();
67
68 /**
69 * Provides a place to dispose of any resources when sample is deselected
70 */
71 void dispose();
72
73
74 /**
75 * Returns divider position to use for split between main panel and control panel
76 */
77 double getControlPanelDividerPosition();
78
79 /**
80 * A full URL to the javadoc for the API being demonstrated in this sample.
81 */
82 String getJavaDocURL();
83
84 /**
85 * Returns URL for control's stylesheet.
86 * If the CSS resource is available on module-path,
87 * {@link FXSamplerProject#getModuleName() project's} module name should be defined.
88 */
89 String getControlStylesheetURL();
90
91 /**

Callers 27

startMethod · 0.95
startMethod · 0.65
buildSampleMethod · 0.65
updateItemMethod · 0.65
buildSampleTreeMethod · 0.65
pruneSampleTreeMethod · 0.65
toStringMethod · 0.65
buildSampleMethod · 0.65
buildSampleMethod · 0.65
SampleScannerClass · 0.65
buildSampleMethod · 0.65
buildSampleMethod · 0.65

Implementers 2

EmptySamplefxsampler/src/main/java/fxsampler/mode
SampleBasefxsampler/src/main/java/fxsampler/Samp

Calls

no outgoing calls

Tested by

no test coverage detected