org.icefaces.ace.component.column.ColumnMeta Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of icefaces-ace Show documentation
Show all versions of icefaces-ace Show documentation
The advanced component library for ICEfaces.
/*
* Copyright 2004-2012 ICEsoft Technologies Canada Corp.
*
* 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 org.icefaces.ace.component.column;
import org.icefaces.ace.meta.annotation.Component;
import org.icefaces.ace.meta.annotation.DefaultValueType;
import org.icefaces.ace.meta.annotation.Expression;
import org.icefaces.ace.meta.annotation.Property;
import org.icefaces.ace.meta.baseMeta.UIColumnMeta;
import javax.faces.application.ResourceDependencies;
import java.util.Comparator;
@Component(
tagName = "column",
componentClass = "org.icefaces.ace.component.column.Column",
generatedClass = "org.icefaces.ace.component.column.ColumnBase",
extendsClass = "javax.faces.component.UIColumn",
componentType = "org.icefaces.ace.component.Column",
rendererType = "",
componentFamily = "org.icefaces.ace.component",
tlddoc = "Component that represents a column in an ace:dataTable.
" +
"For more information, see the Column Wiki Documentation.
")
@ResourceDependencies({
})
public class ColumnMeta extends UIColumnMeta {
@Property(tlddoc = "Custom inline CSS styles to use for this component. These styles are generally applied to the root DOM element of the component. This is intended for per-component basic style customizations. Note that due to browser CSS precedence rules, CSS rendered on a DOM element will take precedence over the external stylesheets used to provide the ThemeRoller theme on this component. If the CSS properties applied with this attribute do not affect the DOM element you want to style, you may need to create a custom theme styleClass for the theme CSS class that targets the particular DOM elements you wish to customize.")
private String style;
@Property(tlddoc = "Custom CSS style class(es) to use for this component. These style classes can be defined in your page or in a theme CSS file.")
private String styleClass;
// @Property(expression = Expression.VALUE_EXPRESSION,
// tlddoc = "Defines a value expression representing the value of the column per row, " +
// "optionally superseded by the more specific value definitions like sortBy, filterBy etc.")
// private Object `value;
@Property(expression = Expression.VALUE_EXPRESSION,
tlddoc="Defines a value expression representing the value of this column per row when determining " +
"if the values of this column in sibling rows are equal. If they are equal, span the rows with" +
"a single column cell.")
private Object groupBy;
@Property(expression = Expression.VALUE_EXPRESSION,
tlddoc="Defines a value expression representing the value of this column per row when using " +
"cell selection. Defining this attribute, or the \"value\" attribute, enables cell " +
"selection for this column when also enabled at the table level.")
private Object selectBy;
@Property(expression = Expression.VALUE_EXPRESSION,
tlddoc="Defines a value expression representing the value of this column per row when sorting. " +
"Setting this attribute, or the \"value\" attribute for a column enables sorting.")
private Object sortBy;
@Property(expression = Expression.VALUE_EXPRESSION,
tlddoc="Defines an alternate method of sorting. Sort this column using a " +
"Comparator
© 2015 - 2025 Weber Informatics LLC | Privacy Policy