Back to project page android-mvc-framework.
The source code is released under:
Apache License
If you think the Android project android-mvc-framework listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.android_mvc.framework.ui.tab; //from w ww.java 2 s . c o m /** * ???????????????????????????? * @author id:language_and_engineering * */ public class TabDescription { public String tabTag; public String displayText; public int icon_resource_id = 0; //getter???????????????? /** * ????? * ??????????????????????????????????????? */ public TabDescription(String tabTag) { this.tabTag = tabTag; } /** * ??????????????????????????? */ public TabDescription text(String displayText) { this.displayText = displayText; return this; } /** * ??????????????????????????????ID???? */ public TabDescription icon(int icon_resource_id) { this.icon_resource_id = icon_resource_id; return this; } /** * ?????????????????????????????????? */ public TabDescription noIcon() { this.icon_resource_id = 0; return this; } }