tl1.maxcom
Class MaxCom

java.lang.Object
  extended by Activity
      extended by tl1.maxcom.MaxCom

public class MaxCom
extends Activity


Field Summary
private  ImageAdapter adapterGallery
           
protected  Gallery galleryBas
           
protected  Gallery galleryHaut
           
protected  GridView gridview
           
(package private)  boolean isFermetureAutorisee
           
protected  int largeurImage
           
protected  java.util.HashMap<java.lang.String,java.lang.Integer> listeImagesCategories
           
protected  java.lang.String[] listeImagesFavoris
           
private  java.util.ArrayList<GridViewElement> listImagesAndCategoriesByCategory
           
protected  TextView texteEnHaut
           
 
Constructor Summary
MaxCom()
           
 
Method Summary
private  int getCurrentCategorieId(java.lang.String[] _listeImagesCategories, int position)
           
private  void getGridImagesByCategoryId(int idCategorie, Context context)
           
 void onBackPressed()
           
 void onCreate(Bundle savedInstanceState)
          Called when the activity is first created.
 boolean onCreateOptionsMenu(Menu menu)
           
 boolean onOptionsItemSelected(MenuItem item)
           
protected  void onRestart()
           
protected  void onStop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

texteEnHaut

protected TextView texteEnHaut

galleryBas

protected Gallery galleryBas

galleryHaut

protected Gallery galleryHaut

gridview

protected GridView gridview

largeurImage

protected int largeurImage

listeImagesFavoris

protected java.lang.String[] listeImagesFavoris

listeImagesCategories

protected java.util.HashMap<java.lang.String,java.lang.Integer> listeImagesCategories

adapterGallery

private ImageAdapter adapterGallery

listImagesAndCategoriesByCategory

private java.util.ArrayList<GridViewElement> listImagesAndCategoriesByCategory

isFermetureAutorisee

boolean isFermetureAutorisee
Constructor Detail

MaxCom

public MaxCom()
Method Detail

onCreate

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


getCurrentCategorieId

private int getCurrentCategorieId(java.lang.String[] _listeImagesCategories,
                                  int position)

getGridImagesByCategoryId

private void getGridImagesByCategoryId(int idCategorie,
                                       Context context)

onBackPressed

public void onBackPressed()

onCreateOptionsMenu

public boolean onCreateOptionsMenu(Menu menu)

onOptionsItemSelected

public boolean onOptionsItemSelected(MenuItem item)

onStop

protected void onStop()

onRestart

protected void onRestart()