/src/org/mt4j/components/css/util/CSSStylableComponent.java

http://mt4j.googlecode.com/ · Java · 52 lines · 10 code · 9 blank · 33 comment · 0 complexity · 4c7fc8f56a7d4fd9cbaa3a104c6b1ee5 MD5 · raw file

  1. package org.mt4j.components.css.util;
  2. // TODO: Auto-generated Javadoc
  3. /**
  4. * The Interface CSSStylableComponent.
  5. */
  6. public interface CSSStylableComponent {
  7. /**
  8. * Checks if the Component is CSS styled.
  9. *
  10. * @return true, if is cSS styled
  11. */
  12. public boolean isCSSStyled();
  13. /**
  14. * Enables the CSS (if everything is right).
  15. */
  16. public void enableCSS();
  17. /**
  18. * Disable the CSS.
  19. */
  20. public void disableCSS();
  21. /**
  22. * Appl???es the (global) style sheets.
  23. */
  24. public void applyStyleSheet();
  25. /**
  26. * Gets the css helper.
  27. *
  28. * @return the css helper
  29. */
  30. public CSSHelper getCssHelper();
  31. /**
  32. * Checks if css is force disabled.
  33. *
  34. * @return true, if is css force disabled
  35. */
  36. public boolean isCssForceDisabled();
  37. /**
  38. * Sets the css force disable.
  39. *
  40. * @param cssForceDisabled the new css force disable
  41. */
  42. public void setCssForceDisable(boolean cssForceDisabled);
  43. }