Main Content

사용자 지정 UI 컴포넌트 만들기

앱에 사용할 사용자 고유의 재사용 가능한 사용자 지정 UI 컴포넌트 만들기

자신만의 사용자 지정 UI 컴포넌트를 만들어서 앱에서 사용하거나 다른 사용자와 공유할 수 있습니다. 사용자 지정 컴포넌트를 사용하면 기존 UI 컴포넌트 기능을 확장하고, 대형 앱을 관리 가능한 독립적인 조각으로 나누고, 다른 사용자들이 이러한 컴포넌트를 여러 앱에서 맞춤화하고 재사용할 수 있는 인터페이스를 개발할 수 있습니다. 사용자 지정 컴포넌트는 앱 디자이너에서 대화형 방식으로 만들거나 ComponentContainer 기본 클래스의 서브클래스를 생성해서 만들 수 있습니다. 두 방식 모두 앱 디자이너 앱에서 대화형 방식으로 컴포넌트를 사용하도록 구성할 수 있습니다.

클래스

matlab.ui.componentcontainer.ComponentContainer Base class for developing custom UI component objects (R2020b 이후)

메서드

setupSet up instance of component container subclass
updateUpdate instance of UI component container subclass after setting properties

함수

appdesigner.customcomponent.configureMetadataConfigure custom UI component for use in App Designer (R2021a 이후)
appdesigner.customcomponent.removeMetadataRemove custom UI component from App Designer (R2021a 이후)

도움말 항목

앱 디자이너에서 컴포넌트 만들기

프로그래밍 방식으로 컴포넌트 만들기

컴포넌트 사용 및 공유하기