/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.myfaces.examples.inputhtmlexample; /** * @author Sylvain Vieujot (latest modification by $Author: skitching $) * @version $Revision: 673833 $ $Date: 2008-07-03 23:58:05 +0200 (Thu, 03 Jul 2008) $ */ public class EditorFace { private String text = "Default unformatted text."; // Options private boolean allowEditSource = true; private boolean showPropertiesToolBox = false; private boolean showLinksToolBox = false; private boolean showImagesToolBox = false; private boolean showTablesToolBox = false; private boolean showCleanupExpressionsToolBox = false; private boolean showDebugToolBox = false; public String getText() { return text; } public void setText(String text) { this.text = text; } public boolean isAllowEditSource() { return allowEditSource; } public void setAllowEditSource(boolean allowEditSource) { this.allowEditSource = allowEditSource; } public boolean isShowImagesToolBox() { return showImagesToolBox; } public void setShowImagesToolBox(boolean showImagesToolBox) { this.showImagesToolBox = showImagesToolBox; } public boolean isShowLinksToolBox() { return showLinksToolBox; } public void setShowLinksToolBox(boolean showLinksToolBox) { this.showLinksToolBox = showLinksToolBox; } public boolean isShowPropertiesToolBox() { return showPropertiesToolBox; } public void setShowPropertiesToolBox(boolean showPropertiesToolBox) { this.showPropertiesToolBox = showPropertiesToolBox; } public boolean isShowTablesToolBox(){ return showTablesToolBox; } public void setShowTablesToolBox(boolean showTablesToolBox){ this.showTablesToolBox = showTablesToolBox; } public boolean isShowCleanupExpressionsToolBox() { return showCleanupExpressionsToolBox; } public void setShowCleanupExpressionsToolBox(boolean showCleanupExpressionsToolBox) { this.showCleanupExpressionsToolBox = showCleanupExpressionsToolBox; } public boolean isShowDebugToolBox(){ return showDebugToolBox; } public void setShowDebugToolBox(boolean showDebugToolBox){ this.showDebugToolBox = showDebugToolBox; } }