equal
deleted
inserted
replaced
741 |
741 |
742 return size; |
742 return size; |
743 } |
743 } |
744 |
744 |
745 public class PropertyChangeHandler implements PropertyChangeListener { |
745 public class PropertyChangeHandler implements PropertyChangeListener { |
746 // NOTE: This class exists only for backward compatability. All |
746 // NOTE: This class exists only for backward compatibility. All |
747 // its functionality has been moved into Handler. If you need to add |
747 // its functionality has been moved into Handler. If you need to add |
748 // new functionality add it to the Handler, but make sure this |
748 // new functionality add it to the Handler, but make sure this |
749 // class calls into the Handler. |
749 // class calls into the Handler. |
750 public void propertyChange( PropertyChangeEvent e ) { |
750 public void propertyChange( PropertyChangeEvent e ) { |
751 getHandler().propertyChange(e); |
751 getHandler().propertyChange(e); |
1543 * |
1543 * |
1544 * This class should be treated as a "protected" inner class. |
1544 * This class should be treated as a "protected" inner class. |
1545 * Instantiate it only within subclasses of <code>Foo</code>. |
1545 * Instantiate it only within subclasses of <code>Foo</code>. |
1546 */ |
1546 */ |
1547 public class ChangeHandler implements ChangeListener { |
1547 public class ChangeHandler implements ChangeListener { |
1548 // NOTE: This class exists only for backward compatability. All |
1548 // NOTE: This class exists only for backward compatibility. All |
1549 // its functionality has been moved into Handler. If you need to add |
1549 // its functionality has been moved into Handler. If you need to add |
1550 // new functionality add it to the Handler, but make sure this |
1550 // new functionality add it to the Handler, but make sure this |
1551 // class calls into the Handler. |
1551 // class calls into the Handler. |
1552 public void stateChanged(ChangeEvent e) { |
1552 public void stateChanged(ChangeEvent e) { |
1553 getHandler().stateChanged(e); |
1553 getHandler().stateChanged(e); |
1850 * <p> |
1850 * <p> |
1851 * This class should be treated as a "protected" inner class. |
1851 * This class should be treated as a "protected" inner class. |
1852 * Instantiate it only within subclasses of <code>Foo</code>. |
1852 * Instantiate it only within subclasses of <code>Foo</code>. |
1853 */ |
1853 */ |
1854 public class ComponentHandler extends ComponentAdapter { |
1854 public class ComponentHandler extends ComponentAdapter { |
1855 // NOTE: This class exists only for backward compatability. All |
1855 // NOTE: This class exists only for backward compatibility. All |
1856 // its functionality has been moved into Handler. If you need to add |
1856 // its functionality has been moved into Handler. If you need to add |
1857 // new functionality add it to the Handler, but make sure this |
1857 // new functionality add it to the Handler, but make sure this |
1858 // class calls into the Handler. |
1858 // class calls into the Handler. |
1859 public void componentResized(ComponentEvent e) { |
1859 public void componentResized(ComponentEvent e) { |
1860 getHandler().componentResized(e); |
1860 getHandler().componentResized(e); |
1866 * <p> |
1866 * <p> |
1867 * This class should be treated as a "protected" inner class. |
1867 * This class should be treated as a "protected" inner class. |
1868 * Instantiate it only within subclasses of <code>Foo</code>. |
1868 * Instantiate it only within subclasses of <code>Foo</code>. |
1869 */ |
1869 */ |
1870 public class FocusHandler implements FocusListener { |
1870 public class FocusHandler implements FocusListener { |
1871 // NOTE: This class exists only for backward compatability. All |
1871 // NOTE: This class exists only for backward compatibility. All |
1872 // its functionality has been moved into Handler. If you need to add |
1872 // its functionality has been moved into Handler. If you need to add |
1873 // new functionality add it to the Handler, but make sure this |
1873 // new functionality add it to the Handler, but make sure this |
1874 // class calls into the Handler. |
1874 // class calls into the Handler. |
1875 public void focusGained(FocusEvent e) { |
1875 public void focusGained(FocusEvent e) { |
1876 getHandler().focusGained(e); |
1876 getHandler().focusGained(e); |
1893 * <p> |
1893 * <p> |
1894 * This class should be treated as a "protected" inner class. |
1894 * This class should be treated as a "protected" inner class. |
1895 * Instantiate it only within subclasses of <code>Foo</code>. |
1895 * Instantiate it only within subclasses of <code>Foo</code>. |
1896 */ |
1896 */ |
1897 public class ActionScroller extends AbstractAction { |
1897 public class ActionScroller extends AbstractAction { |
1898 // NOTE: This class exists only for backward compatability. All |
1898 // NOTE: This class exists only for backward compatibility. All |
1899 // its functionality has been moved into Actions. If you need to add |
1899 // its functionality has been moved into Actions. If you need to add |
1900 // new functionality add it to the Actions, but make sure this |
1900 // new functionality add it to the Actions, but make sure this |
1901 // class calls into the Actions. |
1901 // class calls into the Actions. |
1902 int dir; |
1902 int dir; |
1903 boolean block; |
1903 boolean block; |
1926 |
1926 |
1927 /** |
1927 /** |
1928 * A static version of the above. |
1928 * A static version of the above. |
1929 */ |
1929 */ |
1930 static class SharedActionScroller extends AbstractAction { |
1930 static class SharedActionScroller extends AbstractAction { |
1931 // NOTE: This class exists only for backward compatability. All |
1931 // NOTE: This class exists only for backward compatibility. All |
1932 // its functionality has been moved into Actions. If you need to add |
1932 // its functionality has been moved into Actions. If you need to add |
1933 // new functionality add it to the Actions, but make sure this |
1933 // new functionality add it to the Actions, but make sure this |
1934 // class calls into the Actions. |
1934 // class calls into the Actions. |
1935 int dir; |
1935 int dir; |
1936 boolean block; |
1936 boolean block; |