package com.cygnusa.hyperm.droppy;

import android.content.Context;
import android.view.View;

public interface DroppyMenuItemInterface {
	/**
	 * Get type of droppy_menu item (e.g. droppy_menu, droppy_separator ....
	 * more type to be defined later)
	 * 
	 * @return String
	 */
	public int getType();

	/**
	 * @param context
	 * 
	 * @return View rendered/inflated view
	 */
	public View render(Context context);

	/**
	 * @param id
	 *            Ideally the position in the list
	 * 
	 * @return DroppyMenuItemInterface
	 */
	public DroppyMenuItemInterface setId(int id);

	/**
	 * @param isClickable
	 * 
	 * @return DroppyMenuItemInterface
	 */
	public DroppyMenuItemInterface setClickable(boolean isClickable);

	/**
	 * @return int
	 */
	public int getId();

	/**
	 * @return boolean
	 */
	public boolean isClickable();

	/**
	 * @return View
	 */
	public View getView();
}
