com.stringsandints.inventium.khlrooster.layout
Class DayCalender

java.lang.Object
  extended by LinearLayout
      extended by com.stringsandints.inventium.khlrooster.layout.DayCalender

public class DayCalender
extends LinearLayout


Field Summary
private  java.util.GregorianCalendar dateShown
           
static float HOUR_HEIGHT_DP
           
private  int hour_height_px
           
private  FrameLayout hourSelector
           
static float LINE_DP
           
private  int line_px
           
static float SELECTOR_HEIGHT_DP
           
private  int selector_height_px
           
static int SHOW_FROM_HOUR
           
static int SHOW_TILL_HOUR
           
private  java.util.ArrayList<LinearLayout> vissibleLessons
           
 
Constructor Summary
DayCalender(Context context)
           
 
Method Summary
 java.util.GregorianCalendar getDateShown()
           
private  void insertChildren()
           
private  void prepare()
           
 void setDateShown(java.util.GregorianCalendar dateShown)
           
 void showDayAfter()
           
 void showDayBefore()
           
private  void updateDateShown()
           
private  void updateLessons()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LINE_DP

public static final float LINE_DP
See Also:
Constant Field Values

HOUR_HEIGHT_DP

public static final float HOUR_HEIGHT_DP
See Also:
Constant Field Values

SELECTOR_HEIGHT_DP

public static final float SELECTOR_HEIGHT_DP
See Also:
Constant Field Values

SHOW_FROM_HOUR

public static final int SHOW_FROM_HOUR
See Also:
Constant Field Values

SHOW_TILL_HOUR

public static final int SHOW_TILL_HOUR
See Also:
Constant Field Values

line_px

private int line_px

hour_height_px

private int hour_height_px

selector_height_px

private int selector_height_px

vissibleLessons

private java.util.ArrayList<LinearLayout> vissibleLessons

hourSelector

private FrameLayout hourSelector

dateShown

private java.util.GregorianCalendar dateShown
Constructor Detail

DayCalender

public DayCalender(Context context)
Method Detail

prepare

private void prepare()

showDayBefore

public void showDayBefore()

showDayAfter

public void showDayAfter()

insertChildren

private void insertChildren()

getDateShown

public java.util.GregorianCalendar getDateShown()

setDateShown

public void setDateShown(java.util.GregorianCalendar dateShown)

updateDateShown

private void updateDateShown()

updateLessons

private void updateLessons()