Esempio n. 1
0
  @Override
  protected void createChildren() {

    super.createChildren();

    bg = Chrome.get(Chrome.Type.TAG);
    add(bg);
  }
Esempio n. 2
0
  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();
  }