|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HSceneChangeRequestHandler
Interface to be implemented by a privileged application in order to handle requests to display an HScene not currently displayed, or change the positions of HScenes on the screen, or move an HScene in the 'z' order.
Method Summary | |
---|---|
boolean |
testMove(HSceneBinding move,
HSceneBinding[] currentScenes)
Tests whether an HScene move request can be allowed or not. |
boolean |
testOrder(HSceneBinding[] currentScenes,
int currentOrder,
int newOrder)
Tests if an HScene z-order change request can be made or not. |
boolean |
testShow(HSceneBinding newScene,
HSceneBinding[] oldScenes)
Tests whether an HScene display request can be allowed or not. |
Method Detail |
---|
boolean testShow(HSceneBinding newScene, HSceneBinding[] oldScenes)
newScene
- the new HScene to be displayedoldScenes
- the existing displayed HScenes
boolean testMove(HSceneBinding move, HSceneBinding[] currentScenes)
move
- the new location/size of the HScene.currentScenes
- the existing HScenes including the current location
of the HScene to move.
boolean testOrder(HSceneBinding[] currentScenes, int currentOrder, int newOrder)
currentScenes
- the existing displayed HScenes in z-order with entry 0 being
the front.currentOrder
- the existing position in the currentScene array of the HScene to move.newOrder
- the new position that it is requested to move the HScene to.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |