/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you 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.apache.myfaces.trinidadinternal.renderkit.core.xhtml;
/**
* This class contains all skin selectors used by the various Trinidad
* components.
*
*/
public final class SkinSelectors
{
public static final String DEFAULT_NAMESPACE = "af";
public static final String ICON_SUFFIX = "-icon";
public static final String STATE_PREFIX = "p_AF";
private SkinSelectors(){}
/* The selectors are sorted by component, alphabetically.
*
* The selectors not linked to any specific components like aliases are
* presented before any component specific selectors.
*
* The selector regarding the style classes are presented first, the
* selectors concerning the icons are presented after.
*/
// //
// //
// =============================== Aliases =============================== //
// //
// //
// ========================== AF Style classes =========================== //
public static final String AF_COMPONENT_MESSAGE_CELL_STYLE_CLASS =
"AFComponentMessageCell";
public static final String AF_CONTENT_CELL_STYLE_CLASS =
"AFContentCell";
public static final String AF_DATA_TEXT_STYLE_CLASS =
"AFDataText";
public static final String AF_FIELD_TEXT_DISABLED_STYLE_CLASS =
"AFFieldTextDisabled";
public static final String AF_FIELD_TEXT_STYLE_CLASS =
"AFFieldText";
public static final String AF_LABEL_TEXT_STYLE_CLASS =
"AFLabelText";
public static final String AF_ACCESSKEY_STYLE_CLASS =
"AFAccessKeyStyle";
public static final String AF_LINKACCESSKEY_STYLE_CLASS =
"AFLinkAccessKeyStyle";
public static final String ERROR_ICON_STYLE_CLASS =
"AFErrorIconStyle";
public static final String INFO_ICON_STYLE_CLASS =
"AFInfoIconStyle";
public static final String WARNING_ICON_STYLE_CLASS =
"AFWarningIconStyle";
public static final String QUICK_SELECT_DISABLED_ICON_STYLE_CLASS =
"AFQuickSelectDisabledIconStyle";
public static final String QUICK_SELECT_ICON_STYLE_CLASS =
"AFQuickSelectIconStyle";
public static final String REQUIRED_ICON_STYLE_CLASS =
"AFRequiredIconStyle";
public static final String SORTABLE_HEADER_SORT_ICON_STYLE_CLASS =
"AFSortableHeaderSortIcon";
// ========================== Ora style classes ========================== //
// These styles are for large record sets, which we do not have in Trinidad
// yet. When we do, should these be customizable styles? If so, the names
// will have to change to be like af|treeTable::nav-row-ilink
public static final String HGRID_LOCATOR_HEADER_STYLE =
"OraHGridLocatorHeader";
public static final String HGRID_NAV_ROW_ALINK_STYLE_CLASS =
"OraHGridNavRowActiveLink";
public static final String HGRID_NAV_ROW_ILINK_STYLE_CLASS =
"OraHGridNavRowInactiveLink";
// used to show the tips on select* fields
public static final String INLINE_ERROR_TEXT_STYLE_CLASS =
"OraInlineErrorText";
public static final String INLINE_INFO_TEXT_STYLE_CLASS =
"OraInlineInfoText";
public static final String LINK_DISABLED_STYLE_CLASS =
"OraLinkDisabled";
public static final String LINK_STYLE_CLASS =
"OraLink";
public static final String LINK_TEXT_STYLE_CLASS =
"OraLinkText";
// FIXME: get rid of these!
public static final String NAV_BAR_ALINK_STYLE_CLASS =
"OraNavBarActiveLink";
public static final String NAV_BAR_ILINK_STYLE_CLASS =
"OraNavBarInactiveLink";
public static final String NAV_BAR_VIEW_STYLE_CLASS =
"OraNavBarViewOnly";
public static final String PAGE_STAMP_TEXT_STYLE_CLASS =
"OraPageStampText";
public static final String TABLE_BAND_SELECT_CELL_STYLE =
"OraTableCellSelectBand";
public static final String TABLE_BORDER_0001_STYLE =
"OraTableBorder0001";
public static final String TABLE_BORDER_0010_STYLE =
"OraTableBorder0010";
public static final String TABLE_BORDER_0011_STYLE =
"OraTableBorder0011";
public static final String TABLE_BORDER_0100_STYLE =
"OraTableBorder0100";
public static final String TABLE_BORDER_0101_STYLE =
"OraTableBorder0101";
public static final String TABLE_BORDER_0110_STYLE =
"OraTableBorder0110";
public static final String TABLE_BORDER_0111_STYLE =
"OraTableBorder0111";
public static final String TABLE_BORDER_1000_STYLE =
"OraTableBorder1000";
public static final String TABLE_BORDER_1001_STYLE =
"OraTableBorder1001";
public static final String TABLE_BORDER_1010_STYLE =
"OraTableBorder1010";
public static final String TABLE_BORDER_1011_STYLE =
"OraTableBorder1011";
public static final String TABLE_BORDER_1100_STYLE =
"OraTableBorder1100";
public static final String TABLE_BORDER_1101_STYLE =
"OraTableBorder1101";
public static final String TABLE_BORDER_1110_STYLE =
"OraTableBorder1110";
public static final String TABLE_BORDER_1111_STYLE =
"OraTableBorder1111";
public static final String TABLE_SELECT_CELL_STYLE =
"OraTableCellSelect";
public static final String TIP_TEXT_STYLE_CLASS =
"OraTipText";
public static final String TIP_LABEL_STYLE_CLASS =
"OraTipLabel";
// ========================= Other private style classes ========================= //
public static final String COLOR_FIELD_SWATCH_STYLE_CLASS =
"p_OraColorFieldSwatch";
public static final String DISABLED_STYLE_CLASS =
"p_OraDisabled";
public static final String HEADER_NEST_STYLE_CLASS =
"p_OraHeaderNest";
public static final String HIDDEN_LABEL_STYLE_CLASS =
"p_OraHiddenLabel";
public static final String HIDE_SHOW_DISCLOSED_SYMBOL_STYLE_CLASS =
"p_OraHideShowDisclosedSymbol";
public static final String IN_CONTEXT_TEXT_STYLE_CLASS =
"p_InContextBrandingText";
public static final String PROCESS_STATUS_STYLE_CLASS =
"p_OraProcessingStatus";
public static final String QUICK_SEARCH_BOX_STYLE_CLASS =
"p_OraQuickSearchBox";
public static final String STATE_DISABLED =
STATE_PREFIX + "Disabled";
public static final String STATE_READ_ONLY =
STATE_PREFIX + "ReadOnly";
public static final String STATE_REQUIRED =
STATE_PREFIX + "Required";
public static final String P_AF_DISABLED =
STATE_DISABLED;
// ================================ Icons ================================ //
public static final String BUSY_ICON_ALIAS_NAME =
"AFBusyIcon";
public static final String DETAIL_DISCLOSED_ICON_ALIAS_NAME =
"AFDetailDisclosedIcon";
public static final String DETAIL_UNDISCLOSED_ICON_ALIAS_NAME =
"AFDetailUndisclosedIcon";
public static final String ERROR_ANCHOR_ICON_ALIAS_NAME =
"AFErrorAnchorIcon";
public static final String ERROR_ICON_ALIAS_NAME =
"AFErrorIcon";
public static final String HEADER_ERROR_ICON_ALIAS_NAME =
"AFHeaderErrorIcon";
public static final String HEADER_CONFIRMATION_ICON_ALIAS_NAME =
"AFHeaderConfirmationIcon";
public static final St