gluu
静的公開メンバ関数 | 静的公開変数類 | 非公開メンバ関数 | 全メンバ一覧
org.gluu.credmanager.misc.UIUtils クラス
org.gluu.credmanager.misc.UIUtils 連携図
Collaboration graph

静的公開メンバ関数

static void showMessageUI (boolean success)
 
static void showMessageUI (boolean success, String msg)
 
static void showMessageUI (boolean success, String msg, String position)
 

静的公開変数類

static final int FEEDBACK_DELAY_SUCC = 1500
 
static final int FEEDBACK_DELAY_ERR = 3000
 

非公開メンバ関数

 UIUtils ()
 

詳解

著者
jgomer

構築子と解体子

◆ UIUtils()

org.gluu.credmanager.misc.UIUtils.UIUtils ( )
inlineprivate
19 { }

関数詳解

◆ showMessageUI() [1/3]

static void org.gluu.credmanager.misc.UIUtils.showMessageUI ( boolean  success)
inlinestatic
21  {
22  showMessageUI(success, Labels.getLabel(success ? "general.operation_completed" : "general.error.general"));
23  }
static void showMessageUI(boolean success)
Definition: UIUtils.java:21

◆ showMessageUI() [2/3]

static void org.gluu.credmanager.misc.UIUtils.showMessageUI ( boolean  success,
String  msg 
)
inlinestatic
25  {
26  showMessageUI(success, msg, "middle_center");
27  }
static void showMessageUI(boolean success)
Definition: UIUtils.java:21

◆ showMessageUI() [3/3]

static void org.gluu.credmanager.misc.UIUtils.showMessageUI ( boolean  success,
String  msg,
String  position 
)
inlinestatic
29  {
30  if (success) {
31  Clients.showNotification(msg, Clients.NOTIFICATION_TYPE_INFO, null, position, FEEDBACK_DELAY_SUCC);
32  } else {
33  Clients.showNotification(msg, Clients.NOTIFICATION_TYPE_WARNING, null, position, FEEDBACK_DELAY_ERR);
34  }
35  }
static final int FEEDBACK_DELAY_SUCC
Definition: UIUtils.java:16
static final int FEEDBACK_DELAY_ERR
Definition: UIUtils.java:17

メンバ詳解

◆ FEEDBACK_DELAY_ERR

final int org.gluu.credmanager.misc.UIUtils.FEEDBACK_DELAY_ERR = 3000
static

◆ FEEDBACK_DELAY_SUCC

final int org.gluu.credmanager.misc.UIUtils.FEEDBACK_DELAY_SUCC = 1500
static

このクラス詳解は次のファイルから抽出されました: