Coverage Report - org.apache.myfaces.shared_impl.component.DisplayValueOnlyCapable
 
Classes in this File Line Coverage Branch Coverage Complexity
DisplayValueOnlyCapable
N/A
N/A
1
 
 1  
 /*
 2  
  *  Licensed to the Apache Software Foundation (ASF) under one
 3  
  *  or more contributor license agreements.  See the NOTICE file
 4  
  *  distributed with this work for additional information
 5  
  *  regarding copyright ownership.  The ASF licenses this file
 6  
  *  to you under the Apache License, Version 2.0 (the
 7  
  *  "License"); you may not use this file except in compliance
 8  
  *  with the License.  You may obtain a copy of the License at
 9  
  * 
 10  
  *  http://www.apache.org/licenses/LICENSE-2.0
 11  
  * 
 12  
  *  Unless required by applicable law or agreed to in writing,
 13  
  *  software distributed under the License is distributed on an
 14  
  *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 15  
  *  KIND, either express or implied.  See the License for the
 16  
  *  specific language governing permissions and limitations
 17  
  *  under the License.
 18  
  */
 19  
 package org.apache.myfaces.shared_impl.component;
 20  
 
 21  
 /**
 22  
  * Behavioral interface.
 23  
  * By default, displayValueOnly is false, and the components have the default behaviour.
 24  
  * When displayValueOnly is true, the renderer should not render any input widget.
 25  
  * Only the text corresponding to the component's value should be rendered instead.
 26  
  * 
 27  
  * @author Sylvain Vieujot (latest modification by $Author: svieujot $)
 28  
  * @author Martin Marinschek
 29  
  *
 30  
  * @version $Revision: 169739 $ $Date: 2005-05-12 02:45:14 +0200 (Thu, 12 May 2005) $
 31  
  */
 32  
 public interface DisplayValueOnlyCapable
 33  
 {
 34  
     String DISPLAY_VALUE_ONLY_ATTR = "displayValueOnly";
 35  
     String DISPLAY_VALUE_ONLY_STYLE_ATTR = "displayValueOnlyStyle";
 36  
     String DISPLAY_VALUE_ONLY_STYLE_CLASS_ATTR = "displayValueOnlyStyleClass";
 37  
     
 38  
     boolean isSetDisplayValueOnly();
 39  
     boolean isDisplayValueOnly();
 40  
     void setDisplayValueOnly(boolean displayValueOnly);
 41  
 
 42  
     String getDisplayValueOnlyStyle();
 43  
     void setDisplayValueOnlyStyle(String style);
 44  
     
 45  
     String getDisplayValueOnlyStyleClass();
 46  
     void setDisplayValueOnlyStyleClass(String styleClass);
 47  
 }