|
||||||||||
| 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.RadioStatusView
public class RadioStatusView
| Field Summary | |
|---|---|
static boolean |
DEBUG_RADIO_STATUS_VIEW
Deprecated. For internal use only. |
| Constructor Summary | |
|---|---|
RadioStatusView()
|
|
| Method Summary | |
|---|---|
static void |
debugRadioStatusView()
|
void |
dumpConnectionStates()
|
void |
invalidate()
Cause this View to be repainted at the earliest opportunity, provided it is VISIBLE and not entirely obscured. |
void |
paint(Pen pen)
Draw the contents of this View. |
boolean |
receiveEvent(Event event)
Entry point for event processing. |
void |
setHeight(int height)
Set the height of this View. |
void |
setInChooser(boolean inChooser)
|
void |
setSize(int width,
int height)
Simultaneously set the width and height of this View. |
void |
setWidth(int width)
Set the width 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 |
| Field Detail |
|---|
public static final boolean DEBUG_RADIO_STATUS_VIEW
| Constructor Detail |
|---|
public RadioStatusView()
| Method Detail |
|---|
public void setSize(int width,
int height)
View
setSize in class Viewpublic void setWidth(int width)
View
setWidth in class Viewpublic void setHeight(int height)
View
setHeight 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 Viewpen - 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 Listenerevent - non-null; the event to process
true) or not (false) this
method actually handled the event to completionpublic static void debugRadioStatusView()
public void setInChooser(boolean inChooser)
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 | |||||||||