equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2013, 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 |
513 *<pre> |
513 *<pre> |
514 *EventHandler.create(ActionListener.class, dialog, "show") |
514 *EventHandler.create(ActionListener.class, dialog, "show") |
515 *</pre> |
515 *</pre> |
516 *</blockquote> |
516 *</blockquote> |
517 * |
517 * |
|
518 * @param <T> the type to create |
518 * @param listenerInterface the listener interface to create a proxy for |
519 * @param listenerInterface the listener interface to create a proxy for |
519 * @param target the object that will perform the action |
520 * @param target the object that will perform the action |
520 * @param action the name of a (possibly qualified) property or method on |
521 * @param action the name of a (possibly qualified) property or method on |
521 * the target |
522 * the target |
522 * @return an object that implements <code>listenerInterface</code> |
523 * @return an object that implements <code>listenerInterface</code> |
568 * } |
569 * } |
569 *}; |
570 *}; |
570 *</pre> |
571 *</pre> |
571 *</blockquote> |
572 *</blockquote> |
572 * |
573 * |
|
574 * @param <T> the type to create |
573 * @param listenerInterface the listener interface to create a proxy for |
575 * @param listenerInterface the listener interface to create a proxy for |
574 * @param target the object that will perform the action |
576 * @param target the object that will perform the action |
575 * @param action the name of a (possibly qualified) property or method on |
577 * @param action the name of a (possibly qualified) property or method on |
576 * the target |
578 * the target |
577 * @param eventPropertyName the (possibly qualified) name of a readable property of the incoming event |
579 * @param eventPropertyName the (possibly qualified) name of a readable property of the incoming event |
657 * } |
659 * } |
658 *}; |
660 *}; |
659 * </pre> |
661 * </pre> |
660 *</blockquote> |
662 *</blockquote> |
661 * |
663 * |
|
664 * @param <T> the type to create |
662 * @param listenerInterface the listener interface to create a proxy for |
665 * @param listenerInterface the listener interface to create a proxy for |
663 * @param target the object that will perform the action |
666 * @param target the object that will perform the action |
664 * @param action the name of a (possibly qualified) property or method on |
667 * @param action the name of a (possibly qualified) property or method on |
665 * the target |
668 * the target |
666 * @param eventPropertyName the (possibly qualified) name of a readable property of the incoming event |
669 * @param eventPropertyName the (possibly qualified) name of a readable property of the incoming event |