1 package de.desy.acop.video.displayer; 2 3 /** 4 * Overlay information enumeration 5 * 6 * @author mdavid 7 */ 8 public enum OverlayState { 9 10 /** 11 * overlay information always enabled. 12 */ 13 ON("On"), 14 15 /** 16 * overlay information always disabled. 17 */ 18 OFF("Off"), 19 20 /** 21 * overlay information appears when moving over video frame. 22 */ 23 AUTO("Auto"); 24 25 private final String descr; 26 27 OverlayState(String description) { 28 this.descr = description; 29 } 30 31 public String getDescription() { 32 return descr; 33 } 34 }