|
||||||||||
| 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.TitleBar
public class TitleBar
| Field Summary |
|---|
| Method Summary | |
|---|---|
void |
dumpConnectionStates()
Deprecated. |
void |
invalidate()
Deprecated. Cause this View to be repainted at the earliest opportunity, provided it is VISIBLE and not entirely obscured. |
protected void |
onChildSizeChanged(View child,
int oldWidth,
int oldHeight)
Deprecated. You can override this method to be notified when a child of your container changes size. |
void |
onViewSizeChanged(View view,
int oldH,
int oldV)
Deprecated. This method is called when the specified view's size changes. |
void |
paint(Pen pen)
Deprecated. Draw the contents of this View. |
boolean |
receiveEvent(Event event)
Deprecated. Entry point for event processing. |
void |
setOverrideBitmap(Bitmap overrideBitmap)
Deprecated. Sets an override bitmap for the titlebar. |
| 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 |
| Method Detail |
|---|
protected void onChildSizeChanged(View child,
int oldWidth,
int oldHeight)
Container
onChildSizeChanged in class Container
public void onViewSizeChanged(View view,
int oldH,
int oldV)
ViewView.notifyWhenSizeChanges(danger.ui.View)
or View.notifyWhenParentSizeChanges() is called.
onViewSizeChanged in class Viewpublic void paint(Pen pen)
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 Containerpen - non-null; the pen to use for drawing operationspublic boolean receiveEvent(Event event)
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 Containerevent - non-null; the event to process
true) or not (false) this
method actually handled the event to completionpublic void setOverrideBitmap(Bitmap overrideBitmap)
paint(danger.ui.Pen).
This is a global behavior that overrides the usual titlbar display
until it is undone by calling setOverrideBitmap(danger.ui.Bitmap) with null
as the bitmap argument.
overrideBitmap - null-ok; the override bitmap or null to clear it.public void dumpConnectionStates()
public void invalidate()
View
invalidate in class View
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||