示例#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());
 }
示例#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;
 }