Package Core

Examples of Core.Room


      DefaultMutableTreeNode node = (DefaultMutableTreeNode) classTree.getLastSelectedPathComponent();
      if(node == null)
        return ;
      Object roomNode = node.getUserObject();
      if(node.isLeaf() && !classRoot.isLeaf()) {
        Room room = (Room) roomNode;
        drawPane.setSelectedRoom(room.GetId());
       
      }
     
    }
View Full Code Here


        else {
          g.drawImage(light, offsetX + j * ROOM_CELL_WIDTH, offsetY + i * ROOM_CELL_HEIGHT, this);
        }
      }
    }
    Room room = Configuration.GetInstance().GetRoomById(roomId);
    g.drawString("Room: " + room.GetName().substring(1), offsetX + 10, offsetY + 20);
    String str = String.format("Lab: %c", room.IsLab() ? 'Y' : 'N');
    g.drawString(str, offsetX + 10, offsetY+40);
    str = String.format( "Seats: %d", room.GetNumberOfSeats());
    g.drawString(str, offsetX + 10, offsetY + 60);
   
    if(_schedule != null) {
      Font tableTextFont = new Font("Arial", Font.PLAIN, 10);
          Font criteriaFont = new Font("Arial", Font.PLAIN, 12);
View Full Code Here

TOP

Related Classes of Core.Room

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.