Back to project page MabLidsAndroid.
The source code is released under:
MIT License
If you think the Android project MabLidsAndroid 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.mikerandrup.essaycomposable.components.dynamicwords; // w w w. ja v a2s . co m import com.mikerandrup.essaycomposable.components.BaseComponent; public class DynamicWordComponent extends BaseComponent { public DynamicWordComponent() { value = null; } public DynamicWordComponent(String hint) { hintText = hint; value = null; } protected String hintText = ""; public String getWordType() { return this.getClass().getSimpleName().toString(); } public String getWordTypeAndHint() { return getWordType() + ((hintText=="") ? "" : (" ("+hintText+")")); } }