コード例 #1
0
 @Override
 public void remove(Component comp) {
   if (comp instanceof KitchenTicketView) {
     KitchenTicketView view = (KitchenTicketView) comp;
     existingTickets.remove(view.getTicket());
   }
   super.remove(comp);
   super.removeAll();
   rendererKitchenTickets();
 }
コード例 #2
0
 private void scrollUp() {
   currentBlockIndex = previousBlockIndex;
   super.removeAll();
   rendererKitchenTickets();
   repaint();
 }
コード例 #3
0
 private void scrollDown() {
   currentBlockIndex = nextBlockIndex;
   super.removeAll();
   rendererKitchenTickets();
   repaint();
 }