jdk/src/share/classes/java/awt/ScrollPaneAdjustable.java
changeset 22584 eed64ee05369
parent 21278 ef8a3a2a72f2
child 24865 09b1d992ca72
equal deleted inserted replaced
22583:e7d5af0b11e9 22584:eed64ee05369
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   416      * @see           java.awt.event.AdjustmentListener
   416      * @see           java.awt.event.AdjustmentListener
   417      * @see           java.awt.event.AdjustmentEvent
   417      * @see           java.awt.event.AdjustmentEvent
   418      * @since 1.4
   418      * @since 1.4
   419      */
   419      */
   420     public synchronized AdjustmentListener[] getAdjustmentListeners() {
   420     public synchronized AdjustmentListener[] getAdjustmentListeners() {
   421         return (AdjustmentListener[])(AWTEventMulticaster.getListeners(
   421         return AWTEventMulticaster.getListeners(adjustmentListener,
   422                                       adjustmentListener,
   422                                                 AdjustmentListener.class);
   423                                       AdjustmentListener.class));
       
   424     }
   423     }
   425 
   424 
   426     /**
   425     /**
   427      * Returns a string representation of this scrollbar and its values.
   426      * Returns a string representation of this scrollbar and its values.
   428      * @return    a string representation of this scrollbar.
   427      * @return    a string representation of this scrollbar.