컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
blockly > ISelectable
ISelectable 인터페이스
선택 가능한 객체의 인터페이스입니다.
일반적으로 구현은 선택이 올바르게 업데이트되고 선택 변경 이벤트가 실행되도록 하기 위해 onNodeFocus() 및 onNodeBlur() 구현을 사용하여 각각 자신과 null로 setSelected()를 호출해야 합니다.
서명:
export interface ISelectable extends IFocusableNode
확장: IFocusableNode
속성
메서드
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[],["The `ISelectable` interface defines objects that can be selected within a workspace. It mandates the presence of an `id` (string) and a `workspace` property of `Workspace` type. Key actions include `select()`, which visually highlights the object, and `unselect()`, which removes the visual highlight. These methods control the visual state of the selectable object within its designated workspace.\n"],null,[]]