JavaTM Platform
Standard Ed. 6

java.beans
클래스 VetoableChangeListenerProxy

java.lang.Object 
  상위를 확장 java.util.EventListenerProxy 
      상위를 확장 java.beans.VetoableChangeListenerProxy
모든 구현된 인터페이스:
VetoableChangeListener , EventListener


public class VetoableChangeListenerProxy
extends EventListenerProxy
implements VetoableChangeListener

VetoableChangeListener 를 제약 프로퍼티과 관련짓는 목적으로 EventListenerProxy 를 확장하는 클래스입니다. 이 클래스의 인스턴스는,VetoableChangeListener 로서 VetoableChange 이벤트를 트리거하는 것을 지원하는 Bean 에 추가 가능합니다.

객체가 getVetoableChangeListeners() 메소드를 가지고 있는 경우,VetoableChangeListener 객체와 VetoableChangeListenerProxy 객체로부터 되는 배열이 돌려주어집니다.

도입된 버젼:
1.4
관련 항목:
EventListenerProxy , VetoableChangeListener , VetoableChangeSupport.getVetoableChangeListeners()

생성자 의 개요
VetoableChangeListenerProxy (String  propertyName, VetoableChangeListener  listener)
           
 
메소드의 개요
 String getPropertyName ()
          청취자가 관련지을 수 있고 있는 지정된 프로퍼티의 이름을 돌려줍니다.
 void vetoableChange (PropertyChangeEvent  evt)
          프로퍼티 변경 이벤트를 청취자 위양에 전송 합니다.
 
클래스 java.util. EventListenerProxy 로부터 상속된 메소드
getListener
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

생성자 의 상세

VetoableChangeListenerProxy

public VetoableChangeListenerProxy(String  propertyName,
                                   VetoableChangeListener  listener)
파라미터:
propertyName - 대기하고 있는 프로퍼티의 이름
listener - 청취자 객체
메소드의 상세

vetoableChange

public void vetoableChange(PropertyChangeEvent  evt)
                    throws PropertyVetoException 
프로퍼티 변경 이벤트를 청취자 위양에 전송 합니다.

정의:
인터페이스 VetoableChangeListener 내의 vetoableChange
파라미터:
evt - 프로퍼티 변경 이벤트
예외:
PropertyVetoException - 수취하는 측으로 프로퍼티 변경의 롤백(rollback)를 지정하고 있는 경우

getPropertyName

public String  getPropertyName()
청취자가 관련지을 수 있고 있는 지정된 프로퍼티의 이름을 돌려줍니다.


JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.