BeanContextChildComponentProxy — AWT 컴포넌트 연결 프록시

BeanContextChildComponentProxy — AWT 컴포넌트 연결 프록시

이 인터페이스는 AWT Component가 연결된 BeanContextChild가 구현해요.

출처: Java API Reference

본문

public interface BeanContextChildComponentProxy {
    Component getComponent();
}

주요 메서드

  • getComponent() — 이 BeanContextChild와 연결된 java.awt.Component를 가져와요.

이 인터페이스는 빈 컨텍스트에 포함되면서도 동시에 AWT 컴포넌트로도 표현되는 빈들이, 자신의 AWT 컴포넌트에 접근할 수 있는 통일된 방법을 제공해요. BeanContextContainerProxy가 컨테이너에 대해 대칭적인 역할을 해요.

더 알아보기