    001// Copyright 2008-2013 The Apache Software Foundation
    002//
    003// Licensed under the Apache License, Version 2.0 (the "License");
    004// you may not use this file except in compliance with the License.
    005// You may obtain a copy of the License at
    006//
    007// http://www.apache.org/licenses/LICENSE-2.0
    008//
    009// Unless required by applicable law or agreed to in writing, software
    010// distributed under the License is distributed on an "AS IS" BASIS,
    011// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    012// See the License for the specific language governing permissions and
    013// limitations under the License.
    014
    015package org.apache.tapestry5;
    016
    017/**
    018 * Constants used when rendering a CSS class attribute.
    019 *
    020 * @deprecated Deprecated in 5.4 with no replacement.
    021 */
    022public class CSSClassConstants
    023{
    024    /**
    025     * CSS class name that causes a rendered element to be invisible on the client side.
    026     *
    027     * @deprecated Removed in Tapestry 5.4 with no replacement.
    028     */
    029    public static final String INVISIBLE = "t-invisible";
    030
    031    /**
    032     * All purpose CSS class name for anything related to Tapestry errors.
    033     *
    034     * @deprecated Deprecated in 5.4 with no replacement; decoration of fields with validation errors
    035     *             has moved to the client.
    036     */
    037    public static final String ERROR = "error";
    038
    039    /**
    040     * CSS class name for individual validation errors.
    041     *
    042     * @since 5.2.0
    043     * @deprecated Deprecated in 5.4 with no replacement; decoration of fields with validation errors
    044     *             has moved to the client.
    045     */
    046    public static final String ERROR_SINGLE = "t-error-single";
    047}