danger.ui
Class PhoneVolumeSliderWindow

java.lang.Object
  extended by danger.app.Listener
      extended by danger.ui.View
          extended by danger.ui.Container
              extended by danger.ui.Window
                  extended by danger.ui.SliderWindow
                      extended by danger.ui.PhoneVolumeSliderWindow
All Implemented Interfaces:
ISliderData

Deprecated. For internal use only.


public class PhoneVolumeSliderWindow
extends SliderWindow


Field Summary
 
Fields inherited from class danger.ui.Window
mBusyPaintCount, mDefaultListener, STATE_AUTO_HIDE_IF_IDLE, STATE_DROP_ORPHANED_EVENTS, STATE_FULLSCREEN, STATE_UNUSED1
 
Fields inherited from class danger.ui.View
DEFAULT_SCROLL_FOCUS_MARGIN, FOCUS_DEFAULT, FOCUS_DOWNWARD, FOCUS_LEFTWARD, FOCUS_NONE, FOCUS_RIGHTWARD, FOCUS_UPWARD, mOriginX, mOriginY, mStyle, POSITION_ABOVE, POSITION_ALIGN_BASELINE, POSITION_ALIGN_BOTTOM, POSITION_ALIGN_HORIZONTALLY, POSITION_ALIGN_LEFT, POSITION_ALIGN_PARENT_BOTTOM, POSITION_ALIGN_PARENT_RIGHT, POSITION_ALIGN_RIGHT, POSITION_ALIGN_TOP, POSITION_ALIGN_VERTICALLY, POSITION_BELOW, POSITION_CENTER_HORIZONTALLY, POSITION_CENTER_VERTICALLY, POSITION_TO_LEFT, POSITION_TO_RIGHT, PREFER_DIRECTION_NONE, PREFER_HORIZONTAL_DIRECTION, PREFER_VERTICAL_DIRECTION, STATE_AT_AND_SPACE_PAGE, STATE_CAN_FOCUS, STATE_DEBUG_BOUNDS, STATE_ENABLED, STATE_FOCUSED, STATE_MAKE_DING, STATE_PARTIAL_FOCUS_OK, STATE_TRANSPARENT, STATE_VISIBLE, WIDTH_FILL_TO_RIGHT
 
Fields inherited from interface danger.ui.ISliderData
COMPRESSED, DONT_SHOW_FIRST_OR_LAST_TICK, JUSTIFY_BOTTOM, JUSTIFY_CENTER, JUSTIFY_TOP, LEFT_TO_RIGHT, RIGHT_TO_LEFT, SHOW_FIRST_AND_LAST_TICK, SHOW_FIRST_TICK, SHOW_LAST_TICK, TICK_MARKS_AUTO, TICK_MARKS_OFF, TICK_MARKS_ON, UNCOMPRESSED, WINDOW_ONLY
 
Constructor Summary
PhoneVolumeSliderWindow()
          Deprecated.  
PhoneVolumeSliderWindow(Slider inSlider)
          Deprecated.  
 
Method Summary
 boolean eventKeyDown(char inKey, Event event)
          Deprecated. This method is called when the user presses a key.
 boolean eventKeyUp(char inKey, Event event)
          Deprecated. Processes key releases directed at this container.
 boolean eventPeriodicPulse(int timestamp)
          Deprecated. This method is called periodically (every half second) for every view in the focus chain -- from the frontmost window down to the currently focused View.
 boolean eventWidgetDown(int inWhichWidget, Event event)
          Deprecated. Handle a button down event.
 boolean eventWidgetUp(int inWhichWidget, Event event)
          Deprecated. Handle the release of a device widget
protected  void onHide()
          Deprecated. This method is called when this view is hidden, via the method View.hide().
protected  void onShow()
          Deprecated. This method is called when this view is shown, via the method View.show().
 boolean receiveEvent(Event e)
          Deprecated. Entry point for event processing.
 void setValue(int value)
          Deprecated. Set the value for the Slider.
 void showAt(Point p)
          Deprecated. Show SliderWindow at specified position.
static void showSystemPhoneVolumeSliderWindow()
          Deprecated.  
 
Methods inherited from class danger.ui.SliderWindow
drawFrame, getBitmaps, getCurrentBitmap, getDescription, getDirection, getHasFrame, getHasInnerFrame, getHasThumb, getHasTickMarks, getIndicateSingleValue, getIndicatorJustification, getIndicatorMargin, getLeftLabel, getMaxValue, getMinValue, getRightLabel, getShowEndTicks, getSliderPortionWidth, getSliderType, getTitle, getValue, paint, setBitmaps, setDescription, setDirection, setHasFrame, setHasInnerFrame, setHasThumb, setHasTickMarks, setIndicateSingleValue, setIndicatorJustification, setIndicatorMargin, setLabels, setMaxValue, setMinValue, setOwnSize, setShowEndTicks, setSliderPortionWidth, setSliderType, setTitle
 
Methods inherited from class danger.ui.Window
adjustActionMenuState, advanceFocus, autoHide, autoHideIfIdle, autoHideIfIdle, blocksBackButton, blocksChooser, blocksFloatingControls, blocksKeyGuard, blocksVolumeButtons, centerHorizontal, centerOnScreen, centerUnderTitleBar, centerVertical, disableControlWithID, dropOrphanedEvents, enableControlWithID, forwardQueuedEvents, getApplication, getDefaultFocus, getDescendantWithID, getIDOfChild, getListener, getTitleSequence, getWindowBelow, hide, hideActiveMenu, hideControlWithID, incrementMaxChildID, isActionMenuVisible, isFullScreen, isUnresponsive, onActivate, onDeactivate, onPeriodicPulse, onWindowPaint, receiveMessage, reverseFocus, setDefaultFocus, setDefaultListener, setEventArgForControlWithID, setEventForControlWithID, setFullScreen, setMaxChildID, setMaxControlID, setPosition, setSize, setTitle, setTitled, setTitleFormatDate, setTitleFormatText, setTitleFormatText, setTitleFormatText, setTitleFormatText, setTitleFormatText, shouldDropEvent, show, showControlWithID, startQueueingEvents, wantsEndButton, wantsSendButton, willPassEventToWindow
 
Methods inherited from class danger.ui.Container
addChild, addChild, addChildAt, addChildAt, addFromContainerResource, addFromContainerResource, addFromContainerResource, addFromDialogResource, addFromDialogResource, advanceFocusInWindow, childCount, childIsOnScreen, disable, enable, eventKeyHeld, eventKeyRepeat, eventRawKeyDown, eventRawKeyHeld, eventRawKeyRepeat, eventRawKeyUp, eventShortcut, eventWidgetHeld, focusedDescendantIsValid, getBottomChild, getBottomChild, getChildAt, getChildIndex, getChildWithID, getControlWithID, getFirstChild, getFirstFocusableChild, getFocusableChildInWindow, getFocusedChild, getFocusedLeaf, getInterestingRect, getLastChild, getLastFocusableChild, getLeftMostChild, getNextFocusableChild, getNextFocusableChild, getPageHeight, getPrevFocusableChild, getPrevFocusableChild, getRightMostChild, getRightMostChild, handleButtonShortcut, hideAllChildren, isDescendant, keepRectInView, loseFocus, moveChildToIndex, onChildPositionChanged, onChildSizeChanged, onChildVisibilityChanged, pageToEnd, pageToHome, paintChildren, reflowChildren, removeAllChildren, removeChild, setFocusedChild, setFocusedChild, setFocusedChild, setFocusedDescendant, setFocusedDescendant, setFocusedDescendant, setFocusToFirstDescendant, setFormatDateForControlWithID, setFormatDateForTextControlWithID, setFormatTextForControlWithID, setFormatTextForControlWithID, setFormatTextForControlWithID, setFormatTextForControlWithID, setFormatTextForControlWithID, setFormatTextForTextControlWithID, setFormatTextForTextControlWithID, setFormatTextForTextControlWithID, setFormatTextForTextControlWithID, setFormatTextForTextControlWithID, setListenerForAllControls, setReflowAdjustHeight, setWindow, showAllChildren, snapHeightToChildren, snapHeightToChildren, snapToChildren, snapWidthToChildren, snapWidthToChildren, takeFocus, willFocusWithin, willFocusWithin
 
Methods inherited from class danger.ui.View
boundsIntersect, boundsIntersect, canLoseFocus, clear, clear, copyStyle, getAcceptFocus, getBackgroundColor, getBottom, getBounds, getBounds, getFocusTraversalDirection, getFocusTraversalFrom, getFocusTraversalPolicy, getFrame, getFrame, getGlobalBottom, getGlobalLeft, getGlobalRight, getGlobalTop, getHeight, getID, getInterestingRect, getLabelFont, getLabelFont, getLeft, getOrigin, getOrigin, getOriginX, getOriginY, getParent, getParentContainer, getPartialFocusOK, getRight, getScrollFocusMargin, getSibling, getState, getStyle, getStyleColor, getStyleFont, getTop, getWidth, getWindow, globalToLocal, globalToLocalH, globalToLocalV, invalidate, invalidate, invalidate, invalidateIndependentOfOrigin, invalidateIndependentOfOrigin, isEnabled, isFocusable, isFocused, isOnScreen, isTransparent, isVisible, isVisibleInHierarchy, isVisibleOnScreen, justSetVisible, localToGlobal, localToGlobal, localToGlobalH, localToGlobalV, localToWindow, moveBy, notifyWhenParentSizeChanges, notifyWhenPositionChanges, notifyWhenSizeChanges, offsetOrigin, offsetOrigin, onAddedToParent, onDecoded, onEnabledStateChanged, onPositionChanged, onRemovedFromParent, onShortcut, onShortcut, onShortcutConsumed, onSizeChanged, onStyleChanged, onViewPositionChanged, onViewSizeChanged, playLimitSound, receiveEventInternal, resetOrigin, sendEventToWindow, setAcceptFocus, setAtAndSpacePage, setBackground, setBackgroundColor, setBottom, setDebugBounds, setDynamicPosition, setDynamicWidth, setEnabled, setFocusTraversalDirection, setFocusTraversalFrom, setFocusTraversalPolicy, setFrame, setHeight, setKeyedValue, setLabelFont, setLeft, setMakeLimitNoise, setOrigin, setOrigin, setPartialFocusOK, setPreferredDirection, setRight, setScrollFocusMargin, setStyle, setStyleColor, setStyleFont, setStyleFrameColor, setTop, setTransparent, setVisible, setWidth, showContextMenu, styleIsDefault, swapStyleColors, windowToLocal
 
Methods inherited from class danger.app.Listener
cancelEvents, childEventPump, childEventPumpDone, eventProblem, isDispatchingThread, sendEvent, sendEvent, sendEvent, sendEvent, sendEvent, sendLowPriorityEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhoneVolumeSliderWindow

public PhoneVolumeSliderWindow()
Deprecated. 

PhoneVolumeSliderWindow

public PhoneVolumeSliderWindow(Slider inSlider)
Deprecated. 
Method Detail

showSystemPhoneVolumeSliderWindow

public static void showSystemPhoneVolumeSliderWindow()
Deprecated. 

onShow

protected void onShow()
Deprecated. 
Description copied from class: View
This method is called when this view is shown, via the method View.show(). It is called as the very last thing done by that method, and it is only ever called if the view was not already visible. Overriding this method is the recommended way to get special behavior when a view gets shown. The implementation in this class does nothin.

Overrides:
onShow in class SliderWindow

showAt

public void showAt(Point p)
Deprecated. 
Description copied from class: SliderWindow
Show SliderWindow at specified position. The left side of the SliderWindow is aligned with p.x. The SliderWindow is centered vertically with p.y.

Overrides:
showAt in class SliderWindow
Parameters:
p - Point specifying the position for the SliderWindow.

onHide

protected void onHide()
Deprecated. 
Description copied from class: View
This method is called when this view is hidden, via the method View.hide(). It is called as the very last thing done by that method, and it is only ever called if the view was not already hidden. Overriding this method is the recommended way to get special behavior when a view gets hidden . The implementation in this class does nothin.

Overrides:
onHide in class SliderWindow

setValue

public void setValue(int value)
Deprecated. 
Description copied from interface: ISliderData
Set the value for the Slider. The value must be >= MinValue and <= MaxValue.

Specified by:
setValue in interface ISliderData
Overrides:
setValue in class SliderWindow
Parameters:
value - int specifying the new value.

receiveEvent

public boolean receiveEvent(Event e)
Deprecated. 
Description copied from class: Listener
Entry point for event processing. This method is called from a Dispatcher when it reads an Event in its queue that is targetted at this instance. The default behavior is to do nothing and return false. Subclasses are expected to override this method to do something more useful.

Overrides:
receiveEvent in class Container
Parameters:
e - non-null; the event to process
Returns:
whether (true) or not (false) this method actually handled the event to completion

eventPeriodicPulse

public boolean eventPeriodicPulse(int timestamp)
Deprecated. 
Description copied from class: View
This method is called periodically (every half second) for every view in the focus chain -- from the frontmost window down to the currently focused View.

Overrides:
eventPeriodicPulse in class Container

eventWidgetUp

public boolean eventWidgetUp(int inWhichWidget,
                             Event event)
Deprecated. 
Description copied from class: Container
Handle the release of a device widget

Overrides:
eventWidgetUp in class SliderWindow
Parameters:
inWhichWidget - the widget that went down
Returns:
whether or not the event was consumed

eventWidgetDown

public boolean eventWidgetDown(int inWhichWidget,
                               Event event)
Deprecated. 
Description copied from class: Window
Handle a button down event.

Overrides:
eventWidgetDown in class SliderWindow
Parameters:
inWhichWidget - the widget that went up
Returns:
whether or not the event was consumed

eventKeyDown

public boolean eventKeyDown(char inKey,
                            Event event)
Deprecated. 
Description copied from class: View
This method is called when the user presses a key. The default implementation turns space and @ into page-down and page-up events if you have View.setAtAndSpacePage(boolean).

Overrides:
eventKeyDown in class Container

eventKeyUp

public boolean eventKeyUp(char inKey,
                          Event event)
Deprecated. 
Description copied from class: Container
Processes key releases directed at this container.

Overrides:
eventKeyUp in class SliderWindow
Parameters:
inKey - the character being released.