本文整理汇总了Java中org.chromium.content.browser.input.SelectPopupDialog类的典型用法代码示例。如果您正苦于以下问题:Java SelectPopupDialog类的具体用法?Java SelectPopupDialog怎么用?Java SelectPopupDialog使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SelectPopupDialog类属于org.chromium.content.browser.input包,在下文中一共展示了SelectPopupDialog类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: hidePopupDialog
import org.chromium.content.browser.input.SelectPopupDialog; //导入依赖的package包/类
private void hidePopupDialog() {
SelectPopupDialog.hide(this);
hideHandles();
hideSelectActionBar();
}
示例2: showSelectPopup
import org.chromium.content.browser.input.SelectPopupDialog; //导入依赖的package包/类
/**
* Called (from native) when the <select> popup needs to be shown.
* @param items Items to show.
* @param enabled POPUP_ITEM_TYPEs for items.
* @param multiple Whether the popup menu should support multi-select.
* @param selectedIndices Indices of selected items.
*/
@SuppressWarnings("unused")
@CalledByNative
private void showSelectPopup(String[] items, int[] enabled, boolean multiple,
int[] selectedIndices) {
SelectPopupDialog.show(this, items, enabled, multiple, selectedIndices);
}