コード例 #1
0
 /** Fire all current {@link IValidationTextBoxListener}. */
 void fireOnFailure() {
   if (listeners != null) {
     listeners.fireOnFailure(this);
   }
 }
コード例 #2
0
 public void removeValidatableTextBoxListener(IValidationTextBoxListener listener) {
   if (listeners != null) {
     listeners.remove(listener);
   }
 }
コード例 #3
0
 /** Fire all current {@link IValidationTextBoxListener}. */
 void fireOnSuccess() {
   if (listeners != null) {
     listeners.fireOnSuccess(this);
   }
 }
コード例 #4
0
 public void addValidatableTextBoxListener(IValidationTextBoxListener listener) {
   if (listeners == null) {
     listeners = new ValidationTextBoxListenerCollection();
   }
   listeners.add(listener);
 }