| java.lang.Object com.sun.mmedia.MMHelper
All known Subclasses: javax.microedition.lcdui.MMHelperImpl,
MMHelper | abstract public class MMHelper (Code) | | This is a helper interface to communicate between the LCDUI Canvas
and
the MMAPI video players. It has methods to register and unregister
MIDPVideoPainter s with an LCDUI Canvas.
|
Method Summary | |
abstract public Display | getItemDisplay(Item item) Get Display being used for Item painting. | static MMHelper | getMMHelper() This method is called by MIDPVideoPainter implementation
to get a hold of the MMHelper... | abstract public void | registerPlayer(Canvas c, MIDPVideoPainter vp) Registers a video control (which implements MIDPVideoPainter) with
the corresponding Canvas where the video is to show up. | public static void | setMMHelper(MMHelper mmhelper) This is the link to the LCDUI canvas implementation for special
repaint events. | abstract public void | unregisterPlayer(Canvas c, MIDPVideoPainter vp) Unregisters a video control so that it doesn't get paint callbacks
anymore after the player is closed. |
getItemDisplay | abstract public Display getItemDisplay(Item item)(Code) | | Get Display being used for Item painting. Platform-dependent.
|
getMMHelper | static MMHelper getMMHelper()(Code) | | This method is called by MIDPVideoPainter implementation
to get a hold of the MMHelper...
|
registerPlayer | abstract public void registerPlayer(Canvas c, MIDPVideoPainter vp)(Code) | | Registers a video control (which implements MIDPVideoPainter) with
the corresponding Canvas where the video is to show up.
|
setMMHelper | public static void setMMHelper(MMHelper mmhelper)(Code) | | This is the link to the LCDUI canvas implementation for special
repaint events. This is called by javax.microedition.lcdui.MMHelperImpl.
|
unregisterPlayer | abstract public void unregisterPlayer(Canvas c, MIDPVideoPainter vp)(Code) | | Unregisters a video control so that it doesn't get paint callbacks
anymore after the player is closed. This also reduces load on the
Canvas repaint mechanism.
|
|
|