Exemplo n.º 1
0
  /**
   * Constructor for the RingFoilPosController object
   *
   * @param updatingController_in The Parameter
   */
  public RingFoilPosController(UpdatingEventController updatingController_in) {

    updatingController = updatingController_in;

    ringFoilPosCorr = new RingFoilPosCorrector("HORIZONTAL Ring Beam Position at Foil");
    ringFoilPosCorr.setMessageText(getMessageText());

    ringFoilPosMainPanel.setLayout(new BorderLayout());
    ringFoilPosMainPanel.add(ringFoilPosCorr.getPanel(), BorderLayout.CENTER);
  }
Exemplo n.º 2
0
 /**
  * Sets the accelerator sequence
  *
  * @param accSeq The new accelSeq value
  */
 public void setAccelSeq(AcceleratorSeq accSeq) {
   java.util.List<AcceleratorNode> accNodes = accSeq.getNodesOfType(Electromagnet.s_strType);
   java.util.Iterator<AcceleratorNode> itr = accNodes.iterator();
   while (itr.hasNext()) {
     Electromagnet emg = (Electromagnet) itr.next();
     if (emg.getStatus()) {
       emg.setUseFieldReadback(false);
     }
   }
   ringFoilPosCorr.setAccelSeq(accSeq);
 }
Exemplo n.º 3
0
 /**
  * Sets the fontForAll attribute of the RingFoilPosController object
  *
  * @param fnt The new fontForAll value
  */
 public void setFontForAll(Font fnt) {
   ringFoilPosCorr.setFontForAll(fnt);
 }