|
||||||||||
| 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.ScreenWindow
danger.ui.FolderEditor
public class FolderEditor
| Field Summary | |
|---|---|
protected Listener |
mListener
Deprecated. Use setListener(danger.app.Listener) instead. |
| Fields inherited from class danger.ui.Window |
|---|
mBusyPaintCount, mDefaultListener, STATE_AUTO_HIDE_IF_IDLE, STATE_DROP_ORPHANED_EVENTS, STATE_FULLSCREEN, STATE_UNUSED1 |
| Constructor Summary | |
|---|---|
FolderEditor(String inItemName,
String inPluralName,
Bitmap inIcon)
Deprecated. |
|
FolderEditor(String inItemName,
String inPluralName,
String inNewItemName,
String inEditItemName,
Bitmap inIcon)
Deprecated. |
|
FolderEditor(String inItemName,
String inPluralName,
String inNewItemName,
String inEditItemName,
Bitmap inIcon,
Menu settingsMenu)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
adjustActionMenuState(Menu menu)
Deprecated. Adjust the action menu state. |
boolean |
eventKeyUp(char inKey,
Event event)
Deprecated. Handle a key up event. |
boolean |
eventWidgetUp(int inWhichWidget,
Event event)
Deprecated. Handle a button up event. |
void |
hide()
Deprecated. Mark this view hidden so that it is not displayed. |
boolean |
receiveEvent(Event e)
Deprecated. Entry point for event processing. |
void |
setAutoCap(boolean inAutoCap)
Deprecated. |
void |
setAutoText(boolean inAutoText)
Deprecated. |
void |
setCustomList(ListView inList)
Deprecated. |
void |
setEvents(int inAddCommand,
int inEditCommand,
int inDeleteCommand)
Deprecated. |
void |
setHeaderView(View inHeader)
Deprecated. |
void |
setItemInputFilter(TextInputFilter inFilter)
Deprecated. |
void |
setListener(Listener inListener)
Deprecated. |
void |
setMaxCustomItems(int inNumItems)
Deprecated. |
void |
setStaticList(ListView inList)
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 |
| Field Detail |
|---|
protected Listener mListener
setListener(danger.app.Listener) instead.| Constructor Detail |
|---|
public FolderEditor(String inItemName,
String inPluralName,
Bitmap inIcon)
public FolderEditor(String inItemName,
String inPluralName,
String inNewItemName,
String inEditItemName,
Bitmap inIcon)
public FolderEditor(String inItemName,
String inPluralName,
String inNewItemName,
String inEditItemName,
Bitmap inIcon,
Menu settingsMenu)
| Method Detail |
|---|
public void adjustActionMenuState(Menu menu)
ScreenWindowThis method is called before the action menu is displayed to the user, and also before menu item shortcuts are executed.
You will generally want to override this method in order to enable/disable, and hide/show menu items appropriately.
If you override this method, be sure to
call super.adjustActionMenuState just before
returning. Doing so will assure the menu gets redrawn
properly, and that BaseMenu.updateTextEditItems(danger.ui.Window) will
be called automatically on the action menu.
adjustActionMenuState in class ScreenWindowScreenWindow.adjustActionMenuState()public void setHeaderView(View inHeader)
public void setStaticList(ListView inList)
public void setCustomList(ListView inList)
public boolean eventWidgetUp(int inWhichWidget,
Event event)
ScreenWindowsuper.eventWidgetUp.
eventWidgetUp in class ScreenWindowinWhichWidget - the widget that went down
public boolean eventKeyUp(char inKey,
Event event)
ScreenWindowsuper.eventKeyUp.
eventKeyUp in class ScreenWindowinKey - the character being released.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 void hide()
ViewContainer, then none of the children will be displayed,
either. However, this method does not mark the children as hidden -
it simply means they won't be displayed. If this view was not
already hidden, this method will call View.onHide() as the last
thing it does before returning. If you wish to have special behavior
when a view becomes hidden, it is recommended that you override that
method.
In a future revision of the library, it is likely that this method
will be final.
hide in class Windowpublic void setListener(Listener inListener)
public void setEvents(int inAddCommand,
int inEditCommand,
int inDeleteCommand)
public void setMaxCustomItems(int inNumItems)
public void setItemInputFilter(TextInputFilter inFilter)
public final void setAutoText(boolean inAutoText)
public final void setAutoCap(boolean inAutoCap)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||