PageRenderTime 34ms CodeModel.GetById 31ms RepoModel.GetById 0ms app.codeStats 0ms

/src/mpv5/ui/dialogs/ControlApplet.java

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/
Java | 64 lines | 9 code | 8 blank | 47 comment | 0 complexity | 3a421e069a8aada0843dd7ddc44c6e39 MD5 | raw file
Possible License(s): LGPL-3.0, Apache-2.0, GPL-3.0, GPL-2.0, AGPL-3.0, JSON, BSD-3-Clause
  1. /*
  2. * This file is part of YaBS.
  3. *
  4. * YaBS 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. * YaBS 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 YaBS. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. package mpv5.ui.dialogs;
  18. import java.awt.Component;
  19. import mpv5.data.PropertyStore;
  20. /**
  21. *
  22. *
  23. */
  24. public interface ControlApplet {
  25. /**
  26. * A panel containing the save, delete etc buttons
  27. * @return
  28. */
  29. public Component getAndRemoveActionPanel();
  30. /**
  31. * Fills the view with data
  32. * @param values
  33. */
  34. public void setValues(PropertyStore values);
  35. /**
  36. * Returns the unique name for this applet
  37. * @return
  38. */
  39. public String getUname();
  40. /**
  41. * Reset the view
  42. */
  43. public void reset();
  44. // /**
  45. // * The local type for properties - gets stored in a local cockie
  46. // */
  47. // public final static int LOCAL = 0;
  48. // /**
  49. // * The user defined type - gets stored in the user's profile in db
  50. // */
  51. // public final static int USERDEFINED = 1;
  52. // /**
  53. // * The global type - changes to all users
  54. // */
  55. // public final static int GLOBAL = 2;
  56. }