Examples of RegSliderGroupControl


Examples of org.netfpga.router.RegSliderGroupControl

        invert[6] = false;
        invert[7] = false;
        this.monMaskCtrl = new ControlRegGroup(nf2, NFDeviceConsts.EVT_CAP_SIGNAL_ID_MASK_REG, buttons, invert);

        /* initialize the time precision slider control */
        timerResolutionSliderCtrl = new RegSliderGroupControl(nf2, this.tmrResSlider, this.tmrResValueLabel, NFDeviceConsts.EVT_CAP_TIMER_RESOLUTION_REG);
        timerResolutionSliderCtrl.setVt(new ValueTransformer() {

            public int toSliderValue(int val) {
                return val;
            }
View Full Code Here

Examples of org.netfpga.router.RegSliderGroupControl

    public RateLimiterInternalFrame(NFDevice nf2, Timer timer) {
        this.timer = timer;

        initComponents();

        sliderCtrl = new RegSliderGroupControl(nf2, this.rateSlider, this.rateValueLabel, NFDeviceConsts.RATE_LIMIT_1_SHIFT_REG);
        sliderCtrl.setVt(new ValueTransformer() {

            public int toSliderValue(int val) {
                return 15-val;
            }
View Full Code Here

Examples of org.netfpga.router.RegSliderGroupControl

    public DelayInternalFrame(NFDevice nf2, Timer timer) {
        this.timer = timer;

        initComponents();

        sliderCtrl = new RegSliderGroupControl(nf2, this.delaySlider, this.delayValueLabel, NFDeviceConsts.DELAY_LENGTH_REG);
        sliderCtrl.setVt(new ValueTransformer() {

            public int toSliderValue(int val) {
                return val/1000;
            }
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.