@@ -0,0 +1,861 @@
+/*%0A * @@COPYRIGHT@@%0A */%0Apackage com.cosylab.gui.components.wheelswitch;%0A%0Aimport com.cosylab.gui.components.SimpleButton;%0A%0A/**%0A * Descedant of %3Ccode%3EDigit%3C/code%3E displaying static text.%0A * Objects of this class also cannot be selected. %0A * %0A * @author %3Ca href=%22mailto:jernej.kamenik@cosylab.com%22%3EJernej Kamenik%3C/a%3E%0A * @version $id$%0A */%0Apublic class StaticDigit extends Digit %7B%0A%0A%09/**%0A%09 * Constructor for StaticDigit.%0A%09 * %0A%09 * @param value to be displayed.%0A%09 * @see Digit#Digit()%0A%09 */%09%09%09%0A%09public StaticDigit(String value) %7B%0A%09%09super();%0A%09%09setActionMode(SimpleButton.NULL_ACTION_MODE);%0A%09%09setText(value);%0A%09%7D%0A%0A%09/**%0A%09 * This method has been overriden to disable selection of static digits.%0A%09 */%0A%09public void setSelected(boolean newSel)%7B%7D%0A%0A%09/**%0A%09 * This method has been overriden to disable selection of static digits.%0A%09 */%0A%09public boolean isSelected() %7Breturn false;%7D%0A%7D%0A

Add dependency 'StaticDigit' from Cosy library.