|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjava.beans.SimpleBeanInfo
public class SimpleBeanInfo
사용자가 BeanInfo 클래스를 제공하기 쉬워지도록(듯이) 하는 지원 클래스입니다.
무조작 (noop) 정보의 제공을 디폴트로 설정합니다. 또, 선택한 토픽에 대한보다 명시적인 정보를 제공하기 위해서, 선택적으로 오버라이드(override) 되는 일이 있습니다. 인트로스페크타는 "noop" 치를 검출하면(자), 저레벨의 인트로스페크션 및 설계 패턴을 적용해, 타겟 Bean 를 자동적으로 해석합니다.
필드의 개요 |
---|
인터페이스 java.beans. BeanInfo 로부터 상속된 필드 |
---|
ICON_COLOR_16x16 , ICON_COLOR_32x32 , ICON_MONO_16x16 , ICON_MONO_32x32 |
생성자 의 개요 | |
---|---|
SimpleBeanInfo ()
|
메소드의 개요 | |
---|---|
BeanInfo [] |
getAdditionalBeanInfo ()
관련하는 BeanInfo 객체가 그 밖에 없는 것을 요구합니다. |
BeanDescriptor |
getBeanDescriptor ()
Bean 의 클래스 및 카스타마이자에 관한 정보를 거부합니다. |
int |
getDefaultEventIndex ()
디폴트의 이벤트에 관한 정보를 거부합니다. |
int |
getDefaultPropertyIndex ()
디폴트의 프로퍼티에 관한 정보를 거부합니다. |
EventSetDescriptor [] |
getEventSetDescriptors ()
이벤트 세트에 관한 정보를 거부합니다. |
Image |
getIcon (int iconKind)
이용 가능한 아이콘이 없는 것을 요구합니다. |
MethodDescriptor [] |
getMethodDescriptors ()
메소드에 관한 정보를 거부합니다. |
PropertyDescriptor [] |
getPropertyDescriptors ()
프로퍼티에 관한 정보를 거부합니다. |
Image |
loadImage (String resourceName)
아이콘 이미지를 로드하기 위한 유틸리티 메소드입니다. |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
생성자 의 상세 |
---|
public SimpleBeanInfo()
메소드의 상세 |
---|
public BeanDescriptor getBeanDescriptor()
BeanInfo
내의 getBeanDescriptor
public PropertyDescriptor [] getPropertyDescriptors()
BeanInfo
내의 getPropertyDescriptors
프로퍼티이 인덱스화 되고 있는 경우에는, 결과의 배열내의 그 항목은 PropertyDescriptor 의 IndexedPropertyDescriptor 서브 클래스에 속한다. getPropertyDescriptors 의 클라이언트는, 「instanceof」를 사용해, 취득한 PropertyDescriptor 가 IndexedPropertyDescriptor 화도인지를 판정할 수 있다.
public int getDefaultPropertyIndex()
BeanInfo
내의 getDefaultPropertyIndex
디폴트 프로퍼티이 없는 경우는 -1
public EventSetDescriptor [] getEventSetDescriptors()
BeanInfo
내의 getEventSetDescriptors
public int getDefaultEventIndex()
BeanInfo
내의 getDefaultEventIndex
디폴트의 이벤트가 없는 경우는 -1
public MethodDescriptor [] getMethodDescriptors()
BeanInfo
내의 getMethodDescriptors
public BeanInfo [] getAdditionalBeanInfo()
BeanInfo
내의 getAdditionalBeanInfo
public Image getIcon(int iconKind)
BeanInfo
내의 getIcon
iconKind
- 요구된 아이콘의 종류. 정수
ICON_COLOR_16 x16, ICON_COLOR_32 x32,
ICON_MONO_16 x16, 또는 ICON_MONO_32x32 의 어떤 것인가
public Image loadImage(String resourceName)
resourceName
- 현재의 클래스의 클래스 파일이 포함된 디렉토리에의 상대 경로명.
예를 들어 "wombat.gif"
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.