public class JoclBaseActivity
extends Activity
Constructor and Description |
---|
JoclBaseActivity() |
Modifier and Type | Method and Description |
---|---|
Activity |
getActivity() |
android.view.Window |
getWindow() |
boolean |
isDelegatedActivity() |
void |
onCreate(Bundle savedInstanceState) |
void |
onDestroy() |
void |
onPause() |
void |
onRestart() |
void |
onResume() |
void |
onStart() |
void |
onStop() |
void |
setFullscreenFeature(android.view.Window androidWindow,
boolean fullscreen)
Convenient method to set the Android window's flags to fullscreen or size-layout depending on the given NEWT window.
|
void |
setRootActivity(Activity rootActivity) |
void |
setTransparencyTheme()
Convenient method to set this context's theme to transparency.
|
public void setRootActivity(Activity rootActivity)
public final boolean isDelegatedActivity()
public final Activity getActivity()
public void setFullscreenFeature(android.view.Window androidWindow, boolean fullscreen)
Must be called before creating the view and adding any content, i.e. setContentView() !
androidWindow
- newtWindow
- public void setTransparencyTheme()
Must be called before creating the view and adding any content, i.e. setContentView() !
Is normally issued by #setContentView(android.view.Window, Window)
if the requested NEWT Capabilities ask for transparency.
Can be called only once.
public android.view.Window getWindow()
public void onCreate(Bundle savedInstanceState)
public void onStart()
public void onRestart()
public void onResume()
public void onPause()
public void onStop()
public void onDestroy()