/* * This file is part of muCommander, http://www.mucommander.com * Copyright (C) 2002-2016 Maxence Bernard * * muCommander is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * muCommander is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package com.mucommander.ui.theme; /** * Defines the format of the XML theme files. * @author Nicolas Rinaudo */ interface ThemeXmlConstants { // - Main elements ------------------------------------------------------------------- // ----------------------------------------------------------------------------------- /** XML theme file root element. */ public static final String ELEMENT_ROOT = "theme"; /** File table description element. */ public static final String ELEMENT_TABLE = "file_table"; /** Shell description element. */ public static final String ELEMENT_SHELL = "shell"; /** File editor description element. */ public static final String ELEMENT_EDITOR = "editor"; /** Location bar description element. */ public static final String ELEMENT_LOCATION_BAR = "location_bar"; /** Shell history description element. */ public static final String ELEMENT_SHELL_HISTORY = "shell_history"; /** Volume label description element. */ public static final String ELEMENT_STATUS_BAR = "status_bar"; /** Quick list label description element. */ public static final String ELEMENT_QUICK_LIST = "quick_list"; // - Status element ------------------------------------------------------------------ // ----------------------------------------------------------------------------------- /** Item normal state description element. */ public static final String ELEMENT_NORMAL = "normal"; /** Item selected state description element. */ public static final String ELEMENT_SELECTED = "selected"; /** Item alternate state description element. */ public static final String ELEMENT_ALTERNATE = "alternate"; /** Item unmatched state description element. */ public static final String ELEMENT_UNMATCHED = "unmatched"; // - Quick list element ------------------------------------------------------------------ // ----------------------------------------------------------------------------------- /** Quick list header state description element. */ public static final String ELEMENT_HEADER = "header"; /** Quick list item state description element. */ public static final String ELEMENT_ITEM = "item"; // - Font element -------------------------------------------------------------------- // ----------------------------------------------------------------------------------- /** Font description element. */ public static final String ELEMENT_FONT = "font"; /** Font family attribute. */ public static final String ATTRIBUTE_FAMILY = "family"; /** Font size attribute. */ public static final String ATTRIBUTE_SIZE = "size"; /** Font bold attribute. */ public static final String ATTRIBUTE_BOLD = "bold"; /** Font italic attribute. */ public static final String ATTRIBUTE_ITALIC = "italic"; /** <i>true</i> value. */ public static final String VALUE_TRUE = "true"; /** <i>false</i> value. */ public static final String VALUE_FALSE = "false"; // - Color elements ------------------------------------------------------------------ // ----------------------------------------------------------------------------------- public static final String ELEMENT_INACTIVE_BACKGROUND = "inactive_background"; public static final String ELEMENT_INACTIVE_SECONDARY_BACKGROUND = "inactive_secondary_background"; public static final String ELEMENT_INACTIVE_FOREGROUND = "inactive_foreground"; public static final String ELEMENT_BACKGROUND = "background"; public static final String ELEMENT_SECONDARY_BACKGROUND = "secondary_background"; public static final String ELEMENT_FOREGROUND = "foreground"; public static final String ELEMENT_HIDDEN = "hidden"; public static final String ELEMENT_FOLDER = "folder"; public static final String ELEMENT_ARCHIVE = "archive"; public static final String ELEMENT_SYMLINK = "symlink"; public static final String ELEMENT_MARKED = "marked"; public static final String ELEMENT_FILE = "file"; public static final String ELEMENT_PROGRESS = "progress"; public static final String ELEMENT_BORDER = "border"; public static final String ELEMENT_INACTIVE_BORDER = "inactive_border"; public static final String ELEMENT_OUTLINE = "outline"; public static final String ELEMENT_INACTIVE_OUTLINE = "inactive_outline"; public static final String ELEMENT_OK = "ok"; public static final String ELEMENT_WARNING = "warning"; public static final String ELEMENT_CRITICAL = "critical"; public static final String ATTRIBUTE_COLOR = "color"; public static final String ATTRIBUTE_ALPHA = "alpha"; }