@Test public void testSetText() { TestButtonItem item = new TestButtonItem(); item.setText("lorem ipsum"); final Button button = item.createButton(mParent); assertEquals("ButtonItem text should be \"lorem ipsum\"", "lorem ipsum", item.getText()); assertEquals("Button text should be \"lorem ipsum\"", "lorem ipsum", button.getText()); }
public void setText(CharSequence text) { mText = text; }
ButtonItem extends AbstractItem implements View.OnClickListener { public void setText(CharSequence text) { mText = text; } }
ButtonItem extends AbstractItem implements View.OnClickListener { public void setText(CharSequence text) { mText = text; } ButtonItem();  ButtonItem(Context context, AttributeSet attrs); }
ButtonItem extends AbstractItem implements View.OnClickListener { public void setText(CharSequence text) { mText = text; } ButtonItem();  ButtonItem(Context context, AttributeSet attrs); void setOnClickListener(OnClickListener listener); void setText(CharSequence text); CharSequence getText(); void setTheme(int theme); int getTheme(); void setEnabled(boolean enabled); @Override int getCount(); @Override boolean isEnabled(); @Override int getLayoutResource(); @Override final void onBindView(View view); @Override void onClick(View v); }
ButtonItem extends AbstractItem implements View.OnClickListener { public void setText(CharSequence text) { mText = text; } ButtonItem();  ButtonItem(Context context, AttributeSet attrs); void setOnClickListener(OnClickListener listener); void setText(CharSequence text); CharSequence getText(); void setTheme(int theme); int getTheme(); void setEnabled(boolean enabled); @Override int getCount(); @Override boolean isEnabled(); @Override int getLayoutResource(); @Override final void onBindView(View view); @Override void onClick(View v);  }