Screen.java 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /*
  2. * Copyright (C) 2016 iZc
  3. *
  4. * This program is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation, either version 3 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. package de.nplusc.izc.Utilities.WPCMgr;
  18. /**
  19. *
  20. * @author iZc <nplusc.de>
  21. */
  22. public class Screen
  23. {
  24. private final int x,y,w,h;
  25. private final String ID;
  26. public Screen(String ID, int x,int y,int w,int h)
  27. {
  28. this.x=x;
  29. this.y=y;
  30. this.w=w;
  31. this.h=h;
  32. this.ID=ID;
  33. }
  34. public int getX()
  35. {
  36. return x;
  37. }
  38. public int getY()
  39. {
  40. return y;
  41. }
  42. public int getW()
  43. {
  44. return w;
  45. }
  46. public int getH()
  47. {
  48. return h;
  49. }
  50. public String getID()
  51. {
  52. return ID;
  53. }
  54. public int[] getPosition()
  55. {
  56. return null;
  57. }
  58. public int[] getSize()
  59. {
  60. return null;
  61. }
  62. }