public void setPageCount ( int pageN ) { this . pageN = pageN ; DocListener listener ; for ( Iterator iterator = listeners . iterator ( ) ; iterator . hasNext ( ) ; ) { listener = ( DocListener ) iterator . next ( ) ; listener . setPageCount ( pageN ) ; } }
Sets the page number .