CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Roman Kennke <[EMAIL PROTECTED]> 05/09/23 20:28:20
Modified files: . : ChangeLog javax/swing : JScrollPane.java javax/swing/plaf/basic: BasicScrollPaneUI.java Log message: 2005-09-23 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/JScrollPane.java (setHorizontalScrollBar): Removed handling of listeners on the model. This is now done in the BasicScrollPaneUI. (setHorizontalScrollBarPolicy): Added revalidate call. (setVerticalScrollBar): Removed handling of listeners on the model. This is now done in the BasicScrollPaneUI. (setVerticalScrollBarPolicy): Added revalidate call. (setViewport): Removed handling of listeners on the viewport. This is now done in the BasicScrollPaneUI. (createScrollListener): Removed unnecessary and undocumented method. The functionality of this method is moved to BasicScrollPaneUI as specified. (JScrollPane): Removed initialization of removed listener. * javax/swing/plaf/basic/BasicScrollPaneUI.java (HSBChangeListener): New inner class. (VSBChangeListener): New inner class. (ViewportChangeHandler): New inner class. (PropertyChangeHandler): New inner class. (MouseWheelHandler): New inner class. (installUI): Also call installListeners. (installListeners): New method. Initializes the listeners on the scrollpane. (createHSBChangeListener): New method. (createVSBChangeListener): New method. (createViewport): New method. (createPropertyChangeListener): New method. (uninstallUI): Also call uninstallListeners. (uninstallListeners): New method. (syncScrollPaneWithViewport): New method. (updateColumnHeader): New method. (updateRowHeader): New method. (updateScrollBarDisplayPolicy): New method. (updateViewport): New method. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.4948&tr2=1.4949&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JScrollPane.java.diff?tr1=1.27&tr2=1.28&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicScrollPaneUI.java.diff?tr1=1.12&tr2=1.13&r1=text&r2=text