All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.fmj.ejmf.toolkit.gui.controls.StandardGainButtonPanel Maven / Gradle / Ivy

The newest version!
package net.sf.fmj.ejmf.toolkit.gui.controls;

import javax.swing.*;

/**
 * Provides up/down arrow buttons for increasing/decreasing Player gain. This
 * panel is used by StandardGainControl.
 */

class StandardGainButtonPanel extends AbstractGainButtonPanel
{
    public StandardGainButtonPanel(Skin skin)
    {
        super(skin);
        // TODO Auto-generated constructor stub
    }

    /**
     * Create button for decreasing gain.
     *
     * @return An AbstractButton that acts as gain decrease control.
     */
    @Override
    public AbstractButton createGainDecreaseButton(Skin skin)
    {
        return (skin.createVolumeControlButton_Decrease());
    }

    /**
     * Create button for increasing gain.
     *
     * @return An AbstractButton that acts as gain increase control.
     */
    @Override
    public AbstractButton createGainIncreaseButton(Skin skin)
    {
        return (skin.createVolumeControlButton_Increase());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy