com.github.javacliparser.Options Java Examples
The following examples show how to use
com.github.javacliparser.Options.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: OptionsConfigurationPanel.java From moa with GNU General Public License v3.0 | 6 votes |
private static void createAndShowGUI() { // Create and set up the window. JFrame frame = new JFrame("Test"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); // Create and set up the content pane. Options options = new HoeffdingTree().getOptions(); JPanel panel = new OptionsConfigurationPanel(null, options); // createLabelledOptionComponentListPanel(options // .getOptionArray(), null); panel.setOpaque(true); // content panes must be opaque frame.setContentPane(panel); // Display the window. frame.pack(); // frame.setSize(400, 400); frame.setVisible(true); }
Example #2
Source File: AbstractOptionHandler.java From moa with GNU General Public License v3.0 | 6 votes |
@Override public Options getOptions() { /*if (this.options == null) { this.options = new Options(); if (this.config== null) { this.config = new OptionsHandler(this, ""); this.config.prepareForUse(); } Option[] myOptions = this.config.discoverOptionsViaReflection(); for (Option option : myOptions) { this.options.addOption(option); } } return this.options;*/ if ( this.config == null){ this.config = new OptionsHandler(this, ""); //this.config.prepareForUse(monitor, repository); } return this.config.getOptions(); }
Example #3
Source File: AbstractOptionHandler.java From samoa with Apache License 2.0 | 6 votes |
@Override public Options getOptions() { /*if (this.options == null) { this.options = new Options(); if (this.config== null) { this.config = new OptionsHandler(this, ""); this.config.prepareForUse(); } Option[] myOptions = this.config.discoverOptionsViaReflection(); for (Option option : myOptions) { this.options.addOption(option); } } return this.options;*/ if ( this.config == null){ this.config = new OptionsHandler(this, ""); //this.config.prepareForUse(monitor, repository); } return this.config.getOptions(); }
Example #4
Source File: AbstractOptionHandler.java From incubator-samoa with Apache License 2.0 | 5 votes |
@Override public Options getOptions() { /* * if (this.options == null) { this.options = new Options(); if * (this.config== null) { this.config = new OptionsHandler(this, ""); * this.config.prepareForUse(); } Option[] myOptions = * this.config.discoverOptionsViaReflection(); for (Option option : * myOptions) { this.options.addOption(option); } } return this.options; */ if (this.config == null) { this.config = new OptionsHandler(this, ""); // this.config.prepareForUse(monitor, repository); } return this.config.getOptions(); }
Example #5
Source File: ALMultiParamTask.java From moa with GNU General Public License v3.0 | 5 votes |
@Override public Options getOptions() { Options options = super.getOptions(); // make sure that all dependent options are up to date this.prequentialEvaluationTaskOption.getChangeListener() .stateChanged(null); return options; }
Example #6
Source File: AnyOut.java From moa with GNU General Public License v3.0 | 4 votes |
@Override public Options getOptions() { return anyout.getOptions(); }
Example #7
Source File: OptionHandler.java From incubator-samoa with Apache License 2.0 | 2 votes |
/** * Gets the options of this object * * @return the options of this object */ public Options getOptions();
Example #8
Source File: OptionHandler.java From moa with GNU General Public License v3.0 | 2 votes |
/** * Gets the options of this object * * @return the options of this object */ public Options getOptions();
Example #9
Source File: OptionHandler.java From samoa with Apache License 2.0 | 2 votes |
/** * Gets the options of this object * * @return the options of this object */ public Options getOptions();