|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectActivity
edu.byuh.cis.infocomics.Main
public class Main
main class
Field Summary | |
---|---|
static java.lang.String |
INFOCOMICS_TAG
attributes |
Constructor Summary | |
---|---|
Main()
|
Method Summary | |
---|---|
void |
addText()
add text |
static int |
getWindowHeight()
get height of the device screen |
static int |
getWindowWidth()
get width of the device screen |
void |
nextPage()
|
void |
onClick(View v)
onclick |
void |
onCreate(Bundle savedInstanceState)
Called when the activity is first created. |
protected void |
onStop()
on stop |
boolean |
onTouch(View v,
MotionEvent event)
|
void |
prevPage()
|
BitmapDrawable |
resizeImage(BitmapDrawable bmd,
boolean visited)
resize image for map page |
void |
setAnimation()
set animation for link |
BitmapDrawable |
setImage(java.lang.String fileName)
set image for map page |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String INFOCOMICS_TAG
Constructor Detail |
---|
public Main()
Method Detail |
---|
public void onCreate(Bundle savedInstanceState)
public boolean onTouch(View v, MotionEvent event)
public void onClick(View v)
public void prevPage()
public void nextPage()
public void addText()
public void setAnimation()
public BitmapDrawable setImage(java.lang.String fileName)
public BitmapDrawable resizeImage(BitmapDrawable bmd, boolean visited)
public static int getWindowWidth()
public static int getWindowHeight()
protected void onStop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |