Module java.desktop
Package javax.swing

Class JScrollPane.AccessibleJScrollPane

    • Field Detail

      • viewPort

        protected JViewport viewPort
        this JScrollPane's current JViewport
    • Constructor Detail

      • AccessibleJScrollPane

        public AccessibleJScrollPane​()
        AccessibleJScrollPane constructor
    • Method Detail

      • resetViewPort

        public void resetViewPort​()
        Resets the viewport ChangeListener and PropertyChangeListener
      • stateChanged

        public void stateChanged​(ChangeEvent e)
        Invoked when the target of the listener has changed its state.
        Specified by:
        stateChanged in interface ChangeListener
        Parameters:
        e - a ChangeEvent object. Must not be null.
        Throws:
        NullPointerException - if the parameter is null.
      • propertyChange

        public void propertyChange​(PropertyChangeEvent e)
        This method gets called when a bound property is changed.
        Specified by:
        propertyChange in interface PropertyChangeListener
        Parameters:
        e - A PropertyChangeEvent object describing the event source and the property that has changed. Must not be null.
        Throws:
        NullPointerException - if the parameter is null.
        Since:
        1.5