Code example for CheckBox

Methods: setText

0
 
	// ---------------------------------------------------------- 
	@Override 
	public View createEditor(Context context)
	{ 
		editor = new CheckBox(context);
		editor.setText(getLabelText(context));
 
		return editor;
	} 
 
	 
	// ---------------------------------------------------------- 
	@Override 
	public void takeValueFromObject(Object object)
	{ 
		boolean value = (Boolean) getValue(object);
		editor.setChecked(value);
	}