net.neurowork.mobile.android.fw.activities
Class Cell

java.lang.Object
  extended by net.neurowork.mobile.android.fw.activities.Cell
Direct Known Subclasses:
CalendarView.GrayCell, CalendarView.PushCell

public class Cell
extends java.lang.Object


Constructor Summary
Cell(int dayOfMon, android.graphics.Rect rect, float textSize)
           
Cell(int dayOfMon, android.graphics.Rect rect, float textSize, boolean bold)
           
 
Method Summary
 android.graphics.Rect getBound()
           
 int getDayOfMonth()
           
 boolean hitTest(int x, int y)
           
 void setColourCell(int color, android.graphics.Canvas canvas)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Cell

public Cell(int dayOfMon,
            android.graphics.Rect rect,
            float textSize,
            boolean bold)

Cell

public Cell(int dayOfMon,
            android.graphics.Rect rect,
            float textSize)
Method Detail

getDayOfMonth

public int getDayOfMonth()

hitTest

public boolean hitTest(int x,
                       int y)

getBound

public android.graphics.Rect getBound()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setColourCell

public void setColourCell(int color,
                          android.graphics.Canvas canvas)