|
||||||||||
| 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.IconPickerWindow
public class IconPickerWindow
An IconPickerWindow is the window that is displayed when the user activates
an IconPicker. You would generally use an IconPicker, rather
than using an IconPickerWindow directly.
| Field Summary |
|---|
| Fields inherited from class danger.ui.Window |
|---|
NO_FULL_SCREEN_MARQUEE, SHOW_FULL_SCREEN_MARQUEE, STATE_AUTO_HIDE_IF_IDLE, STATE_DROP_ORPHANED_EVENTS, STATE_FULLSCREEN, STATE_UNUSED1 |
| Constructor Summary | |
|---|---|
IconPickerWindow(IconPicker inPicker)
Deprecated. |
|
| Method Summary | |
|---|---|
protected void |
autoHide()
Deprecated. This method is called when the window is automatically hidden (see Window.autoHideIfIdle(boolean)). |
void |
drawOpenMenuContents(Pen p)
Deprecated. |
void |
drawOpenMenuFrame(Pen p)
Deprecated. |
boolean |
eventKeyUp(char inChar,
Event event)
Deprecated. Processes key releases directed at this container. |
boolean |
eventShortcut(char shortcut,
Event event)
Deprecated. Handle a shortcut key. |
boolean |
eventWidgetDown(int inWhichWidget,
Event event)
Deprecated. Handle the pressing of a device widget |
boolean |
eventWidgetUp(int inWhichWidget,
Event event)
Deprecated. Handle the release of a device widget |
boolean |
pageToEnd()
Deprecated. Page to the bottom of this view. |
boolean |
pageToHome()
Deprecated. Page to the top of this view. |
void |
paint(Pen p)
Deprecated. Draw the contents of this View. |
| 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 IconPickerWindow(IconPicker inPicker)
| Method Detail |
|---|
public void paint(Pen p)
ViewThe implementation of this method in this class will merely call
clear() pen, if this View is opaque (not transparent),
and will do nothing otherwise. If you don't need this behavior, then
there is no point in calling super.paint() in an
overriding method.
paint in class Containerp - non-null; the pen to use for drawing operationspublic void drawOpenMenuFrame(Pen p)
public void drawOpenMenuContents(Pen p)
public boolean eventWidgetDown(int inWhichWidget,
Event event)
Container
eventWidgetDown in class WindowinWhichWidget - the widget that went up
public boolean eventWidgetUp(int inWhichWidget,
Event event)
Container
eventWidgetUp in class WindowinWhichWidget - the widget that went down
public boolean eventShortcut(char shortcut,
Event event)
ViewScreenWindow, DialogWindow,
BaseMenuWindow.
eventShortcut in class Containershortcut - the key that was pressedevent - the event associated with the key press
true if the shortcut was handledprotected void autoHide()
WindowWindow.autoHideIfIdle(boolean)).
Override this method if you need to do anything special in this
case. Note that View.onHide() is also called when the window
is hidden.
autoHide in class Window
public boolean eventKeyUp(char inChar,
Event event)
Container
eventKeyUp in class ContainerinChar - the character being released.public boolean pageToEnd()
ContainerContainer.pageToEnd()
on the currently focused child, if any.
pageToEnd in class Containerpublic boolean pageToHome()
ContainerContainer.pageToHome()
on the currently focused child, if any.
pageToHome in class Container
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||