콘텐츠로 이동

Interface Controllable

package javax.microedition.media

public Control[] getControls()

Returns:

  • Control 객체 모음

Throws:

  • IllegalStateException - getControls가 잘못된 상태에서 호출된 경우 발생합니다. 자세한 내용은 Player를 참조하십시오.

Parameters:

  • controlType - Control의 클래스 이름. 클래스 이름은 클래스의 전체 이름으로 제공되어야 하며 클래스의 패키지가 제공되지 않는 경우 javax.microedition.media.control 패키지로 간주합니다.

Returns:

  • 컨트롤을 구현하는 객체 또는 null

Throws:

  • IllegalStateException - getControl이 잘못된 상태에서 호출된 경우 발생합니다. 자세한 내용은 Player를 참조하십시오.
  • Control getControl ( String controlType) — 지정된 Control 인터페이스를 구현하는 객체를 가져옵니다.
  • Control [] getControls () — 이 인터페이스를 구현하는 객체에서 Control 모음을 가져옵니다.
public Control[] getControls()

Returns:

  • Control 객체 모음

Throws:

  • IllegalStateException - getControls가 잘못된 상태에서 호출된 경우 발생합니다. 자세한 내용은 Player를 참조하십시오.
public Control getControl(String controlType)

Parameters:

  • controlType - Control의 클래스 이름. 클래스 이름은 클래스의 전체 이름으로 제공되어야 하며 클래스의 패키지가 제공되지 않는 경우 javax.microedition.media.control 패키지로 간주합니다.

Returns:

  • 컨트롤을 구현하는 객체 또는 null

Throws:

  • IllegalStateException - getControl이 잘못된 상태에서 호출된 경우 발생합니다. 자세한 내용은 Player를 참조하십시오.