eu.hansolo.steelseries.gauges.LinearBeanInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of SteelSeries Show documentation
Show all versions of SteelSeries Show documentation
The SteelSeries is a javabeans component library that contains gauges.
You will find linear and radial gauges. In addition you will also find
digital displays, indicators from cars and some instruments from airplanes and
sailboats.
package eu.hansolo.steelseries.gauges;
/**
*
* @author hansolo
*/
public class LinearBeanInfo extends java.beans.SimpleBeanInfo {
@Override
public java.awt.Image getIcon(final int ICON_TYPE) {
switch (ICON_TYPE) {
case ICON_COLOR_16x16:
return loadImage("/eu/hansolo/steelseries/resources/Linear16.png");
case ICON_COLOR_32x32:
return loadImage("/eu/hansolo/steelseries/resources/Linear32.png");
case ICON_MONO_16x16:
return null;
case ICON_MONO_32x32:
return null;
default:
return null;
}
}
}