Coverage Report - org.apache.myfaces.shared.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.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  
 public interface DisplayValueOnlyCapable
 28  
 {
 29  
     String DISPLAY_VALUE_ONLY_ATTR = "displayValueOnly";
 30  
     String DISPLAY_VALUE_ONLY_STYLE_ATTR = "displayValueOnlyStyle";
 31  
     String DISPLAY_VALUE_ONLY_STYLE_CLASS_ATTR = "displayValueOnlyStyleClass";
 32  
     
 33  
     boolean isSetDisplayValueOnly();
 34  
     boolean isDisplayValueOnly();
 35  
     void setDisplayValueOnly(boolean displayValueOnly);
 36  
 
 37  
     String getDisplayValueOnlyStyle();
 38  
     void setDisplayValueOnlyStyle(String style);
 39  
     
 40  
     String getDisplayValueOnlyStyleClass();
 41  
     void setDisplayValueOnlyStyleClass(String styleClass);
 42  
 }