edu.byuh.cis.infocomics
Class Main

java.lang.Object
  extended by Activity
      extended by edu.byuh.cis.infocomics.Main

public class Main
extends Activity

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

INFOCOMICS_TAG

public static final java.lang.String INFOCOMICS_TAG
attributes

See Also:
Constant Field Values
Constructor Detail

Main

public Main()
Method Detail

onCreate

public void onCreate(Bundle savedInstanceState)
Called when the activity is first created.


onTouch

public boolean onTouch(View v,
                       MotionEvent event)

onClick

public void onClick(View v)
onclick


prevPage

public void prevPage()

nextPage

public void nextPage()

addText

public void addText()
add text


setAnimation

public void setAnimation()
set animation for link


setImage

public BitmapDrawable setImage(java.lang.String fileName)
set image for map page


resizeImage

public BitmapDrawable resizeImage(BitmapDrawable bmd,
                                  boolean visited)
resize image for map page


getWindowWidth

public static int getWindowWidth()
get width of the device screen


getWindowHeight

public static int getWindowHeight()
get height of the device screen


onStop

protected void onStop()
on stop