FileDocCategorySizeDatePackage
ActionBarWrapper.javaAPI DocAndroid 5.1 API1882Thu Mar 12 22:22:52 GMT 2015com.android.ex.photo

ActionBarWrapper

public class ActionBarWrapper extends Object implements ActionBarInterface
Wrapper around {@link ActionBar}.

Fields Summary
private final android.app.ActionBar
mActionBar
Constructors Summary
public ActionBarWrapper(android.app.ActionBar actionBar)

        mActionBar = actionBar;
    
Methods Summary
public voidaddOnMenuVisibilityListener(OnMenuVisibilityListener listener)

        mActionBar.addOnMenuVisibilityListener(new MenuVisiblityListenerWrapper(listener));
    
public java.lang.CharSequencegetTitle()

       return mActionBar.getTitle();
    
public voidhide()

        mActionBar.hide();
    
public voidsetDisplayHomeAsUpEnabled(boolean showHomeAsUp)

        mActionBar.setDisplayHomeAsUpEnabled(showHomeAsUp);
    
public voidsetDisplayOptionsShowTitle()

        mActionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_TITLE, ActionBar.DISPLAY_SHOW_TITLE);
    
public voidsetLogo(android.graphics.drawable.Drawable logo)

        mActionBar.setLogo(logo);
    
public voidsetSubtitle(java.lang.CharSequence subtitle)

        mActionBar.setSubtitle(subtitle);
    
public voidsetTitle(java.lang.CharSequence title)

        mActionBar.setTitle(title);
    
public voidshow()

        mActionBar.show();