danger.app
Class AlertResourceDecoder

java.lang.Object
  extended by danger.app.AlertResourceDecoder


public class AlertResourceDecoder
extends Object

Flags to pass into DialogWindow.addFrameButton(int, java.lang.String, int, int, int, java.lang.Object, char).


Field Summary
static int ALERT_BUTTON_FLAG_ALT_SHORTCUT
          Specifies that the ALT key should be held down to activate the keyboard shortcut for this button.
static int ALERT_BUTTON_FLAG_BACK_BUTTON
          Specifies that the button should have the title "Back" (or localized equivalent).
static int ALERT_BUTTON_FLAG_CANCEL_BUTTON
          Specifies that the button should have the title "Cancel" (or localized equivalent).
static int ALERT_BUTTON_FLAG_DEFAULT_BUTTON
          Specifies that the button has the initial focus.
static int ALERT_BUTTON_FLAG_DISCARD_BUTTON
          Specifies that the button should have the title "Discard" (or localized equivalent).
static int ALERT_BUTTON_FLAG_DONE_BUTTON
          Specifies that the button should have the title "Done" (or localized equivalent).
static int ALERT_BUTTON_FLAG_DONT_HIDE_ON_BUTTON_EVENT
          Specifies that the dialog should not automatically be hidden when this button is activated.
static int ALERT_BUTTON_FLAG_ICON_ALIGN_LEFT
          Specifies that the button's icon should be aligned on the left (instead of the right, which is the default).
static int ALERT_BUTTON_FLAG_LISTENER_IS_ALERT
          Specifies that the parent dialog should be the listener for this button's activation event.
static int ALERT_BUTTON_FLAG_LISTENER_IS_APP
          Specifies that the appliation should be the listener for this button's activation event.
static int ALERT_BUTTON_FLAG_MENU_SHORTCUT
          Specifies that the MENU button should be held down to activate the keyboard shortcut for this button.
static int ALERT_BUTTON_FLAG_OK_BUTTON
          Specifies that the button should have the title "OK" (or localized equivalent).
static int ALERT_BUTTON_FLAG_SHIFT_SHORTCUT
          Specifies that the SHIFT key should be held down to activate the keyboard shortcut for this button.
static int ALERT_BUTTON_FLAG_TRANSPARENT
          Specifies that the button should be transparent.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALERT_BUTTON_FLAG_DEFAULT_BUTTON

public static final int ALERT_BUTTON_FLAG_DEFAULT_BUTTON
Specifies that the button has the initial focus.

See Also:
Constant Field Values

ALERT_BUTTON_FLAG_DISCARD_BUTTON

public static final int ALERT_BUTTON_FLAG_DISCARD_BUTTON
Specifies that the button should have the title "Discard" (or localized equivalent).

See Also:
Constant Field Values

ALERT_BUTTON_FLAG_OK_BUTTON

public static final int ALERT_BUTTON_FLAG_OK_BUTTON
Specifies that the button should have the title "OK" (or localized equivalent).

See Also:
Constant Field Values

ALERT_BUTTON_FLAG_CANCEL_BUTTON

public static final int ALERT_BUTTON_FLAG_CANCEL_BUTTON
Specifies that the button should have the title "Cancel" (or localized equivalent).

See Also:
Constant Field Values

ALERT_BUTTON_FLAG_DONE_BUTTON

public static final int ALERT_BUTTON_FLAG_DONE_BUTTON
Specifies that the button should have the title "Done" (or localized equivalent).

See Also:
Constant Field Values

ALERT_BUTTON_FLAG_MENU_SHORTCUT

public static final int ALERT_BUTTON_FLAG_MENU_SHORTCUT
Specifies that the MENU button should be held down to activate the keyboard shortcut for this button.

See Also:
Constant Field Values

ALERT_BUTTON_FLAG_SHIFT_SHORTCUT

public static final int ALERT_BUTTON_FLAG_SHIFT_SHORTCUT
Specifies that the SHIFT key should be held down to activate the keyboard shortcut for this button.

See Also:
Constant Field Values

ALERT_BUTTON_FLAG_ALT_SHORTCUT

public static final int ALERT_BUTTON_FLAG_ALT_SHORTCUT
Specifies that the ALT key should be held down to activate the keyboard shortcut for this button.

See Also:
Constant Field Values

ALERT_BUTTON_FLAG_DONT_HIDE_ON_BUTTON_EVENT

public static final int ALERT_BUTTON_FLAG_DONT_HIDE_ON_BUTTON_EVENT
Specifies that the dialog should not automatically be hidden when this button is activated.

See Also:
Constant Field Values

ALERT_BUTTON_FLAG_LISTENER_IS_APP

public static final int ALERT_BUTTON_FLAG_LISTENER_IS_APP
Specifies that the appliation should be the listener for this button's activation event.

See Also:
Constant Field Values

ALERT_BUTTON_FLAG_LISTENER_IS_ALERT

public static final int ALERT_BUTTON_FLAG_LISTENER_IS_ALERT
Specifies that the parent dialog should be the listener for this button's activation event.

See Also:
Constant Field Values

ALERT_BUTTON_FLAG_BACK_BUTTON

public static final int ALERT_BUTTON_FLAG_BACK_BUTTON
Specifies that the button should have the title "Back" (or localized equivalent).

See Also:
Constant Field Values

ALERT_BUTTON_FLAG_TRANSPARENT

public static final int ALERT_BUTTON_FLAG_TRANSPARENT
Specifies that the button should be transparent.

See Also:
Constant Field Values

ALERT_BUTTON_FLAG_ICON_ALIGN_LEFT

public static final int ALERT_BUTTON_FLAG_ICON_ALIGN_LEFT
Specifies that the button's icon should be aligned on the left (instead of the right, which is the default).

See Also:
Constant Field Values