com.jk.faces.components.layouts.UIStart Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jk-faces Show documentation
Show all versions of jk-faces Show documentation
No suffering from JSF new projects any more , create new JSF project with zero-configurations..
The newest version!
/*
* Copyright 2002-2016 Jalal Kiswani.
*
* Licensed 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 com.jk.faces.components.layouts;
import javax.faces.component.FacesComponent;
import com.jk.annotations.Author;
/**
* UIStart is a UIRegion that manages the layout of its child components
* with a stretched height and respected width.
*
*
* @author Jalal H. Kiswani
* @version 1.0
* @see UIAbstractRegion
*/
@Author(name = "Jalal Kiswani", date = "26/8/2014", version = "1.0")
@FacesComponent("jk.layout.start")
public class UIStart extends UIAbstractRegion {
/**
* Returns true.
*
* @return respectWidth
*/
@Override
public boolean isRespectWidth() {
return true;
}
/**
* Returns true, in other words the region height is 100%.
*
* @return stretchHeight
*/
@Override
public boolean isStretchHeight() {
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy