danger.ui
Class ProgressWindow

java.lang.Object
  |
  +--danger.app.Listener
        |
        +--danger.ui.View
              |
              +--danger.ui.Container
                    |
                    +--danger.ui.Window
                          |
                          +--danger.ui.DialogWindow
                                |
                                +--danger.ui.ProgressWindow

public final class ProgressWindow
extends DialogWindow


Fields inherited from class danger.ui.DialogWindow
kAppDialogStyle, kBottomPosition1, kBottomPosition2, kBottomPosition3, kButtonHeight, kDefaultWindowStyle, kMaxBottomButtons, kMaxButtons, kMinFrameButtonWidth, kSystemDialogStyle, kSystemErrorStyle, kSystemWindowStyle, kTopPosition1, kTopPosition2, m_bottomBorder, m_doAutoSize, m_leftBorder, m_rightBorder, m_topBorder, mBackEvent, mButtonEvents, mButtonIDs, mButtons, mCancelButton, mCancelEvent, mDefaultButton, mDefaultButtonPosition, mDefaultListener, mLayoutButtonsVertically, mListener, mNeedLayoutFrameButtons, mNeedToAddTopFrameButtons, mShortcuts, mTitlebarControls
 
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
 
Constructor Summary
ProgressWindow(java.lang.String title, Bitmap icon)
           
ProgressWindow(java.lang.String title, Bitmap icon, int windowStyle)
           
 
Method Summary
 void hide()
           
 boolean receiveEvent(Event e)
          Entry point for event processing.
 void setProgressText(java.lang.String msg)
           
 void show()
           
 void stop()
           
 
Methods inherited from class danger.ui.DialogWindow
activateFrameButton, addBottomFrameButton, addChild, addFrameButton, addFrameButton, addFrameButton, addTopFrameButton, computeTitleWidth, convertShortcutKeyToButtonIndex, drawDialogStyleFrame, drawFrame, drawSystemWindowStyleFrame, eventWidgetUp, getChildWithID, getContentRect, getDefaultFrameButton, getFrameButtonWithID, getIcon, getSleepScreenMessage, getTitle, getTitleBarHeight, getTitleFont, handleShortcutKey, initTitleBarControlList, layoutBottomFrameButtonsVertically, layoutFrame, layoutFrameButtons, layoutTopFrameButtons, newButtonWithShortcut, paint, positionBottomButtons, positionDialog, positionFrameButtons, positionTopButtons, setAutoSize, setBackEvent, setCancelButtonEvent, setCancelButtonShortcutBitmap, setContentSize, setDefaultFrameButton, setDefaultFrameButton, setDefaultListener, setDrawBottomFrame, setEventForControlWithID, setEventForFrameButtonWithID, setFocusedChild, setFrameButtonShortcut, setIcon, setIconVerticalOffset, setListener, setNoDefaultFrameButton, setShowCancel, setSize, setTitle, setTitleFormatDate, setTitleFormatText, setTitleFormatText, setTitleFormatText, setTitleFormatText, setWindowStyle, snapToChildren, snapToChildren
 
Methods inherited from class danger.ui.Window
addFromDialogResource, addFromDialogResource, addToChildIDList, addToChildIDList, adjustActionMenuState, autoHide, autoHideIfIdle, autoHideIfIdle, blocksChooser, centerHorizontal, centerOnScreen, centerUnderTitleBar, centerVertical, disableControlWithID, dropOrphanedEvents, enableControlWithID, getApplication, getControlWithID, getDescendantWithID, getExplicitIDOfChild, getIDOfChild, getListener, getWindowBelow, hideActiveMenu, hideControlWithID, isActionMenuVisible, isFloating, isFullScreen, isUnresponsive, onPeriodicPulse, onWindowPaint, receiveMessage, removeChildFromIDList, setFloating, setFormatDateForControlWithID, setFormatDateForTextControlWithID, setFormatTextForControlWithID, setFormatTextForControlWithID, setFormatTextForControlWithID, setFormatTextForControlWithID, setFormatTextForTextControlWithID, setFormatTextForTextControlWithID, setFormatTextForTextControlWithID, setFormatTextForTextControlWithID, setListenerForAllControls, setMaxChildID, setMaxControlID, setPosition, setTitled, shouldDropEvent, showControlWithID
 
Methods inherited from class danger.ui.Container
addChild, addChildAt, advanceFocus, childCount, childIsOnScreen, disable, enable, eventKeyDown, eventKeyHeld, eventKeyRepeat, eventKeyUp, eventPeriodicPulse, eventShortcut, eventWidgetDown, eventWidgetHeld, getBottomChild, getChildAt, getChildIndex, getFirstChild, getFirstFocusableChild, getFocusedChild, getLastChild, getLastFocusableChild, hideAllChildren, loseFocus, moveChildToIndex, paintChildren, reflowChildren, removeAllChildren, removeChild, reverseFocus, setFocusedChild, setWindow, showAllChildren, takeFocus
 
Methods inherited from class danger.ui.View
clear, copyStyle, getAcceptFocus, getBackgroundColor, getBottom, getBounds, getBounds, getFrame, getFrame, getHeight, getInterestingRect, getInterestingRect, getLeft, getOrigin, getOrigin, getOriginX, getOriginY, getParent, getRight, getSibling, getStyle, getStyleColor, getStyleFont, getTop, getWidth, getWindow, globalToLocal, invalidate, invalidate, invalidate, isEnabled, isFocusable, isFocused, isOnScreen, isTransparent, isVisible, keepRectInView, localToGlobal, localToGlobal, localToWindow, moveBy, offsetOrigin, offsetOrigin, onAddedToParent, onDecoded, onRemovedFromParent, onStyleChanged, receiveEventInternal, resetOrigin, sendEventToWindow, setAcceptFocus, setBackgroundColor, setBottom, setDebugBounds, setEnabled, setFrame, setHeight, setKeyedValue, setLeft, setOrigin, setOrigin, setRight, setStyle, setStyleColor, setStyleFont, setStyleFrameColor, setTop, setTransparent, setVisible, setWidth, styleIsDefault, willFocusWithin, windowToLocal
 
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

ProgressWindow

public ProgressWindow(java.lang.String title,
                      Bitmap icon)

ProgressWindow

public ProgressWindow(java.lang.String title,
                      Bitmap icon,
                      int windowStyle)
Method Detail

receiveEvent

public boolean receiveEvent(Event e)
Description copied from class: Listener
Entry point for event processing. Default behaviour is to do nothing and return false. Normally this method is called from a Dispatcher when it discovers an Event in its queue that is targetted at this Listener.
Overrides:
receiveEvent in class DialogWindow

setProgressText

public void setProgressText(java.lang.String msg)

stop

public void stop()

show

public void show()
Overrides:
show in class DialogWindow

hide

public void hide()
Overrides:
hide in class DialogWindow


Danger Confidential. Copyright © 2000-2003, Danger Inc.