1 package JSci.instruments; 2 3 import java.util.*; 4 import java.awt.*; 5 import javax.swing.*; 6 import java.awt.event.*; 7 import javax.swing.event.*; 8 9 12 public interface PositionControl extends Control { 13 14 17 void setPosition(double p); 18 19 24 double getPosition(); 25 26 31 double getActualPosition(); 32 33 36 double getMinimum(); 37 38 41 double getMaximum(); 42 43 45 void sleep(); 46 47 50 Component getControlComponent(); 51 52 56 String getUnit(); 57 58 59 60 63 68 void addChangeListener(ChangeListener l); 69 70 74 void removeChangeListener(ChangeListener l); 75 76 81 ChangeListener[] getChangeListeners(); 82 83 90 EventListener[] getListeners(Class listenerType); 91 92 93 } 94 95 | Popular Tags |