public class

SlideshowPresenter

extends Presenter
java.lang.Object
   ↳ com.android.mms.ui.Presenter
     ↳ com.android.mms.ui.SlideshowPresenter

Class Overview

A basic presenter of slides.

Summary

Fields
protected final Handler mHandler
protected float mHeightTransformRatio
protected int mLocation
protected final int mSlideNumber
protected float mWidthTransformRatio
[Expand]
Inherited Fields
From class com.android.mms.ui.Presenter
Public Constructors
SlideshowPresenter(Context context, ViewInterface view, Model model)
Public Methods
int getLocation()
void goBackward()
void goForward()
void onModelChanged(Model model, boolean dataChanged)
void present()
void setLocation(int location)
Protected Methods
void presentAudio(SlideViewInterface view, AudioModel audio, boolean dataChanged)
void presentImage(SlideViewInterface view, ImageModel image, RegionModel r, boolean dataChanged)
void presentRegionMedia(SlideViewInterface view, RegionMediaModel rMedia, boolean dataChanged)
void presentSlide(SlideViewInterface view, SlideModel model)
void presentText(SlideViewInterface view, TextModel text, RegionModel r, boolean dataChanged)
void presentVideo(SlideViewInterface view, VideoModel video, RegionModel r, boolean dataChanged)
[Expand]
Inherited Methods
From class com.android.mms.ui.Presenter
From class java.lang.Object
From interface com.android.mms.model.IModelChangedObserver

Fields

protected final Handler mHandler

protected float mHeightTransformRatio

protected int mLocation

protected final int mSlideNumber

protected float mWidthTransformRatio

Public Constructors

public SlideshowPresenter (Context context, ViewInterface view, Model model)

Public Methods

public int getLocation ()

public void goBackward ()

public void goForward ()

public void onModelChanged (Model model, boolean dataChanged)

public void present ()

public void setLocation (int location)

Protected Methods

protected void presentAudio (SlideViewInterface view, AudioModel audio, boolean dataChanged)

Throws
DrmException

protected void presentImage (SlideViewInterface view, ImageModel image, RegionModel r, boolean dataChanged)

Throws
DrmException

protected void presentRegionMedia (SlideViewInterface view, RegionMediaModel rMedia, boolean dataChanged)

Throws
DrmException

protected void presentSlide (SlideViewInterface view, SlideModel model)

protected void presentText (SlideViewInterface view, TextModel text, RegionModel r, boolean dataChanged)

protected void presentVideo (SlideViewInterface view, VideoModel video, RegionModel r, boolean dataChanged)

Throws
DrmException