|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UIController
This is the UI Controller interface This will be interfaced with the BOB Client controller class.
Method Summary | |
---|---|
void |
addModalScreen(IBOBScreen screen)
Add Modal screen to UI screen stack |
void |
addScreen(IBOBScreen screen)
Add screen to UI screen stack |
void |
addScreen(IBOBScreen screen,
boolean checkData)
Add screen to UI screen stack |
void |
callActionAndWait(java.lang.Runnable runnable)
Invoke the runnable class now and wait |
void |
callActionLater(java.lang.Runnable runnable)
Invoke the runnable class later |
void |
callActionLater(java.lang.Runnable runnable,
long time,
boolean repeat)
Invoke the runnable class later at a specific time |
void |
checkSyncProperties()
Check the sync properties to sync in the background |
void |
clearAppMenuRepository()
Clear registered menu items in ApplicationMenuItemRepository |
AppLoggerWrapper |
getAppLogger()
Gets the application logger from current UIcontroller |
net.rim.device.api.ui.Screen |
getCurrentFocusScreen()
Retrieve the screen currently in focus |
PushController |
getPushController()
Get the push mobile application controller |
java.lang.Object |
getUIEventLock()
Get the UI event lock |
UserActionListener |
getUserActionListener()
Get the user action listener |
void |
removeAllScreens()
Remove all screens from the UI screen stack but minimize the last one |
void |
removeAllScreens(boolean isMinimized)
Remove all screens from the UI screen stack |
boolean |
removeScreen(net.rim.device.api.ui.Screen screen)
Remove screen from the UI screen stack if the screen is not the last one in stack, otherwise minimize the screen. |
boolean |
removeScreen(net.rim.device.api.ui.Screen screen,
boolean isMinimized)
Remove screen from the UI screen stack |
void |
resetRefreshingApps()
Reset currently refreshing applications |
void |
startup()
Retrieve the first screen and push it to view |
Method Detail |
---|
PushController getPushController()
UserActionListener getUserActionListener()
java.lang.Object getUIEventLock()
void callActionLater(java.lang.Runnable runnable)
runnable
- runable class to be runvoid callActionLater(java.lang.Runnable runnable, long time, boolean repeat)
runnable
- runable class to be runtime
- the time to execute the runnable classrepeat
- condition to repeart the taskvoid callActionAndWait(java.lang.Runnable runnable)
runnable
- runable class to be runvoid addScreen(IBOBScreen screen)
screen
- - IBOBScreen reference to be added to UI stackvoid addScreen(IBOBScreen screen, boolean checkData)
screen
- - IBOBScreen reference to be added to UI stackcheckData
- - if true check the mobile business objects to syncvoid addModalScreen(IBOBScreen screen)
screen
- - IBOBScreen reference to be added to UI stackvoid removeAllScreens()
void removeAllScreens(boolean isMinimized)
isMinimized
- - If true then the last screen in the stack will be minimizedboolean removeScreen(net.rim.device.api.ui.Screen screen)
screen
- - IBOBScreen reference to be removed
boolean removeScreen(net.rim.device.api.ui.Screen screen, boolean isMinimized)
screen
- - IBOBScreen reference to be removedisMinimized
- - If true and the screen is the last one, it will be minimized, otherwise the screen is removed
net.rim.device.api.ui.Screen getCurrentFocusScreen()
void startup()
void checkSyncProperties()
void resetRefreshingApps()
AppLoggerWrapper getAppLogger()
void clearAppMenuRepository()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |