@Override public void setFocus(boolean focus) { super.setFocus(focus); top.setVisible(focus); if (!focus) { if (topCell.hasWidget()) { topCell.setWidget(null); } } else { topCell.setWidget(top); } top.invalidateHierarchy(); previousTime = Float.valueOf(time.getText()); }
public boolean removeActor(Actor actor) { if (!super.removeActor(actor)) return false; Cell cell = getCell(actor); if (cell != null) cell.setWidget(null); return true; }