blockly > ConnectionNavigationPolicy

ConnectionNavigationPolicy 클래스

연결에서 키보드 탐색을 제어하는 규칙 집합입니다.

서명:

export declare class ConnectionNavigationPolicy implements INavigationPolicy<RenderedConnection> 

구현: INavigationPolicy<RenderedConnection>

메서드

메서드 수정자 설명
getFirstChild(current) 주어진 연결의 첫 번째 하위 요소를 반환합니다.
getNextSibling(current) 지정된 연결 다음에 오는 다음 요소를 반환합니다.
getParent(current) 지정된 연결의 상위 요소를 반환합니다.
getParentConnection(block) protected 블록의 상위 연결을 가져옵니다. 출력 연결, 이전 연결 또는 정의되지 않은 연결입니다. 두 연결이 모두 있는 경우 실제로 다른 블록에 연결된 연결을 반환합니다.
getPreviousSibling(current) 지정된 연결 앞에 있는 요소를 반환합니다.
isApplicable(current) 이 정책에서 지정된 객체로 이동할 수 있는지 여부를 반환합니다.
isNavigable(current) 지정된 연결로 이동할 수 있는지 여부를 반환합니다.