|public abstract Display||getItemDisplay(Item item)|
Get Display being used for Item painting. Platform-dependent.
This method is called by MIDPVideoPainter implementation
to get a hold of the MMHelper...
|public abstract 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(com.sun.mmedia.MMHelper mmhelper)|
This is the link to the LCDUI canvas implementation for special
repaint events. This is called by javax.microedition.lcdui.MMHelperImpl.
// Safeguard to make sure its called only once
if (mmh == null)
mmh = mmhelper;
|public abstract void||unregisterPlayer(Canvas c, MIDPVideoPainter vp)|
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.