Class YAHOO.widget.Paginator.ui.NextPageLink
                        
                        
                    
                    
                    
                
  
                    
                        ui Component to generate the link to jump to the next page.
                    
                        
                        Constructor
                        
                            
                                YAHOO.widget.Paginator.ui.NextPageLink
                                
                                    (
  
                                        
                                                
                                                p
                                    )
                                
                                
                                        
                                            - Parameters:
- 
                                                    p
                                                    <Pagintor>
                                                    Paginator instance to attach to
 
                             
                         
                     
                    
                    
                        
                            Properties
                            
                                    
                                    current
                                        - private HTMLElement
                                    
                                    
                                        
                                            Currently placed HTMLElement node
                                        
                                     
     
                                        
                                    
                                     
                                    
                                    link
                                        - private HTMLElement
                                    
                                    
     
                                        
                                    
                                     
                                    
                                    span
                                        - private HTMLElement
                                    
                                    
                                        
                                            Span node (inactive link)
                                        
                                     
     
                                        
                                    
                                     
                             
                         
                     
                    
                        
                            Methods
                            
                                    
                                    
                                    
                                        
                                         private 
                                        
                                        
                                        void
                                            destroy
                                           (
                                            )
                                        
                                        
                                        
                                            Removes the link/span node and clears event listeners
                                        
                                        
                                     
                                    
                                     
                                    
                                    
                                    
                                        
                                        
                                         static 
                                        
                                        void
                                            init
                                           (
                                                
                                                        
                                                         p
                                                    
                                                
                                            )
                                        
                                        
                                        
                                            Decorates Paginator instances with new attributes. Called during
Paginator instantiation.
                                        
                                        
                                                
                                                    - Parameters:
- 
                                                        p
                                                        <Paginator>
                                                        Paginator instance to decorate
                                                    - Returns:
                                                    
                                                        void
                                                    
 
                                     
                                    
                                     
                                    
                                    
                                    
                                        
                                        
                                        
                                        
                                        void
                                            onClick
                                           (
                                                
                                                        
                                                         e
                                                    
                                                
                                            )
                                        
                                        
                                        
                                            Listener for the link's onclick event.  Passes to setPage method.
                                        
                                        
                                                
                                                    - Parameters:
- 
                                                        e
                                                        <DOMEvent>
                                                        The click event
                                                    - Returns:
                                                    
                                                        void
                                                    
 
                                     
                                    
                                     
                                    
                                    
                                    
                                        
                                        
                                        
                                        
                                        HTMLElement
                                            render
                                           (
                                                
                                                        
                                                         id_base
                                                    
                                                
                                            )
                                        
                                        
                                        
                                            Generate the nodes and return the appropriate node given the current
pagination state.
                                        
                                        
                                                
                                                    - Parameters:
- 
                                                        id_base
                                                        <string>
                                                        used to create unique ids for generated nodes
                                                    - Returns:
                                                    
                                                        HTMLElement
                                                    
 
                                     
                                    
                                     
                                    
                                    
                                    
                                        
                                        
                                        
                                        
                                        void
                                            update
                                           (
                                                
                                                        
                                                         e
                                                    
                                                
                                            )
                                        
                                        
                                        
                                            Swap the link and span nodes if appropriate.
                                        
                                        
                                                
                                                    - Parameters:
- 
                                                        e
                                                        <CustomEvent>
                                                        The calling change event
                                                    - Returns:
                                                    
                                                        void
                                                    
 
                                     
                                    
                                     
                             
                         
                     
                    
                        
                            Events
                            
                                    
                                    
                                    
                                        
                                        
                                        
                                        
                                            beforeNextPageLinkClassChange
                                            (
                                                
                                                        
                                                         event
                                                    
                                                
                                            )
                                        
                                        
                                        
                                            Fires before the value for the configuration attribute 'nextPageLinkClass' changes. Return false to cancel the attribute change.
                                        
                                        
                                                
                                                    - Parameters:
- 
                                                            event
                                                                <{oldValue: any, newValue: any}>
                                                            An object containing the previous attribute value and the new value.
 
                                     
                                    
                                     
                                    
                                    
                                    
                                        
                                        
                                        
                                        
                                            beforeNextPageLinkLabelChange
                                            (
                                                
                                                        
                                                         event
                                                    
                                                
                                            )
                                        
                                        
                                        
                                            Fires before the value for the configuration attribute 'nextPageLinkLabel' changes. Return false to cancel the attribute change.
                                        
                                        
                                                
                                                    - Parameters:
- 
                                                            event
                                                                <{oldValue: any, newValue: any}>
                                                            An object containing the previous attribute value and the new value.
 
                                     
                                    
                                     
                                    
                                    
                                    
                                        
                                        
                                        
                                        
                                            nextPageLinkClassChange
                                            (
                                                
                                                        
                                                         event
                                                    
                                                
                                            )
                                        
                                        
                                        
                                            Fires when the value for the configuration attribute 'nextPageLinkClass' changes.
                                        
                                        
                                                
                                                    - Parameters:
- 
                                                            event
                                                                <{oldValue: any, newValue: any}>
                                                            An object containing the previous attribute value and the new value.
 
                                     
                                    
                                     
                                    
                                    
                                    
                                        
                                        
                                        
                                        
                                            nextPageLinkLabelChange
                                            (
                                                
                                                        
                                                         event
                                                    
                                                
                                            )
                                        
                                        
                                        
                                            Fires when the value for the configuration attribute 'nextPageLinkLabel' changes.
                                        
                                        
                                                
                                                    - Parameters:
- 
                                                            event
                                                                <{oldValue: any, newValue: any}>
                                                            An object containing the previous attribute value and the new value.
 
                                     
                                    
                                     
                             
                         
                     
                    
                        
                            Configuration Attributes
                            
                                    
                                    
                                    
                                        
                                            CSS class assigned to the link/span
                                        
                                     
 
     
                                    
                                        Default Value: 'yui-pg-next'
                                    
        
                                    
                                             
                                    
                                    
                                    
                                        
                                            Used as innerHTML for the next page link/span.
                                        
                                     
 
     
                                    
                                        Default Value: 'next >'