public enum ViewMode extends Enum<ViewMode>
修飾子とタイプ | メソッドと説明 |
---|---|
static ViewMode |
codeOf(Integer code)
コードから自身を返却.
|
String |
getCode()
コードを返却.
|
Integer |
getIntCode()
コードを返却.
|
String |
getName()
名称を返却.
|
static boolean |
isInput(Integer code)
画面表示モードが[入力]か判定.
|
static boolean |
isInput(String code)
画面表示モードが[入力]か判定.
|
static boolean |
isView(Integer code)
画面表示モードが[表示]か判定.
|
static boolean |
isView(String code)
画面表示モードが[表示]か判定.
|
static ViewMode |
nameOf(String name)
名称から自身を返却.
|
static ViewMode |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static ViewMode[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final ViewMode INPUT
public static final ViewMode VIEW
public static ViewMode[] values()
for(ViewMode c: ViewMode.values()) System.out.println(c);
public static ViewMode valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合public Integer getIntCode()
public String getCode()
public String getName()
public static boolean isInput(Integer code)
引数のcodeが[nullか空]の場合は、falseを返却.
code
- コード値public static boolean isInput(String code)
引数のcodeが[nullか空]、または[数値型に変換できない値]の場合は、falseを返却.
code
- コード値public static boolean isView(Integer code)
引数のcodeが[nullか空]の場合は、falseを返却.
code
- コード値public static boolean isView(String code)
引数のcodeがnullまたは数値型に変換できない値の場合は、falseを返却.
code
- コード値Copyright © 2024 Sumitomo Life Information Systems Co., Ltd. All Rights Reserved.