Наши проекты:
Журнал · Discuz!ML · Wiki · DRKB · Помощь проекту |
||
ПРАВИЛА | FAQ | Помощь | Поиск | Участники | Календарь | Избранное | RSS |
[18.116.21.229] |
|
Сообщ.
#1
,
|
|
|
java.lang.Object initDisplayMode(int mode, java.lang.Object arg)
какую функцию выполняет этот метод? какую сущность возвращает этот метод? что означают параметры mode и arg? |
Сообщ.
#2
,
|
|
|
java.lang.Object initDisplayMode(int mode, java.lang.Object arg) Initialize the mode on how the video is displayed. This method must be called before video can be displayed. Two modes are defined: USE_GUI_PRIMITIVE (inherited from GUIControl) USE_DIRECT_VIDEO On platforms with LCDUI support, both modes must be supported. Specified by: initDisplayMode in interface GUIControl Parameters: mode - The video mode that determines how video is displayed. It can be USE_GUI_PRIMITIVE, USE_DIRECT_VIDEO or an implementation-specific mode. arg - The exact semantics of this argument is specified in the respective mode definitions. Returns: The exact semantics and type of the object returned are specified in the respective mode definitions. Throws: java.lang.IllegalStateException - Thrown if initDisplayMode is called again after it has previously been called successfully. java.lang.IllegalArgumentException - Thrown if the mode or arg argument is invalid. mode must be USE_GUI_PRIMITIVE, USE_DIRECT_VIDEO, or a custom mode supported by this implementation. arg must conform to the conditions defined by the respective mode definitions. Refer to the mode definitions for the required type of arg. http://java.sun.com/javame/reference/apis/jsr135/ |
Сообщ.
#3
,
|
|
|
Спасибо за ответ! Но я не силен в английском, машинный переводчик тоже в этом деле слабоват, хотелось бы на русском.
|