| com.sun.midp.chameleon.ChamDisplayTunnel
ChamDisplayTunnel | public interface ChamDisplayTunnel (Code) | | The ChamDisplayTunnel interface is a special interface which
defines the relationship between Chameleon and the lcdui
Display class. It exists to provide cross-package access
from the Chameleon user interface library to the lcdui
Display class.
|
Method Summary | |
public void | callItemListener(Command cmd, ItemCommandListener listener) This method is used by Chameleon to indicate that an item
command has been selected. | public void | callPaint(Graphics g) This method is used by Chameleon to paint the current Displayable. | public void | callScreenListener(Command cmd, CommandListener listener) This method is used by Chameleon to indicate that a screen
command has been selected. | public void | callScrollContent(int scrollType, int thumbPosition) This method is used by Chameleon to invoke
Displayable.uCallScrollContent() method. | public void | callSizeChanged(int w, int h) This method is used by Chameleon to invoke
Displayable.sizeChanged() method. | public void | scheduleRepaint() This method is used by Chameleon to schedule a paint event with
the event scheduler. | public void | updateScrollIndicator() Updates the scroll indicator. |
callItemListener | public void callItemListener(Command cmd, ItemCommandListener listener)(Code) | | This method is used by Chameleon to indicate that an item
command has been selected.
Parameters: cmd - the Command which was selected Parameters: listener - the item CommandListener which was established atthe time the Command was added |
callPaint | public void callPaint(Graphics g)(Code) | | This method is used by Chameleon to paint the current Displayable.
Parameters: g - the graphics context to paint with |
callScreenListener | public void callScreenListener(Command cmd, CommandListener listener)(Code) | | This method is used by Chameleon to indicate that a screen
command has been selected.
Parameters: cmd - the Command which was selected Parameters: listener - the CommandListener which was established atthe time the Command was added |
callScrollContent | public void callScrollContent(int scrollType, int thumbPosition)(Code) | | This method is used by Chameleon to invoke
Displayable.uCallScrollContent() method.
Parameters: scrollType - scrollType Parameters: thumbPosition - |
callSizeChanged | public void callSizeChanged(int w, int h)(Code) | | This method is used by Chameleon to invoke
Displayable.sizeChanged() method.
Parameters: w - the new width Parameters: h - the new height |
scheduleRepaint | public void scheduleRepaint()(Code) | | This method is used by Chameleon to schedule a paint event with
the event scheduler. This will result in a subsequent paint()
call to Chameleon on the event thread.
|
updateScrollIndicator | public void updateScrollIndicator()(Code) | | Updates the scroll indicator.
|
|
|