1 16 package org.apache.myfaces.examples.inputhtmlexample; 17 18 22 public class EditorFace { 23 24 private String text = "Defaut unformated text."; 25 26 private boolean allowEditSource = true; 28 private boolean showPropertiesToolBox = false; 29 private boolean showLinksToolBox = false; 30 private boolean showImagesToolBox = false; 31 private boolean showTablesToolBox = false; 32 private boolean showCleanupExpressionsToolBox = false; 33 private boolean showDebugToolBox = false; 34 35 public String getText() { 36 return text; 37 } 38 public void setText(String text) { 39 this.text = text; 40 } 41 42 public boolean isAllowEditSource() { 43 return allowEditSource; 44 } 45 public void setAllowEditSource(boolean allowEditSource) { 46 this.allowEditSource = allowEditSource; 47 } 48 public boolean isShowImagesToolBox() { 49 return showImagesToolBox; 50 } 51 public void setShowImagesToolBox(boolean showImagesToolBox) { 52 this.showImagesToolBox = showImagesToolBox; 53 } 54 public boolean isShowLinksToolBox() { 55 return showLinksToolBox; 56 } 57 public void setShowLinksToolBox(boolean showLinksToolBox) { 58 this.showLinksToolBox = showLinksToolBox; 59 } 60 public boolean isShowPropertiesToolBox() { 61 return showPropertiesToolBox; 62 } 63 public void setShowPropertiesToolBox(boolean showPropertiesToolBox) { 64 this.showPropertiesToolBox = showPropertiesToolBox; 65 } 66 public boolean isShowTablesToolBox(){ 67 return showTablesToolBox; 68 } 69 public void setShowTablesToolBox(boolean showTablesToolBox){ 70 this.showTablesToolBox = showTablesToolBox; 71 } 72 public boolean isShowCleanupExpressionsToolBox() { 73 return showCleanupExpressionsToolBox; 74 } 75 public void setShowCleanupExpressionsToolBox(boolean showCleanupExpressionsToolBox) { 76 this.showCleanupExpressionsToolBox = showCleanupExpressionsToolBox; 77 } 78 public boolean isShowDebugToolBox(){ 79 return showDebugToolBox; 80 } 81 public void setShowDebugToolBox(boolean showDebugToolBox){ 82 this.showDebugToolBox = showDebugToolBox; 83 } 84 } 85 | Popular Tags |