net.sf.fmj.ejmf.toolkit.gui.controls.StandardGainButtonPanel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fmj Show documentation
Show all versions of fmj Show documentation
Freedom for Media in Java
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