public static enum PopupWindow.AnchorLocation extends Enum<PopupWindow.AnchorLocation>
列挙型定数と説明 |
---|
CONTENT_BOTTOM_LEFT
コンテンツの左下隅を表します。
|
CONTENT_BOTTOM_RIGHT
コンテンツの右下隅を表します。
|
CONTENT_TOP_LEFT
コンテンツの左上隅を表します。
|
CONTENT_TOP_RIGHT
コンテンツの右上隅を表します。
|
WINDOW_BOTTOM_LEFT
ウィンドウの左下隅を表します。
|
WINDOW_BOTTOM_RIGHT
ウィンドウの右下隅を表します。
|
WINDOW_TOP_LEFT
ウィンドウの左上隅を表します。
|
WINDOW_TOP_RIGHT
ウィンドウの右上隅を表します。
|
修飾子と型 | メソッドと説明 |
---|---|
static PopupWindow.AnchorLocation |
valueOf(String name)
指定された名前を持つ、この型の列挙型定数を返します。
|
static PopupWindow.AnchorLocation[] |
values()
この列挙型の定数を含む配列を、宣言されている順序で返します。
|
public static final PopupWindow.AnchorLocation WINDOW_TOP_LEFT
public static final PopupWindow.AnchorLocation WINDOW_TOP_RIGHT
public static final PopupWindow.AnchorLocation WINDOW_BOTTOM_LEFT
public static final PopupWindow.AnchorLocation WINDOW_BOTTOM_RIGHT
public static final PopupWindow.AnchorLocation CONTENT_TOP_LEFT
public static final PopupWindow.AnchorLocation CONTENT_TOP_RIGHT
public static final PopupWindow.AnchorLocation CONTENT_BOTTOM_LEFT
public static final PopupWindow.AnchorLocation CONTENT_BOTTOM_RIGHT
public static PopupWindow.AnchorLocation[] values()
for (PopupWindow.AnchorLocation c : PopupWindow.AnchorLocation.values()) System.out.println(c);
public static PopupWindow.AnchorLocation valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- 指定された名前を持つ定数をこの列挙型が持っていない場合NullPointerException
- 引数がnullの場合Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.