| java.lang.Object javax.microedition.lcdui.DisplayableLFImpl javax.microedition.lcdui.CanvasLFImpl
Field Summary | |
Canvas | canvas Canvas being stored in this object. |
Method Summary | |
void | addEmbeddedVideo(Object video) Add embedded video player. | void | createNativeResource() Create and show native resource for this Canvas . | public void | lRepaint(int x, int y, int width, int height, Object target) Notifies look & feel object that repaint of a (x, y, width, height)
area is needed. | public void | lRepaint() Notifies that repaint of the entire Canvas look&feel
is needed. | void | removeEmbeddedVideo(Object video) Remove embedded video player. | public void | uCallFreeze() Notify this Canvas that it is being frozen on the
given Display . | public void | uCallHide() Notify this Canvas that it is being hidden on the
given Display . | void | uCallKeyPressed(int keyCode) Handle a key press. | void | uCallKeyReleased(int keyCode) Handle a key release. | void | uCallKeyRepeated(int keyCode) Handle a repeated key press. | public void | uCallPaint(Graphics g, Object target) Paint this Canvas . | void | uCallPointerDragged(int x, int y) Handle a pointer drag event. | void | uCallPointerPressed(int x, int y) Handle a pointer press event. | void | uCallPointerReleased(int x, int y) Handle a pointer release event. | public void | uCallShow() Notify this Canvas that it is being shown on the
given Display . | public void | uServiceRepaints() Request serviceRepaints from current Display . |
canvas | Canvas canvas(Code) | | Canvas being stored in this object.
|
CanvasLFImpl | CanvasLFImpl(Canvas canvas)(Code) | | LF implementation of Canvas .
Parameters: canvas - the Canvas associated with this CanvasLFImpl |
addEmbeddedVideo | void addEmbeddedVideo(Object video)(Code) | | Add embedded video player.
This is called by MMHelperImpl , whenever a video
player joins this canvas.
Parameters: video - The player joining this canvas. |
createNativeResource | void createNativeResource()(Code) | | Create and show native resource for this Canvas .
|
lRepaint | public void lRepaint(int x, int y, int width, int height, Object target)(Code) | | Notifies look & feel object that repaint of a (x, y, width, height)
area is needed.
SYNC NOTE: The caller of this method handles synchronization.
Parameters: x - The x coordinate of the region to repaint Parameters: y - The y coordinate of the region to repaint Parameters: width - The width of the region to repaint Parameters: height - The height of the region to repaint Parameters: target - an optional paint target to receive the paint requestwhen it returns via callPaint() |
lRepaint | public void lRepaint()(Code) | | Notifies that repaint of the entire Canvas look&feel
is needed.
Repaints the viewport area.
SYNC NOTE: The caller of this method handles synchronization.
|
removeEmbeddedVideo | void removeEmbeddedVideo(Object video)(Code) | | Remove embedded video player.
This is called by MMHelperImpl , whenever a video
player leaves this canvas.
Parameters: video - The player leaving this canvas. |
uCallFreeze | public void uCallFreeze()(Code) | | Notify this Canvas that it is being frozen on the
given Display .
|
uCallHide | public void uCallHide()(Code) | | Notify this Canvas that it is being hidden on the
given Display .
|
uCallKeyPressed | void uCallKeyPressed(int keyCode)(Code) | | Handle a key press.
Parameters: keyCode - The key that was pressed |
uCallKeyReleased | void uCallKeyReleased(int keyCode)(Code) | | Handle a key release.
Parameters: keyCode - The key that was released |
uCallKeyRepeated | void uCallKeyRepeated(int keyCode)(Code) | | Handle a repeated key press.
Parameters: keyCode - The key that was pressed |
uCallPaint | public void uCallPaint(Graphics g, Object target)(Code) | | Paint this Canvas .
Parameters: g - the Graphics to paint to Parameters: target - the target Object of this repaint |
uCallPointerDragged | void uCallPointerDragged(int x, int y)(Code) | | Handle a pointer drag event.
Parameters: x - The x coordinate of the drag Parameters: y - The y coordinate of the drag |
uCallPointerPressed | void uCallPointerPressed(int x, int y)(Code) | | Handle a pointer press event.
Parameters: x - The x coordinate of the press Parameters: y - The y coordinate of the press |
uCallPointerReleased | void uCallPointerReleased(int x, int y)(Code) | | Handle a pointer release event.
Parameters: x - The x coordinate of the release Parameters: y - The y coordinate of the release |
uCallShow | public void uCallShow()(Code) | | Notify this Canvas that it is being shown on the
given Display .
|
uServiceRepaints | public void uServiceRepaints()(Code) | | Request serviceRepaints from current Display .
SYNC NOTE: Unlike most other LF methods, no locking is held when
this function is called because Display.serviceRepaints()
needs to handle its own locking.
|
Methods inherited from javax.microedition.lcdui.DisplayableLFImpl | abstract void createNativeResource()(Code)(Java Doc) void deleteNativeResource()(Code)(Java Doc) public int getVerticalScrollPosition()(Code)(Java Doc) public int getVerticalScrollProportion()(Code)(Java Doc) public void lAddCommand(Command cmd, int i)(Code)(Java Doc) void lCallHide()(Code)(Java Doc) void lCallShow()(Code)(Java Doc) public void lCommitPendingInteraction()(Code)(Java Doc) public Display lGetCurrentDisplay()(Code)(Java Doc) public Displayable lGetDisplayable()(Code)(Java Doc) public int lGetHeight()(Code)(Java Doc) public int lGetWidth()(Code)(Java Doc) public boolean lIsShown()(Code)(Java Doc) public void lRemoveCommand(Command cmd, int i)(Code)(Java Doc) void lRequestInvalidate()(Code)(Java Doc) void lRequestPaint(int x, int y, int width, int height, Object target)(Code)(Java Doc) void lRequestPaint()(Code)(Java Doc) void lRequestPaintContents()(Code)(Java Doc) public void lSetDisplay(Display d)(Code)(Java Doc) public void lSetTicker(Ticker oldTicker, Ticker newTicker)(Code)(Java Doc) public void lSetTitle(String oldTitle, String newTitle)(Code)(Java Doc) void tickerTextChanged(Ticker t)(Code)(Java Doc) public void uCallFreeze()(Code)(Java Doc) public void uCallHide()(Code)(Java Doc) public void uCallInvalidate()(Code)(Java Doc) public void uCallKeyEvent(int type, int keyCode)(Code)(Java Doc) void uCallKeyPressed(int keyCode)(Code)(Java Doc) void uCallKeyReleased(int keyCode)(Code)(Java Doc) void uCallKeyRepeated(int keyCode)(Code)(Java Doc) public void uCallPaint(Graphics g, Object target)(Code)(Java Doc) void uCallPointerDragged(int x, int y)(Code)(Java Doc) public void uCallPointerEvent(int type, int x, int y)(Code)(Java Doc) void uCallPointerPressed(int x, int y)(Code)(Java Doc) void uCallPointerReleased(int x, int y)(Code)(Java Doc) public void uCallScrollContent(int scrollType, int thumbPosition)(Code)(Java Doc) public void uCallShow()(Code)(Java Doc) public void uCallSizeChanged(int w, int h)(Code)(Java Doc) public int uGetKeyMask()(Code)(Java Doc) public boolean uIsScrollNative()(Code)(Java Doc) void uRequestPaint()(Code)(Java Doc) public void uSetFullScreenMode(boolean mode)(Code)(Java Doc) public boolean uSetRotatedStatus(boolean newStatus)(Code)(Java Doc) public void updateCommandSet()(Code)(Java Doc)
|
|
|