Package com.aem.sticky.button.events

Examples of com.aem.sticky.button.events.SimpleClickListener


    this.textButton =
      new TextButton(centerX, centerY, this.buttonText, buttonSound);
     
    listener.add(this.textButton);
     
    this.textButton.addListener(new SimpleClickListener() {
      @Override
      public void onClick() {
        hide();
        clickListener.onClick();
      }
View Full Code Here


   */
  protected InterfacedPlayState(int stateID)
      throws SlickException {
    super(stateID);
   
    this._notification.addListener(new SimpleClickListener() {
        @Override
        public void onClick() {
          showNextNotification();
        }
    });
View Full Code Here

     
      this._activateButton.setColor(Color.magenta);
     
      listener.add(this._activateButton);
     
      this._activateButton.addListener(new SimpleClickListener() {
       
        @Override
        public void onClick() {
          _parent.activateDeactivateSelection();
          hide();
View Full Code Here

     
      this._closeButton.setColor(Color.magenta);
     
      listener.add(this._closeButton);
     
      this._closeButton.addListener(new SimpleClickListener() {
       
        @Override
        public void onClick() {
          _parent.closeOpenSelection();
          hide();
View Full Code Here

     
      this._lockButton.setColor(Color.magenta);
     
      listener.add(this._lockButton);
     
      this._lockButton.addListener(new SimpleClickListener() {
       
        @Override
        public void onClick() {
          _parent.lockUnlockSelection();
          hide();
View Full Code Here

     
      this._closeLockButton.setColor(Color.magenta);
     
      listener.add(this._closeLockButton);
     
      this._closeLockButton.addListener(new SimpleClickListener() {
       
        @Override
        public void onClick() {
          _parent.closeOpenSelection();
          _parent.lockUnlockSelection();
View Full Code Here

     
      this._cancelButton.setColor(Color.magenta);
     
      listener.add(this._cancelButton);
     
      this._cancelButton.addListener(new SimpleClickListener() {
       
        @Override
        public void onClick() {
          hide();
        }
View Full Code Here

     
      this._showIntentButton.setColor(Color.magenta);
     
      listener.add(this._showIntentButton);
     
      this._showIntentButton.addListener(new SimpleClickListener() {
       
        @Override
        public void onClick() {
          setIntentSubjectSelected();
          hide();
View Full Code Here

     
      this._dazeButton.setColor(Color.magenta);
     
      listener.add(this._dazeButton);
     
      this._dazeButton.addListener(new SimpleClickListener() {
       
        @Override
        public void onClick() {
          dazeSelected();
          hide();
View Full Code Here

     
      this._exitButton = new TextButton(x, y, InterfacedPlayState.STR_EXIT, buttonSound);
     
      listener.add(this._exitButton);
     
      this._exitButton.addListener(new SimpleClickListener() {
       
        @Override
        public void onClick() {
          _parent._container.exit();
       
View Full Code Here

TOP

Related Classes of com.aem.sticky.button.events.SimpleClickListener

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.