@Override protected void createChildren() { super.createChildren(); bg = Chrome.get(Chrome.Type.TAG); add(bg); }
public void select(boolean value) { active = !(selected = value); if (bg != null) { remove(bg); } bg = Chrome.get(selected ? Chrome.Type.TAB_SELECTED : Chrome.Type.TAB_UNSELECTED); addToBack(bg); layout(); }