Searched defs:listenerType (Results 1 - 25 of 30) sorted by relevance

12

/openjdk7/jdk/src/share/classes/javax/swing/
H A DAbstractListModel.java191 * You can specify the <code>listenerType</code> argument
203 * @param listenerType the type of listeners requested;
211 * @exception ClassCastException if <code>listenerType</code> doesn't
219 public <T extends EventListener> T[] getListeners(Class<T> listenerType) { argument
220 return listenerList.getListeners(listenerType);
H A DAbstractSpinnerModel.java133 * @param listenerType the type of listeners to return, e.g. ChangeListener.class
134 * @return all of the objects receiving <em>listenerType</em> notifications
137 public <T extends EventListener> T[] getListeners(Class<T> listenerType) { argument
138 return listenerList.getListeners(listenerType);
H A DDefaultSingleSelectionModel.java144 * You can specify the <code>listenerType</code> argument
156 * @param listenerType the type of listeners requested;
164 * @exception ClassCastException if <code>listenerType</code> doesn't
172 public <T extends EventListener> T[] getListeners(Class<T> listenerType) { argument
173 return listenerList.getListeners(listenerType);
H A DDefaultBoundedRangeModel.java392 * You can specify the <code>listenerType</code> argument
404 * @param listenerType the type of listeners requested;
412 * @exception ClassCastException if <code>listenerType</code> doesn't
420 public <T extends EventListener> T[] getListeners(Class<T> listenerType) { argument
421 return listenerList.getListeners(listenerType);
H A DDefaultButtonModel.java467 * You can specify the <code>listenerType</code> argument
479 * @param listenerType the type of listeners requested;
487 * @exception ClassCastException if <code>listenerType</code> doesn't
497 public <T extends EventListener> T[] getListeners(Class<T> listenerType) { argument
498 return listenerList.getListeners(listenerType);
H A DTimer.java324 * You can specify the <code>listenerType</code> argument
336 * @param listenerType the type of listeners requested;
344 * @exception ClassCastException if <code>listenerType</code> doesn't
354 public <T extends EventListener> T[] getListeners(Class<T> listenerType) { argument
355 return listenerList.getListeners(listenerType);
H A DDefaultListSelectionModel.java221 * You can specify the <code>listenerType</code> argument
233 * @param listenerType the type of listeners requested;
241 * @exception ClassCastException if <code>listenerType</code> doesn't
249 public <T extends EventListener> T[] getListeners(Class<T> listenerType) { argument
250 return listenerList.getListeners(listenerType);
/openjdk7/jdk/src/share/classes/javax/swing/table/
H A DAbstractTableModel.java310 * You can specify the <code>listenerType</code> argument
322 * @param listenerType the type of listeners requested; this parameter
329 * @exception ClassCastException if <code>listenerType</code>
337 public <T extends EventListener> T[] getListeners(Class<T> listenerType) { argument
338 return listenerList.getListeners(listenerType);
H A DDefaultTableColumnModel.java642 * You can specify the <code>listenerType</code> argument
654 * @param listenerType the type of listeners requested; this parameter
661 * @exception ClassCastException if <code>listenerType</code>
668 public <T extends EventListener> T[] getListeners(Class<T> listenerType) { argument
669 return listenerList.getListeners(listenerType);
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DDefaultTreeModel.java621 * You can specify the <code>listenerType</code> argument
633 * @param listenerType the type of listeners requested; this parameter
640 * @exception ClassCastException if <code>listenerType</code>
648 public <T extends EventListener> T[] getListeners(Class<T> listenerType) { argument
649 return listenerList.getListeners(listenerType);
H A DDefaultTreeSelectionModel.java648 * You can specify the <code>listenerType</code> argument
660 * @param listenerType the type of listeners requested; this parameter
667 * @exception ClassCastException if <code>listenerType</code>
676 public <T extends EventListener> T[] getListeners(Class<T> listenerType) { argument
677 return listenerList.getListeners(listenerType);
/openjdk7/jdk/src/share/classes/java/beans/
H A DEventSetDescriptor.java65 * @param listenerType The target interface that events
73 Class<?> listenerType, String listenerMethodName)
75 this(sourceClass, eventSetName, listenerType,
77 Introspector.ADD_PREFIX + getListenerClassName(listenerType),
78 Introspector.REMOVE_PREFIX + getListenerClassName(listenerType),
79 Introspector.GET_PREFIX + getListenerClassName(listenerType) + "s");
106 * @param listenerType The Class of the target interface that events
119 Class<?> listenerType,
124 this(sourceClass, eventSetName, listenerType,
136 * @param listenerType Th
72 EventSetDescriptor(Class<?> sourceClass, String eventSetName, Class<?> listenerType, String listenerMethodName) argument
117 EventSetDescriptor(Class<?> sourceClass, String eventSetName, Class<?> listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName) argument
150 EventSetDescriptor(Class<?> sourceClass, String eventSetName, Class<?> listenerType, String listenerMethodNames[], String addListenerMethodName, String removeListenerMethodName, String getListenerMethodName) argument
213 EventSetDescriptor(String eventSetName, Class<?> listenerType, Method listenerMethods[], Method addListenerMethod, Method removeListenerMethod) argument
241 EventSetDescriptor(String eventSetName, Class<?> listenerType, Method listenerMethods[], Method addListenerMethod, Method removeListenerMethod, Method getListenerMethod) argument
273 EventSetDescriptor(String eventSetName, Class<?> listenerType, MethodDescriptor listenerMethodDescriptors[], Method addListenerMethod, Method removeListenerMethod) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DAWTEventMulticaster.java953 * AWTEventMulticaster. Additionally, only listeners of type listenerType
956 private static int getListenerCount(EventListener l, Class listenerType) { argument
959 return getListenerCount(mc.a, listenerType) +
960 getListenerCount(mc.b, listenerType);
964 return listenerType.isInstance(l) ? 1 : 0;
1005 * @param listenerType the type of listeners requested; this parameter
1014 * @exception ClassCastException if <code>listenerType</code>
1021 getListeners(EventListener l, Class<T> listenerType) argument
1023 if (listenerType == null) {
1027 int n = getListenerCount(l, listenerType);
[all...]
H A DButton.java314 * You can specify the <code>listenerType</code> argument
325 * @param listenerType the type of listeners requested; this parameter
332 * @exception ClassCastException if <code>listenerType</code>
339 public <T extends EventListener> T[] getListeners(Class<T> listenerType) { argument
341 if (listenerType == ActionListener.class) {
344 return super.getListeners(listenerType);
346 return AWTEventMulticaster.getListeners(l, listenerType);
H A DCheckbox.java484 * You can specify the <code>listenerType</code> argument
495 * @param listenerType the type of listeners requested; this parameter
502 * @exception ClassCastException if <code>listenerType</code>
509 public <T extends EventListener> T[] getListeners(Class<T> listenerType) { argument
511 if (listenerType == ItemListener.class) {
514 return super.getListeners(listenerType);
516 return AWTEventMulticaster.getListeners(l, listenerType);
H A DCheckboxMenuItem.java291 * You can specify the <code>listenerType</code> argument
302 * @param listenerType the type of listeners requested; this parameter
309 * @exception ClassCastException if <code>listenerType</code>
316 public <T extends EventListener> T[] getListeners(Class<T> listenerType) { argument
318 if (listenerType == ItemListener.class) {
321 return super.getListeners(listenerType);
323 return AWTEventMulticaster.getListeners(l, listenerType);
H A DChoice.java525 * You can specify the <code>listenerType</code> argument
536 * @param listenerType the type of listeners requested; this parameter
543 * @exception ClassCastException if <code>listenerType</code>
550 public <T extends EventListener> T[] getListeners(Class<T> listenerType) { argument
552 if (listenerType == ItemListener.class) {
555 return super.getListeners(listenerType);
557 return AWTEventMulticaster.getListeners(l, listenerType);
H A DTextField.java521 * You can specify the <code>listenerType</code> argument
532 * @param listenerType the type of listeners requested; this parameter
539 * @exception ClassCastException if <code>listenerType</code>
546 public <T extends EventListener> T[] getListeners(Class<T> listenerType) { argument
548 if (listenerType == ActionListener.class) {
551 return super.getListeners(listenerType);
553 return AWTEventMulticaster.getListeners(l, listenerType);
H A DMenuItem.java578 * You can specify the <code>listenerType</code> argument
589 * @param listenerType the type of listeners requested; this parameter
596 * @exception ClassCastException if <code>listenerType</code>
603 public <T extends EventListener> T[] getListeners(Class<T> listenerType) { argument
605 if (listenerType == ActionListener.class) {
608 return AWTEventMulticaster.getListeners(l, listenerType);
H A DScrollbar.java1025 * You can specify the <code>listenerType</code> argument
1036 * @param listenerType the type of listeners requested; this parameter
1042 * @exception ClassCastException if <code>listenerType</code>
1048 public <T extends EventListener> T[] getListeners(Class<T> listenerType) { argument
1050 if (listenerType == AdjustmentListener.class) {
1053 return super.getListeners(listenerType);
1055 return AWTEventMulticaster.getListeners(l, listenerType);
H A DTextComponent.java611 * You can specify the <code>listenerType</code> argument
622 * @param listenerType the type of listeners requested; this parameter
629 * @exception ClassCastException if <code>listenerType</code>
636 public <T extends EventListener> T[] getListeners(Class<T> listenerType) { argument
638 if (listenerType == TextListener.class) {
641 return super.getListeners(listenerType);
643 return AWTEventMulticaster.getListeners(l, listenerType);
H A DList.java989 * You can specify the <code>listenerType</code> argument
1000 * @param listenerType the type of listeners requested; this parameter
1007 * @exception ClassCastException if <code>listenerType</code>
1014 public <T extends EventListener> T[] getListeners(Class<T> listenerType) { argument
1016 if (listenerType == ActionListener.class) {
1018 } else if (listenerType == ItemListener.class) {
1021 return super.getListeners(listenerType);
1023 return AWTEventMulticaster.getListeners(l, listenerType);
/openjdk7/jdk/src/share/classes/java/awt/dnd/
H A DDragSource.java673 * @param listenerType the type of listeners requested; this parameter
680 * @exception <code>ClassCastException</code> if <code>listenerType</code>
688 public <T extends EventListener> T[] getListeners(Class<T> listenerType) { argument
690 if (listenerType == DragSourceListener.class) {
692 } else if (listenerType == DragSourceMotionListener.class) {
695 return DnDEventMulticaster.getListeners(l, listenerType);
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DStyleContext.java1375 * @return all of the objects receiving <em>listenerType</em> notifications
1380 public <T extends EventListener> T[] getListeners(Class<T> listenerType) { argument
1381 return listenerList.getListeners(listenerType);
H A DDefaultCaret.java816 * You can specify the <code>listenerType</code> argument
828 * @param listenerType the type of listeners requested; this parameter
835 * @exception ClassCastException if <code>listenerType</code>
843 public <T extends EventListener> T[] getListeners(Class<T> listenerType) { argument
844 return listenerList.getListeners(listenerType);

Completed in 580 milliseconds

12