35 lines
814 B
Java
35 lines
814 B
Java
package androidx.appcompat.view.menu;
|
|
|
|
import android.graphics.drawable.Drawable;
|
|
import androidx.annotation.RestrictTo;
|
|
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP_PREFIX})
|
|
public interface MenuView {
|
|
|
|
public interface ItemView {
|
|
MenuItemImpl getItemData();
|
|
|
|
void initialize(MenuItemImpl menuItemImpl, int i);
|
|
|
|
boolean prefersCondensedTitle();
|
|
|
|
void setCheckable(boolean z2);
|
|
|
|
void setChecked(boolean z2);
|
|
|
|
@Override // androidx.appcompat.view.menu.MenuView.ItemView
|
|
void setEnabled(boolean z2);
|
|
|
|
void setIcon(Drawable drawable);
|
|
|
|
void setShortcut(boolean z2, char c);
|
|
|
|
void setTitle(CharSequence charSequence);
|
|
|
|
boolean showsIcon();
|
|
}
|
|
|
|
int getWindowAnimations();
|
|
|
|
void initialize(MenuBuilder menuBuilder);
|
|
}
|