Package jcurses.event

Examples of jcurses.event.ValueChangedEvent


  */
  public void setValue(boolean value) {
    boolean oldValue = _checked;
    _checked = value;
    if (oldValue != _checked) {
      _listenerManager.handleEvent(new ValueChangedEvent(this));
    }
    paint();
  }
View Full Code Here


        }
        menu.show();
        if ((menu.getSelectedIndex()!=-1) && (menu.getSelectedIndex()!=getSelectedIndex())) {
          _selectedIndex = menu.getSelectedIndex();
          paint();
          _listenerManager.handleEvent(new ValueChangedEvent(this));
         
        }
      }
       
      return true;
View Full Code Here

     }
    
     //event abschicken
   
    if (dispatchEvent) {
      _listenerManager.handleEvent(new ValueChangedEvent(this));
    }
    
    
  }
View Full Code Here

TOP

Related Classes of jcurses.event.ValueChangedEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.