protected void checkState() {
		boolean valid = true;
		invalidFieldEditor = null;
		// The state can only be set to true if all
		// field editors contain a valid value. So we must check them all
		if (fields != null) {
			int size = fields.size();
			for (int i = 0; i < size; i++) {
				FieldEditor editor = fields.get(i);
				valid = valid && editor.isValid();
				if (!valid) {
					invalidFieldEditor = editor;
					break;
				}
			}
		}
		setValid(valid);
	}
protected void checkState() {
		boolean valid = true;
		invalidFieldEditor = null;
		
		
		if (fields != null) {
			int size = fields.size();
			for (int i = 0; i < size; i++) {
				FieldEditor editor = fields.get(i);
				valid = valid && editor.isValid();
				if (!valid) {
					invalidFieldEditor = editor;
					break;
				}
			}
		}
		setValid(valid);
	}
protected void checkState ( ) { boolean valid = true ; invalidFieldEditor = null ; // The state can only be set to true if all // field editors contain a valid value. So we must check them all if ( fields != null ) { int size = fields . size ( ) ; for ( int i = 0 ; i < size ; i ++ ) { FieldEditor editor = fields . get ( i ) ; valid = valid && editor . isValid ( ) ; if ( ! valid ) { invalidFieldEditor = editor ; break ; } } } setValid ( valid ) ; }
Recomputes the page's error state by calling <code>isValid</code> for
every field editor.
Recomputes the page s error state by calling <code > isValid< / code > for every field editor .