Class StaticDigit

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants

public class StaticDigit extends Digit
Descendant of Digit displaying static text. Objects of this class also cannot be selected.
Version:
$id$
Author:
Jernej Kamenik
See Also:
  • Constructor Details

    • StaticDigit

      public StaticDigit(String value)
      Constructor for StaticDigit.
      Parameters:
      value - to be displayed.
      See Also:
  • Method Details

    • setSelected

      public void setSelected(boolean newSel)
      This method has been overriden to disable selection of static digits.
      Overrides:
      setSelected in class Digit
    • isSelected

      public boolean isSelected()
      This method has been overriden to disable selection of static digits.
      Overrides:
      isSelected in class Digit
      Returns:
      true if the Digit is selected, false otherwise.