|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
java.lang.Objectjava.util.EventObject
java.beans.beancontext.BeanContextEvent
java.beans.beancontext.BeanContextMembershipEvent
public class BeanContextMembershipEvent
BeanContextMembershipEvent
는, 특정의 BeanContext
의 멤버에게 추가된 아이, 또는 삭제된 아이의 리스트를 캡슐화합니다. 이 이벤트의 인스턴스는, 지정된 BeanContext
인스턴스로 add(), remove(), retainAll(), removeAll(), 또는 clear()의 호출에 성공할 때마다 트리거됩니다. 객체로 이 타입의 이벤트를 수신하는 경우에는,BeanContextMembershipListener
인터페이스를 구현해, 그것을 BeanContext
의 addBeanContextMembershipListener(BeanContextMembershipListener bcml)
메소드를 사용해 등록할 필요가 있습니다.
BeanContext
,
BeanContextEvent
,
BeanContextMembershipListener
,
직렬화 된 형식 필드의 개요 | |
---|---|
protected Collection |
children
이 이벤트 통지에 의해 영향을 받는 아이의 리스트입니다. |
클래스 java.beans.beancontext. BeanContextEvent 로부터 상속된 필드 |
---|
propagatedFrom |
클래스 java.util. EventObject 로부터 상속된 필드 |
---|
source |
생성자 의 개요 | |
---|---|
BeanContextMembershipEvent (BeanContext bc,
Collection changes)
BeanContextMembershipEvent 를 구축합니다. |
|
BeanContextMembershipEvent (BeanContext bc,
Object [] changes)
BeanContextMembershipEvent 를 구축합니다. |
메소드의 개요 | |
---|---|
boolean |
contains (Object child)
지정된 아이가 이 이벤트에 의해 영향을 받을지 어떨지를 나타냅니다. |
Iterator |
iterator ()
이 이벤트에 의해 영향을 받는 아이의 배열을 가져옵니다. |
int |
size ()
통지에 의해 영향을 받는 아이의 수를 가져옵니다. |
Object [] |
toArray ()
이 이벤트에 의해 영향을 받는 아이의 배열을 가져옵니다. |
클래스 java.beans.beancontext. BeanContextEvent 로부터 상속된 메소드 |
---|
getBeanContext , getPropagatedFrom , isPropagated , setPropagatedFrom |
클래스 java.util. EventObject 로부터 상속된 메소드 |
---|
getSource , toString |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
필드의 상세 |
---|
protected Collection children
생성자 의 상세 |
---|
public BeanContextMembershipEvent(BeanContext bc, Collection changes)
bc
- BeanContext 소스changes
- 영향을 받는 Children
NullPointerException
- changes
가 null
의 경우public BeanContextMembershipEvent(BeanContext bc, Object [] changes)
bc
- BeanContext 소스changes
- 영향을 받는 Children
NullPointerException
- 이 이벤트에 관련한 변경이
null 의 경우메소드의 상세 |
---|
public int size()
public boolean contains(Object child)
true
, 그렇지 않은 경우는
false
public Object [] toArray()
public Iterator iterator()
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.