151152153154155156157158159160161
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(); }
113114115116117118119120121122123
*/ protected InterfacedPlayState(int stateID) throws SlickException { super(stateID); this._notification.addListener(new SimpleClickListener() { @Override public void onClick() { showNextNotification(); } });
617618619620621622623624625626627
this._activateButton.setColor(Color.magenta); listener.add(this._activateButton); this._activateButton.addListener(new SimpleClickListener() { @Override public void onClick() { _parent.activateDeactivateSelection(); hide();
654655656657658659660661662663664
this._closeButton.setColor(Color.magenta); listener.add(this._closeButton); this._closeButton.addListener(new SimpleClickListener() { @Override public void onClick() { _parent.closeOpenSelection(); hide();
690691692693694695696697698699700
this._lockButton.setColor(Color.magenta); listener.add(this._lockButton); this._lockButton.addListener(new SimpleClickListener() { @Override public void onClick() { _parent.lockUnlockSelection(); hide();
727728729730731732733734735736737
this._closeLockButton.setColor(Color.magenta); listener.add(this._closeLockButton); this._closeLockButton.addListener(new SimpleClickListener() { @Override public void onClick() { _parent.closeOpenSelection(); _parent.lockUnlockSelection();
764765766767768769770771772773774
this._cancelButton.setColor(Color.magenta); listener.add(this._cancelButton); this._cancelButton.addListener(new SimpleClickListener() { @Override public void onClick() { hide(); }
800801802803804805806807808809810
this._showIntentButton.setColor(Color.magenta); listener.add(this._showIntentButton); this._showIntentButton.addListener(new SimpleClickListener() { @Override public void onClick() { setIntentSubjectSelected(); hide();
837838839840841842843844845846847
this._dazeButton.setColor(Color.magenta); listener.add(this._dazeButton); this._dazeButton.addListener(new SimpleClickListener() { @Override public void onClick() { dazeSelected(); hide();
11201121112211231124112511261127112811291130
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(); }