|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--danger.app.Listener
|
+--danger.ui.View
|
+--danger.ui.Container
|
+--danger.ui.Window
|
+--danger.ui.DialogWindow
|
+--danger.ui.AlertWindow
|
+--danger.ui.FlashAlert
| Fields inherited from class danger.ui.AlertWindow |
kBottomMargin, kButtonHeight, kButtonMinWidth, kEvent_Button1, kEvent_Button2, kEvent_Button3, kGap1, kGap3, kGap4, kGap5, kIconColWidth, kLeftMargin, kMaxBitmapSize, kMaxTitleHeight, kRightMargin, kShortcutBack, kShortcutDelete, kShortcutMenu, kShortcutNone, kTopMargin, mArg1, mArg2, mArg3, mBitmap, mButtonStr1, mButtonStr2, mButtonStr3, mData1, mData2, mData3, mDefaultButton, mEventType1, mEventType2, mEventType3, mFont, mImageViewHeight, mImageViewWidth, mLayoutButtonsVertically, mListener, mMessage, mNeedLayout, mShortcut1, mShortcut2, mShortcut3, mShowWindowTimer |
| Fields inherited from class danger.ui.Window |
mBusyPaintCount, STATE_AUTO_HIDE_IF_IDLE, STATE_DROP_ORPHANED_EVENTS, STATE_FLOATING, STATE_FULLSCREEN |
| Fields inherited from class danger.ui.View |
mOriginX, mOriginY, mStyle, STATE_CAN_FOCUS, STATE_DEBUG_BOUNDS, STATE_ENABLED, STATE_FOCUSED, STATE_TRANSPARENT, STATE_VISIBLE |
| Fields inherited from interface danger.SystemStrings |
kRsrc_AboutToPowerOffDialogTitle, kRsrc_AboutToPowerOffMessage, kRsrc_AccountDisabledLabel, kRsrc_AccountDisabledMessage, kRsrc_ActivationMessage, kRsrc_Add, kRsrc_AddAll, kRsrc_AddToContacts, kRsrc_AdvancedStrings, kRsrc_ATChannelStatus, kRsrc_ATChannelTimeout, kRsrc_AtCommandTimeout, kRsrc_AtoZ, kRsrc_AttachChecked, kRsrc_AttemptingSignIn, kRsrc_AttemptingSIMUnlockLabel, kRsrc_AttemptingSIMUnlockMessage, kRsrc_AudioInfoFormat, kRsrc_AudioPreviewTitle, kRsrc_AudioStopButtonTitle, kRsrc_BadCmuxChecksum, kRsrc_BasicStrings, kRsrc_BatteryTooLowMessage, kRsrc_BatteryTooLowTitle, kRsrc_Beeps, kRsrc_BrandName, kRsrc_Brightness, kRsrc_BrightnessLower, kRsrc_Bytes, kRsrc_Camera, kRsrc_CameraNotDetected, kRsrc_CameraNotDetectedDesc, kRsrc_Cancel, kRsrc_Capture, kRsrc_CaptureNew, kRsrc_ChangePINSucessMessage, kRsrc_ChannelWriteTimeout, kRsrc_ChimesBack, kRsrc_ChimesFore, kRsrc_ClearAuthSettingsLabel, kRsrc_ClearAuthSettingsMsg, kRsrc_ClearFlashSettingsLabel, kRsrc_ClearFlashSettingsMsg, kRsrc_ClockNotSetMessage, kRsrc_ClockNotSetTitle, kRsrc_Comma, kRsrc_Company, kRsrc_Confirm, kRsrc_ConfirmPowerOffButton, kRsrc_ConfirmPowerOffMessage, kRsrc_ConfirmPowerOffTitle, kRsrc_Connecting, kRsrc_Continue, kRsrc_Continuous, kRsrc_Contrast, kRsrc_ContrastLower, kRsrc_Copy, kRsrc_CustomerCareContact, kRsrc_CustomizeLabel, kRsrc_CustomizeRingtoneTitle, kRsrc_Cut, kRsrc_DangerLegalAgreement, kRsrc_DateStampStringPair, kRsrc_DateTime, kRsrc_DefaultShortcuts, kRsrc_DefaultSystemUpgradeLabel, kRsrc_DefaultSystemUpgradeMessage, kRsrc_DeleteSelection, kRsrc_DeviceName, kRsrc_DicardRingToneToMakeRoom, kRsrc_Disable, kRsrc_Discard, kRsrc_DiscardChecked, kRsrc_DiscardConfirmationMulti, kRsrc_DiscardConfirmationSingle, kRsrc_DiscardHighlighted, kRsrc_DiscardPhoto, kRsrc_DiscardPhotos, kRsrc_Discreet, kRsrc_Done, kRsrc_DoSystemUpgradeLabel, kRsrc_DoSystemUpgradeMessage, kRsrc_Edit, kRsrc_Ellipsis, kRsrc_Email, kRsrc_EmergencyHelpText, kRsrc_EmergencyPhone, kRsrc_EmptyGallery, kRsrc_Enable, kRsrc_EnterNetPIN, kRsrc_EnterNetPINLabel, kRsrc_EnterNewPINLabel, kRsrc_EnterNewPINMessage, kRsrc_EnterPINCodeLabel, kRsrc_EnterPINCodeMessage, kRsrc_Error, kRsrc_ErrRecordNotFound, kRsrc_ExistingAccount, kRsrc_FatalNetworkError, kRsrc_FavoriteAbbrev, kRsrc_First, kRsrc_FixedUserLoginMessage, kRsrc_Flip, kRsrc_FolderEditorDeleteMessage, kRsrc_FPLMNConnectFailed, kRsrc_FPLMNOnlyConnect, kRsrc_FPLMNOnlyLabel, kRsrc_FPLMNOnlyMessage, kRsrc_FullScreen, kRsrc_Gallery, kRsrc_IconFamily_Calendar, kRsrc_IconFamily_Contacts, kRsrc_IDTagDefaultMsg, kRsrc_IMEI, kRsrc_ImportGroupName, kRsrc_Inactive, kRsrc_IncludeThisContact, kRsrc_IncorrectPINCodeLabel, kRsrc_IncorrectPINCodeMessage, kRsrc_InvalidAPNOrNonGPRS_SIM, kRsrc_InvalidAPNOrNonGPRS_SIMLabel, kRsrc_InvalidPasswordLabel, kRsrc_InvalidPasswordMessage, kRsrc_InvalidSIMMarqueeMessage, kRsrc_InvalidUsernamePasswordMsg, kRsrc_KeepIt, kRsrc_KeyGuardTitle, kRsrc_Last, kRsrc_LockedOutSIMMarqueeMessage, kRsrc_LockedSIMMarqueeMessage, kRsrc_LoggedIn, kRsrc_LoggingIn, kRsrc_LoginButtonLabel, kRsrc_LoginLabel, kRsrc_LoginMessage, kRsrc_LoginProgress, kRsrc_LoginProgressSuccess, kRsrc_MenuShortcutJumpAndBack, kRsrc_MenuShortcutMenuAndBack, kRsrc_MenuShortcutPowerSwitch, kRsrc_Middle, kRsrc_MismatchedNewPINMessage, kRsrc_MissingSIMLabel, kRsrc_MissingSIMMarqueeMessage, kRsrc_MissingSIMMessage, kRsrc_Mute, kRsrc_Name, kRsrc_NeedLoginLabel, kRsrc_NeedLoginMessage, kRsrc_NeedsPUKLabel, kRsrc_NeedsPUKMessage, kRsrc_NetErrorCode1, kRsrc_NetErrorCode11, kRsrc_NetErrorCode12, kRsrc_NetErrorCode13, kRsrc_NetErrorCode2, kRsrc_NetErrorCode3, kRsrc_NetErrorCode4, kRsrc_NetErrorCode5, kRsrc_NetErrorCode6, kRsrc_NetErrorCode7, kRsrc_NetErrorCode9, kRsrc_Netlog, kRsrc_NetPINIncorrect, kRsrc_NetPINIncorrectLabel, kRsrc_NetPINLabel, kRsrc_Network, kRsrc_NetworkIpDead, kRsrc_NetworkUnavailableLabel, kRsrc_NetworkUnavailableMarqueeMessage, kRsrc_NetworkUnavailableMessage, kRsrc_New, kRsrc_NewLine2, kRsrc_NewPhotosAtBottom, kRsrc_NewPhotosAtTop, kRsrc_NewPINLabel, kRsrc_NewRingToneReceived, kRsrc_NewSIMDetectedLabel, kRsrc_NewSIMDetectedMessage, kRsrc_NewUserLoggedInSuccessLabel, kRsrc_Next, kRsrc_Nickname, kRsrc_NonCarrierSIMMessage, kRsrc_None, kRsrc_NonhiptopEnabledSIMMessage, kRsrc_NonXXXSIMLabel, kRsrc_NotLoggedIn, kRsrc_NotLoggedInMarqueeMessage, kRsrc_OK, kRsrc_OldPINLabel, kRsrc_OnPhoneCallMarqueeMessage, kRsrc_OSVersion, kRsrc_PartnerName, kRsrc_PasscodeMask, kRsrc_PasswordLabel, kRsrc_Paste, kRsrc_PdpActivateTimeout, kRsrc_Period, kRsrc_Phone, kRsrc_PhoneCallVolume, kRsrc_PhoneEndCall, kRsrc_PhoneEndCallShortcut, kRsrc_PhoneInUseLabel, kRsrc_PhoneInUseMessage, kRsrc_PhoneNumberChangedLabel, kRsrc_PhoneNumberChangedMessage, kRsrc_PhoneNumberStringPair, kRsrc_PhoneStatus, kRsrc_photo, kRsrc_PhotoLeft, kRsrc_PhotoLimitExceeded, kRsrc_PhotoLimitExceededDesc, kRsrc_PhotoLimitReached, kRsrc_PhotoLimitReachedDesc, kRsrc_PhotoName, kRsrc_photos, kRsrc_PhotosLeft, kRsrc_PINCodeTooShortMessage, kRsrc_Prev, kRsrc_Previous, kRsrc_PrivacyLockTitle, kRsrc_ProfileLoud, kRsrc_ProfileMute, kRsrc_ProfileNormal, kRsrc_ProfileSoft, kRsrc_PUKAcceptedLabel, kRsrc_PUKIncorrectLabel, kRsrc_PUKIncorrectMessage, kRsrc_PUKLabel, kRsrc_QuoteClose, kRsrc_QuoteOpen, kRsrc_RadioError, kRsrc_RadioFirmwareFixed, kRsrc_RadioHasBeenReset, kRsrc_RadioIgnoredLowPowerRequest, kRsrc_RadioNotFoundMessage, kRsrc_RadioNotFoundTitle, kRsrc_RadioOffLabel, kRsrc_RadioOffMarqueeMessage, kRsrc_RadioOffMessage, kRsrc_RadioReset, kRsrc_RadioUnregisteredLabel, kRsrc_RadioUnregisteredMarqueeMessage, kRsrc_RadioUnregisteredMessage, kRsrc_RadioVersion, kRsrc_RadioWontWake, kRsrc_RecentAbbrev, kRsrc_RecoverableNetworkError, kRsrc_RegOptionLabel, kRsrc_RegOptionLoginButton, kRsrc_RegOptionMessage, kRsrc_RegOptionRegisterButton, kRsrc_Remove, kRsrc_Rename, kRsrc_RenamePhoto, kRsrc_Replace, kRsrc_Report, kRsrc_Restart, kRsrc_Retry, kRsrc_Review, kRsrc_RingToneBuzzerLabel, kRsrc_RingToneFlasherLabel, kRsrc_RingToneSoundLabel, kRsrc_RoamingDataOffMarqueeMessage, kRsrc_RoamingDataOffMessage, kRsrc_RoamingLabel, kRsrc_RoamingMarqueeMessage, kRsrc_RoamingRadioOffMessage, kRsrc_Save, kRsrc_SelectAll, kRsrc_SendChecked, kRsrc_SignalStrength, kRsrc_SIMErrorCode1, kRsrc_SIMErrorCode2, kRsrc_SIMErrorCode3, kRsrc_SIMErrorCode4, kRsrc_SIMErrorCode5, kRsrc_SIMErrorCode6, kRsrc_SIMErrorCode7, kRsrc_SIMErrorCode8, kRsrc_SIMHardwareError, kRsrc_SIMInitTimeout, kRsrc_SIMLockedLabel, kRsrc_SIMLockedMessage, kRsrc_SIMLockedOutLabel, kRsrc_SIMLockedOutMessage, kRsrc_SIMNotEnabledLabel, kRsrc_SIMNotReadyLabel, kRsrc_SIMNotReadyMarqueeMessage, kRsrc_SIMNotReadyMessage, kRsrc_SIMUnlockedLabel, kRsrc_SIMUnlockedMessage, kRsrc_SleepAlertPostMessage, kRsrc_Songs, kRsrc_Sorry, kRsrc_Sort, kRsrc_SortOrder, kRsrc_SortPhotos, kRsrc_SortPhotosBy, kRsrc_SoundControlsTitle, kRsrc_SpecialChars, kRsrc_Star99PoundError, kRsrc_String_Attempts, kRsrc_Submit, kRsrc_Support, kRsrc_SysDialogDetails, kRsrc_Syslog, kRsrc_SystemUpgradeOpt1, kRsrc_SystemUpgradeOpt2, kRsrc_SystemUpgradeOpt3, kRsrc_SystemUpgradeSuccessLabel, kRsrc_SystemUpgradeSuccessMessage, kRsrc_TextEdit, kRsrc_Timestamp, kRsrc_TimeStampStringPair, kRsrc_TryAgain, kRsrc_TZ_Alaska, kRsrc_TZ_Aleutian, kRsrc_TZ_Arizona, kRsrc_TZ_Atlantic, kRsrc_TZ_Central, kRsrc_TZ_Eastern, kRsrc_TZ_GMT, kRsrc_TZ_GMTMinus1, kRsrc_TZ_GMTMinus10, kRsrc_TZ_GMTMinus11, kRsrc_TZ_GMTMinus12, kRsrc_TZ_GMTMinus2, kRsrc_TZ_GMTMinus3, kRsrc_TZ_GMTMinus4, kRsrc_TZ_GMTMinus5, kRsrc_TZ_GMTMinus6, kRsrc_TZ_GMTMinus7, kRsrc_TZ_GMTMinus8, kRsrc_TZ_GMTMinus9, kRsrc_TZ_GMTPlus1, kRsrc_TZ_GMTPlus10, kRsrc_TZ_GMTPlus11, kRsrc_TZ_GMTPlus12, kRsrc_TZ_GMTPlus13, kRsrc_TZ_GMTPlus2, kRsrc_TZ_GMTPlus3, kRsrc_TZ_GMTPlus4, kRsrc_TZ_GMTPlus5, kRsrc_TZ_GMTPlus6, kRsrc_TZ_GMTPlus7, kRsrc_TZ_GMTPlus8, kRsrc_TZ_GMTPlus9, kRsrc_TZ_Hawaii, kRsrc_TZ_IndianaEast, kRsrc_TZ_Mountain, kRsrc_TZ_Pacific, kRsrc_TZ_PuertoRico, kRsrc_TZ_Samoa, kRsrc_UartBreak, kRsrc_UartFramingError, kRsrc_UartOverrun, kRsrc_Unknown, kRsrc_UnknownRadioErrorCode, kRsrc_UnlockStatusText, kRsrc_UnMute, kRsrc_UnsafeToUpgradeMessage, kRsrc_UnsafeToUpgradeTitle, kRsrc_UpgradeSuccessLabel, kRsrc_UpgradeSuccessMessage, kRsrc_UpgradeVerifyFailedMessage, kRsrc_UpgradeVerifyFailedTitle, kRsrc_UserIDStringPair, kRsrc_UsernameLabel, kRsrc_ViewFullscreen, kRsrc_ViewGallery, kRsrc_ViewLicense, kRsrc_ViewThumbnails, kRsrc_Voice, kRsrc_Volume, kRsrc_WaitingForActivation, kRsrc_WrongComboAlertHelpText, kRsrc_WrongComboAlertMessage, kRsrc_WrongComboAlertTitle, kRsrc_ZtoA |
| Constructor Summary | |
FlashAlert(Bitmap icon,
java.lang.String title,
java.lang.String message,
int windowStyle)
Deprecated. |
|
FlashAlert(Bitmap icon,
java.lang.String title,
java.lang.String message,
int windowStyle,
boolean useBitmap)
Deprecated. |
|
FlashAlert(java.lang.String message)
Deprecated. |
|
| Method Summary | |
static FlashAlert |
DisplayAlert(java.lang.String title,
java.lang.String msg,
Bitmap icon,
boolean systemAlert,
int duration,
Event callbackEvent)
Deprecated. |
static FlashAlert |
DisplayAlert(java.lang.String title,
java.lang.String msg,
Bitmap icon,
boolean systemAlert,
int duration,
Event callbackEvent,
boolean useBitmap)
Deprecated. |
static FlashAlert |
DisplayAlertWithBitmap(java.lang.String title,
java.lang.String msg,
Bitmap icon,
boolean systemAlert,
int duration,
Event callbackEvent)
Deprecated. |
void |
hide()
Deprecated. |
protected boolean |
layout()
Deprecated. |
protected Button |
layoutButtons(int windowWidth,
int currentHeight,
int bottomAlignHeight)
Deprecated. |
boolean |
receiveEvent(Event e)
Deprecated. Receive an event from the alert window. |
void |
SetDuration(int inDuration)
Deprecated. |
void |
SetEvent(Event e)
Deprecated. |
void |
show()
Deprecated. Display the alert window. |
| Methods inherited from class danger.ui.AlertWindow |
addButton, addButton, addButton, addButton, getBitmap, getDefaultButton, getMaxMessageHeight, getMessage, getMessageFont, getSleepScreenMessage, handleShortcutKey, layoutBitmap, layoutButtonsVertically, layoutMessage, newButtonWithShortcut, setBitmap, setDefaultButton, setFont, setListener, setMessage, setMessageFont |
| Methods inherited from class danger.app.Listener |
cancelEvents, sendEvent, sendEvent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FlashAlert(java.lang.String message)
public FlashAlert(Bitmap icon,
java.lang.String title,
java.lang.String message,
int windowStyle)
public FlashAlert(Bitmap icon,
java.lang.String title,
java.lang.String message,
int windowStyle,
boolean useBitmap)
| Method Detail |
public boolean receiveEvent(Event e)
AlertWindowreceiveEvent in class AlertWindowdanger.ui.AlertWindowe - An Event containing the event received.public void SetDuration(int inDuration)
protected Button layoutButtons(int windowWidth,
int currentHeight,
int bottomAlignHeight)
layoutButtons in class AlertWindowprotected boolean layout()
layout in class AlertWindowpublic void SetEvent(Event e)
public void show()
AlertWindowshow in class AlertWindowpublic void hide()
hide in class DialogWindow
public static FlashAlert DisplayAlert(java.lang.String title,
java.lang.String msg,
Bitmap icon,
boolean systemAlert,
int duration,
Event callbackEvent)
public static FlashAlert DisplayAlertWithBitmap(java.lang.String title,
java.lang.String msg,
Bitmap icon,
boolean systemAlert,
int duration,
Event callbackEvent)
public static FlashAlert DisplayAlert(java.lang.String title,
java.lang.String msg,
Bitmap icon,
boolean systemAlert,
int duration,
Event callbackEvent,
boolean useBitmap)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||