com.drismo.facebook
Class FbDialog

java.lang.Object
  extended by android.app.Dialog
      extended by com.drismo.facebook.FbDialog
All Implemented Interfaces:
android.content.DialogInterface, android.view.KeyEvent.Callback, android.view.View.OnCreateContextMenuListener, android.view.Window.Callback

public class FbDialog
extends android.app.Dialog


Nested Class Summary
private  class FbDialog.FbWebViewClient
           
 
Nested classes/interfaces inherited from interface android.content.DialogInterface
android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnClickListener, android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnKeyListener, android.content.DialogInterface.OnMultiChoiceClickListener, android.content.DialogInterface.OnShowListener
 
Field Summary
(package private) static float[] DIMENSIONS_DIFF_LANDSCAPE
           
(package private) static float[] DIMENSIONS_DIFF_PORTRAIT
           
(package private) static java.lang.String DISPLAY_STRING
           
(package private) static int FB_BLUE
           
(package private) static java.lang.String FB_ICON
           
(package private) static android.widget.FrameLayout.LayoutParams FILL
           
(package private) static int MARGIN
           
private  android.widget.LinearLayout mContent
           
private  Facebook.DialogListener mListener
           
private  android.app.ProgressDialog mSpinner
           
private  android.widget.TextView mTitle
           
private  java.lang.String mUrl
           
private  android.webkit.WebView mWebView
           
(package private) static int PADDING
           
 
Fields inherited from interface android.content.DialogInterface
BUTTON_NEGATIVE, BUTTON_NEUTRAL, BUTTON_POSITIVE, BUTTON1, BUTTON2, BUTTON3
 
Constructor Summary
FbDialog(android.content.Context context, java.lang.String url, Facebook.DialogListener listener)
           
 
Method Summary
protected  void onCreate(android.os.Bundle savedInstanceState)
           
private  void setUpTitle()
           
private  void setUpWebView()
           
 
Methods inherited from class android.app.Dialog
addContentView, cancel, closeOptionsMenu, dismiss, dispatchKeyEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, findViewById, getContext, getCurrentFocus, getLayoutInflater, getOwnerActivity, getVolumeControlStream, getWindow, hide, isShowing, onAttachedToWindow, onBackPressed, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onDetachedFromWindow, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyUp, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onStart, onStop, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, setCancelable, setCanceledOnTouchOutside, setCancelMessage, setContentView, setContentView, setContentView, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setTitle, setVolumeControlStream, show, takeKeyEvents, unregisterForContextMenu
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FB_BLUE

static final int FB_BLUE
See Also:
Constant Field Values

DIMENSIONS_DIFF_LANDSCAPE

static final float[] DIMENSIONS_DIFF_LANDSCAPE

DIMENSIONS_DIFF_PORTRAIT

static final float[] DIMENSIONS_DIFF_PORTRAIT

FILL

static final android.widget.FrameLayout.LayoutParams FILL

MARGIN

static final int MARGIN
See Also:
Constant Field Values

PADDING

static final int PADDING
See Also:
Constant Field Values

DISPLAY_STRING

static final java.lang.String DISPLAY_STRING
See Also:
Constant Field Values

FB_ICON

static final java.lang.String FB_ICON
See Also:
Constant Field Values

mUrl

private java.lang.String mUrl

mListener

private Facebook.DialogListener mListener

mSpinner

private android.app.ProgressDialog mSpinner

mWebView

private android.webkit.WebView mWebView

mContent

private android.widget.LinearLayout mContent

mTitle

private android.widget.TextView mTitle
Constructor Detail

FbDialog

public FbDialog(android.content.Context context,
                java.lang.String url,
                Facebook.DialogListener listener)
Method Detail

onCreate

protected void onCreate(android.os.Bundle savedInstanceState)
Overrides:
onCreate in class android.app.Dialog

setUpTitle

private void setUpTitle()

setUpWebView

private void setUpWebView()