Beispiel #1
0
 public void radioButtonActionPerformed(java.awt.event.ActionEvent ae) {
   log.debug("radio button activated");
   if (ae.getSource() == loadNameAll) {
     _track.setLoadOption(Track.ALL_LOADS);
   }
   if (ae.getSource() == loadNameInclude) {
     _track.setLoadOption(Track.INCLUDE_LOADS);
   }
   if (ae.getSource() == loadNameExclude) {
     _track.setLoadOption(Track.EXCLUDE_LOADS);
   }
   if (ae.getSource() == shipLoadNameAll) {
     _track.setShipLoadOption(Track.ALL_LOADS);
   }
   if (ae.getSource() == shipLoadNameInclude) {
     _track.setShipLoadOption(Track.INCLUDE_LOADS);
   }
   if (ae.getSource() == shipLoadNameExclude) {
     _track.setShipLoadOption(Track.EXCLUDE_LOADS);
   }
 }