|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdanger.app.Listener
danger.ui.View
danger.ui.Container
danger.ui.Window
danger.ui.SliderWindow
danger.ui.PhoneVolumeSliderWindow
public class PhoneVolumeSliderWindow
| 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 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.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 |
|---|
public PhoneVolumeSliderWindow()
public PhoneVolumeSliderWindow(Slider inSlider)
| Method Detail |
|---|
public static void showSystemPhoneVolumeSliderWindow()
protected void onShow()
ViewView.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.
onShow in class SliderWindowpublic void showAt(Point p)
SliderWindow
showAt in class SliderWindowp - Point specifying the position for the SliderWindow.protected void onHide()
ViewView.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.
onHide in class SliderWindowpublic void setValue(int value)
ISliderData
setValue in interface ISliderDatasetValue in class SliderWindowvalue - int specifying the new value.public boolean receiveEvent(Event e)
ListenerDispatcher 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.
receiveEvent in class Containere - non-null; the event to process
true) or not (false) this
method actually handled the event to completionpublic boolean eventPeriodicPulse(int timestamp)
ViewView.
eventPeriodicPulse in class Container
public boolean eventWidgetUp(int inWhichWidget,
Event event)
Container
eventWidgetUp in class SliderWindowinWhichWidget - the widget that went down
public boolean eventWidgetDown(int inWhichWidget,
Event event)
Window
eventWidgetDown in class SliderWindowinWhichWidget - the widget that went up
public boolean eventKeyDown(char inKey,
Event event)
ViewView.setAtAndSpacePage(boolean).
eventKeyDown in class Container
public boolean eventKeyUp(char inKey,
Event event)
Container
eventKeyUp in class SliderWindowinKey - the character being released.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||