danger.ui
Class TableCell

java.lang.Object
  |
  +--danger.ui.TableCell

public class TableCell
extends java.lang.Object


Field Summary
static int TYPE_DRAWABLE
           
static int TYPE_INT
           
static int TYPE_NONE
           
static int TYPE_STRING
           
 
Constructor Summary
TableCell()
           
TableCell(Table table)
           
 
Method Summary
 int getAlignment()
           
 int getBackgroundColor()
           
 int getColSpan()
           
 View getElementAsDrawable()
           
 int getElementAsInt()
           
 java.lang.String getElementAsString()
           
 int getElementType()
           
 int getForegroundColor()
           
 int getHeight()
           
 int getRowSpan()
           
 int getWidth()
           
 void paint(Pen p, Rect rect)
           
 void setAlignment(int flag)
           
 void setBackgroundColor(int inColor)
           
 void setColSpan(int inSpan)
           
 void setElementToDrawable(View inDrawable)
           
 void setElementToInt(int n)
           
 void setElementToString(java.lang.String s)
           
 void setFont(Font f)
           
 void setForegroundColor(int inColor)
           
 void setParent(Table parent)
           
 void setRowSpan(int inSpan)
           
 void setSize(int width, int height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_NONE

public static final int TYPE_NONE

TYPE_INT

public static final int TYPE_INT

TYPE_STRING

public static final int TYPE_STRING

TYPE_DRAWABLE

public static final int TYPE_DRAWABLE
Constructor Detail

TableCell

public TableCell()

TableCell

public TableCell(Table table)
Method Detail

setParent

public void setParent(Table parent)

setSize

public void setSize(int width,
                    int height)

getWidth

public int getWidth()

getHeight

public int getHeight()

setColSpan

public void setColSpan(int inSpan)

getColSpan

public int getColSpan()

setRowSpan

public void setRowSpan(int inSpan)

getRowSpan

public int getRowSpan()

setAlignment

public void setAlignment(int flag)

getAlignment

public int getAlignment()

setFont

public void setFont(Font f)

setForegroundColor

public final void setForegroundColor(int inColor)

getForegroundColor

public final int getForegroundColor()

setBackgroundColor

public final void setBackgroundColor(int inColor)

getBackgroundColor

public final int getBackgroundColor()

getElementType

public int getElementType()

getElementAsInt

public int getElementAsInt()

setElementToInt

public void setElementToInt(int n)

getElementAsString

public java.lang.String getElementAsString()

setElementToString

public void setElementToString(java.lang.String s)

getElementAsDrawable

public View getElementAsDrawable()

setElementToDrawable

public void setElementToDrawable(View inDrawable)

paint

public void paint(Pen p,
                  Rect rect)


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