Exemplo n.º 1
0
 @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());
 }
Exemplo n.º 2
0
 public boolean removeActor(Actor actor) {
   if (!super.removeActor(actor)) return false;
   Cell cell = getCell(actor);
   if (cell != null) cell.setWidget(null);
   return true;
 }