danger.ui
Class LogView

java.lang.Object
  |
  +--danger.app.Listener
        |
        +--danger.ui.View
              |
              +--danger.ui.LogView

public class LogView
extends View


Fields inherited from class danger.ui.View
mOriginX, mOriginY, mStyle, STATE_CAN_FOCUS, STATE_DEBUG_BOUNDS, STATE_ENABLED, STATE_FOCUSED, STATE_TRANSPARENT, STATE_VISIBLE
 
Constructor Summary
LogView(int inSizeLimit)
           
 
Method Summary
 void addInput(java.lang.String inText)
           
 void addLine(danger.ui.ChatLine inLine, int inType)
           
 void addOutput(java.lang.String inText)
           
 void addOutputPending(java.lang.String inText)
           
 boolean canScrollDown()
           
 boolean canScrollUp()
           
 java.lang.String getStringValue()
           
 void outputNoLongerPending()
           
 void pageDown()
           
 void pageUp()
           
 void paint(Pen inPen)
          Draw the contents of this View.
 void scrollDown()
           
 void scrollUp()
           
 void setSize(int inWidth, int inHeight)
           
 void setTitle(java.lang.String inText)
           
 
Methods inherited from class danger.ui.View
addChild, childIsOnScreen, clear, copyStyle, disable, enable, eventKeyDown, eventKeyHeld, eventKeyRepeat, eventKeyUp, eventPeriodicPulse, eventShortcut, eventWidgetDown, eventWidgetHeld, eventWidgetUp, getAcceptFocus, getBackgroundColor, getBottom, getBottomChild, getBounds, getBounds, getFirstChild, getFocusedChild, getFrame, getFrame, getHeight, getInterestingRect, getInterestingRect, getLastChild, 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, loseFocus, moveBy, offsetOrigin, offsetOrigin, onAddedToParent, onDecoded, onPeriodicPulse, onRemovedFromParent, onStyleChanged, onWindowPaint, receiveEventInternal, reflowChildren, removeChild, resetOrigin, sendEventToWindow, setAcceptFocus, setBackgroundColor, setBottom, setDebugBounds, setEnabled, setFrame, setHeight, setKeyedValue, setLeft, setOrigin, setOrigin, setPosition, setRight, setStyle, setStyleColor, setStyleFont, setStyleFrameColor, setTop, setTransparent, setVisible, setWidth, setWindow, shouldDropEvent, show, styleIsDefault, takeFocus, willFocusWithin, windowToLocal
 
Methods inherited from class danger.app.Listener
cancelEvents, receiveEvent, sendEvent, sendEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogView

public LogView(int inSizeLimit)
Method Detail

paint

public void paint(Pen inPen)
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 View

setSize

public void setSize(int inWidth,
                    int inHeight)
Overrides:
setSize in class View

addInput

public void addInput(java.lang.String inText)

addOutput

public void addOutput(java.lang.String inText)

addOutputPending

public void addOutputPending(java.lang.String inText)

addLine

public void addLine(danger.ui.ChatLine inLine,
                    int inType)

canScrollUp

public boolean canScrollUp()

canScrollDown

public boolean canScrollDown()

scrollUp

public void scrollUp()

scrollDown

public void scrollDown()

pageUp

public void pageUp()

pageDown

public void pageDown()

setTitle

public void setTitle(java.lang.String inText)

getStringValue

public java.lang.String getStringValue()

outputNoLongerPending

public void outputNoLongerPending()


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