Ejemplo n.º 1
0
 public void showDomain(CellDomainNode domainNode) {
   _topLabel.setText(">>> " + domainNode.getName() + " <<<");
   _domainNode = domainNode;
   _cellPanel.clear();
   _commandPanel.clear();
   updateDomain();
 }
Ejemplo n.º 2
0
 @Override
 public void actionPerformed(ActionEvent event) {
   Object o = event.getSource();
   if (o == _updateButton) {
     updateDomain();
     _cellPanel.clear();
     _commandPanel.clear();
   } else if (o == _detailButton) {
     _cards.show(_cardPanel, "cell");
     _cellMode = "cell";
   } else if (o == _commandButton) {
     _cards.show(_cardPanel, "command");
     _cellMode = "command";
   }
 }
Ejemplo n.º 3
0
 public void clear() {
   _list.removeAll();
   _cellPanel.clear();
   _commandPanel.clear();
 }