Examples of PFloat


Examples of ca.nengo.ui.configurable.descriptors.PFloat

     * @return TODO
     * @throws ConfigException TODO
     */
    public static Float showDialogFloat(String dialogName, Float defaultValue)
            throws ConfigException {
        return (Float) showDialog("Config", new PFloat(dialogName, defaultValue));
    }
View Full Code Here

Examples of ca.nengo.ui.configurable.descriptors.PFloat

        private float noiseLevel = 0.1f;
        private int NSV = -1;

        private void configure() {
            try {
                Property pNoiseLevel = new PFloat("Noise level", "Ratio of the noise amplitude to the signal amplitude", noiseLevel);
                Property pNSV = new PInt("Number of Singular Values", NSV);
                ConfigResult result = UserConfigurer.configure(
                        new Property[] { pNoiseLevel, pNSV }, TYPE_NAME, this.getDialogParent(),
                        ConfigMode.STANDARD);
View Full Code Here

Examples of ca.nengo.ui.configurable.descriptors.PFloat

    }

    @Override
    protected void action() throws ActionException {
        try {
            PFloat pTauFilter = new PFloat("Time constant of display filter [0 = off]", tauFilter);
            PInt pSubSampling = new PInt("Subsampling [0 = off]", subSampling);

            if (showUserConfigDialog) {
                ConfigResult result;
                try {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.