// Path: app/src/main/java/com/ubiqlog/vis/ui/extras/DateTimeSelector/DateTimePickerDialog.java
// public enum Type {
// 	DATE, TIME, DATETIME
// }


import java.text.SimpleDateFormat;
import java.util.Date;
import com.ubiqlog.vis.ui.extras.DateTimeSelector.DateTimePickerDialog.Type;
import android.app.DatePickerDialog;
import android.app.Dialog;
import android.app.TimePickerDialog;
import android.content.Context;
import android.graphics.Color;
import android.view.Gravity;
import android.view.View;
import android.widget.Button;
import android.widget.DatePicker;
import android.widget.FrameLayout;
import android.widget.LinearLayout;
import android.widget.TableLayout;
import android.widget.TableRow;
import android.widget.TextView;
import android.widget.TimePicker;
package com.ubiqlog.vis.ui.extras.DateTimeSelector;




/**
 * A framelayout displaying a button with the a date on it. When the button is
 * pressed a DateTimePicker dialog will be displayed and the user can change the
 * date and/or time
 * 
 * @author Victor Gugonatu
 * @date 10.2010
 * @version 1.0
 */
public class DateTimeSelector extends FrameLayout implements
		View.OnClickListener {

	/**
	 * The callback used to indicate the user is done filling in the data.
	 * Refers to {@link DateTimeSelector DateTimeSelector}
	 */
	public interface OnDataChangedListener {

// Path: app/src/main/java/com/ubiqlog/vis/ui/extras/DateTimeSelector/DateTimePickerDialog.java
// public enum Type {
// 	DATE, TIME, DATETIME
// }


// Path: app/src/main/java/com/ubiqlog/vis/ui/extras/DateTimeSelector/DateTimeSelector.java
import java.text.SimpleDateFormat;
import java.util.Date;
import com.ubiqlog.vis.ui.extras.DateTimeSelector.DateTimePickerDialog.Type;
import android.app.DatePickerDialog;
import android.app.Dialog;
import android.app.TimePickerDialog;
import android.content.Context;
import android.graphics.Color;
import android.view.Gravity;
import android.view.View;
import android.widget.Button;
import android.widget.DatePicker;
import android.widget.FrameLayout;
import android.widget.LinearLayout;
import android.widget.TableLayout;
import android.widget.TableRow;
import android.widget.TextView;
import android.widget.TimePicker;

package com.ubiqlog.vis.ui.extras.DateTimeSelector;




/**
 * A framelayout displaying a button with the a date on it. When the button is
 * pressed a DateTimePicker dialog will be displayed and the user can change the
 * date and/or time
 * 
 * @author Victor Gugonatu
 * @date 10.2010
 * @version 1.0
 */
public class DateTimeSelector extends FrameLayout implements
		View.OnClickListener {

	/**
	 * The callback used to indicate the user is done filling in the data.
	 * Refers to {@link DateTimeSelector DateTimeSelector}
	 */
	public interface OnDataChangedListener {

		public abstract void onDataChanged(Date date, Type type);