Package org.jampa.gui.components.sliders

Examples of org.jampa.gui.components.sliders.SliderWrapper


    container.setLayoutData(containerGD);
   
    GridData volumeSliderGD = new GridData()
    volumeSliderGD.verticalAlignment = SWT.CENTER;
   
    scVolumeSlider = new SliderWrapper(container, SWT.HORIZONTAL);
    scVolumeSlider.setLayoutData(volumeSliderGD);
    scVolumeSlider.setMinimum(0);
    scVolumeSlider.setMaximum(100);
   
    scVolumeSlider.addMouseMoveListener(new MouseMoveListener() {
View Full Code Here


    GridData sliderGD = new GridData();
    sliderGD.minimumWidth = 250;
    sliderGD.grabExcessHorizontalSpace = true;
    sliderGD.horizontalAlignment = SWT.FILL;   
    sliderGD.verticalAlignment = SWT.CENTER;
    scSlider = new SliderWrapper(container, SWT.HORIZONTAL);
    scSlider.setLayoutData(sliderGD);

    laTotalTime = new Label(container, SWT.NONE);
    laTotalTime.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, true));
    laTotalTime.setText(Messages.getString("PlayerView.DefaultTimeInfo")); //$NON-NLS-1$
View Full Code Here

   
    GridData sliderGD = new GridData();
    sliderGD.grabExcessHorizontalSpace = true;
    sliderGD.horizontalAlignment = SWT.FILL;   
    sliderGD.verticalAlignment = SWT.CENTER;
    scSlider = new SliderWrapper(btnGroup3, SWT.HORIZONTAL);
    scSlider.setLayoutData(sliderGD);
   
    laTotalTime = new Label(btnGroup3, SWT.NONE);
    laTotalTime.setText(Messages.getString("PlayerView.DefaultTimeInfo")); //$NON-NLS-1$   
   
    Composite btnGroup4 = new Composite(parent, SWT.NONE);
    btnGroup4.setLayout(new FillLayout());
    btnGroup4.setLayoutData(new GridData(SWT.NONE, SWT.TOP, false, false));
   
    btnVolumeMute = new Button(btnGroup4, SWT.PUSH);
    btnVolumeMute.setImage(imgVolumeMute);
    btnVolumeMute.setToolTipText(Messages.getString("PlayerView.VolumeMute"));   //$NON-NLS-1$
   
    btnVolumeDown = new Button(btnGroup4, SWT.PUSH);
    btnVolumeDown.setImage(imgVolumeDown);
    btnVolumeDown.setToolTipText(Messages.getString("PlayerView.VolumeDown"));     //$NON-NLS-1$
   
    btnVolumeUp = new Button(btnGroup4, SWT.PUSH);
    btnVolumeUp.setImage(imgVolumeUp);
    btnVolumeUp.setToolTipText(Messages.getString("PlayerView.VolumeUp")); //$NON-NLS-1$
   
    Composite btnGroup5 = new Composite(parent, SWT.NONE);
    btnGroup5.setLayout(new GridLayout(2, false));
    btnGroup5.setLayoutData(new GridData(SWT.NONE, SWT.TOP, false, false));
   
    GridData volumeSliderGD = new GridData()
    volumeSliderGD.verticalAlignment = SWT.CENTER;
   
    scVolumeSlider = new SliderWrapper(btnGroup5, SWT.HORIZONTAL);
    scVolumeSlider.setLayoutData(volumeSliderGD);
    scVolumeSlider.setMinimum(0);
    scVolumeSlider.setMaximum(100);
   
    laVolumeLabel = new Label(btnGroup5, SWT.NONE);
View Full Code Here

TOP

Related Classes of org.jampa.gui.components.sliders.SliderWrapper

Copyright © 2018 www.massapicom. 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.