danger.ui
Class TitleBar

java.lang.Object
  |
  +--danger.app.Listener
        |
        +--danger.ui.View
              |
              +--danger.ui.Container
                    |
                    +--danger.ui.TitleBar
All Implemented Interfaces:
danger.internal.LocaleResources

public class TitleBar
extends Container
implements danger.internal.LocaleResources


Fields inherited from class danger.ui.View
mOriginX, mOriginY, mStyle, STATE_CAN_FOCUS, STATE_DEBUG_BOUNDS, STATE_ENABLED, STATE_FOCUSED, STATE_TRANSPARENT, STATE_VISIBLE
 
Fields inherited from interface danger.internal.LocaleResources
kAM, kApril, kAprilShort, kAugust, kAugustShort, kDateTimePattern, kDecember, kDecemberShort, kEraAfter0, kEraBefore1, kFebruary, kFebruaryShort, kFirstDayOfWeek, kFriday, kFridayShort, kFullDate, kFullTime, kJanuary, kJanuaryShort, kJuly, kJulyShort, kJune, kJuneShort, kLocaleName, kLongDate, kLongTime, kMarch, kMarchShort, kMay, kMayShort, kMediumDate, kMediumTime, kMenuClockPattern, kMonday, kMondayShort, kNovember, kNovemberShort, kOctober, kOctoberShort, kPM, kSaturday, kSaturdayShort, kSeptember, kSeptemberShort, kShortDate, kShortTime, kSunday, kSundayShort, kThursday, kThursdayShort, kTuesday, kTuesdayShort, kWednesday, kWednesdayShort
 
Method Summary
 void dumpConnectionStates()
           
static TitleBar getInstance()
           
 void paint(Pen pen)
          Draw the contents of this View.
 boolean receiveEvent(Event event)
          Entry point for event processing.
 
Methods inherited from class danger.ui.Container
addChild, addChild, addChildAt, advanceFocus, childCount, childIsOnScreen, disable, enable, eventKeyDown, eventKeyHeld, eventKeyRepeat, eventKeyUp, eventPeriodicPulse, eventShortcut, eventWidgetDown, eventWidgetHeld, eventWidgetUp, getBottomChild, getChildAt, getChildIndex, getChildWithID, getDescendantWithID, getFirstChild, getFirstFocusableChild, getFocusedChild, getLastChild, getLastFocusableChild, hideAllChildren, loseFocus, moveChildToIndex, paintChildren, reflowChildren, removeAllChildren, removeChild, reverseFocus, setFocusedChild, setFocusedChild, setWindow, showAllChildren, snapToChildren, takeFocus
 
Methods inherited from class danger.ui.View
clear, copyStyle, getAcceptFocus, getBackgroundColor, getBottom, getBounds, getBounds, getFrame, getFrame, getHeight, getInterestingRect, getInterestingRect, getLeft, getOrigin, getOrigin, getOriginX, getOriginY, getParent, getRight, getSibling, getStyle, getStyleColor, getStyleFont, getTop, getWidth, getWindow, globalToLocal, hide, invalidate, invalidate, invalidate, isEnabled, isFocusable, isFocused, isOnScreen, isTransparent, isVisible, keepRectInView, localToGlobal, localToGlobal, localToWindow, moveBy, offsetOrigin, offsetOrigin, onAddedToParent, onDecoded, onPeriodicPulse, onRemovedFromParent, onStyleChanged, onWindowPaint, receiveEventInternal, resetOrigin, sendEventToWindow, setAcceptFocus, setBackgroundColor, setBottom, setDebugBounds, setEnabled, setFrame, setHeight, setKeyedValue, setLeft, setOrigin, setOrigin, setPosition, setRight, setSize, setStyle, setStyleColor, setStyleFont, setStyleFrameColor, setTop, setTransparent, setVisible, setWidth, shouldDropEvent, show, styleIsDefault, willFocusWithin, windowToLocal
 
Methods inherited from class danger.app.Listener
cancelEvents, sendEvent, sendEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static TitleBar getInstance()

paint

public void paint(Pen pen)
Description copied from class: View
Draw the contents of this View. This method is called by the graphics system when the View needs to be repainted. A Pen will be provided which is appropriately clipped and translated for drawing on this View.
Overrides:
paint in class Container

receiveEvent

public boolean receiveEvent(Event event)
Description copied from class: Listener
Entry point for event processing. Default behaviour is to do nothing and return false. Normally this method is called from a Dispatcher when it discovers an Event in its queue that is targetted at this Listener.
Overrides:
receiveEvent in class Container

dumpConnectionStates

public void dumpConnectionStates()


Danger Confidential. Copyright © 2000-2003, Danger Inc.