001/* 002 * #%L 003 * GwtMaterial 004 * %% 005 * Copyright (C) 2015 - 2016 GwtMaterialDesign 006 * %% 007 * Licensed under the Apache License, Version 2.0 (the "License"); 008 * you may not use this file except in compliance with the License. 009 * You may obtain a copy of the License at 010 * 011 * http://www.apache.org/licenses/LICENSE-2.0 012 * 013 * Unless required by applicable law or agreed to in writing, software 014 * distributed under the License is distributed on an "AS IS" BASIS, 015 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 016 * See the License for the specific language governing permissions and 017 * limitations under the License. 018 * #L% 019 */ 020package gwt.material.design.client.base.constants; 021 022public enum StyleName { 023 Z_INDEX("zIndex"), 024 WIDTH("width"), 025 VISIBILITY("visibility"), 026 TOP("top"), 027 TEXT_DECORATION("textDecoration"), 028 RIGHT("right"), 029 POSITION("position"), 030 PADDING_TOP("paddingTop"), 031 PADDING_RIGHT("paddingRight"), 032 PADDING_LEFT("paddingLeft"), 033 PADDING_BOTTOM("paddingBottom"), 034 PADDING("padding"), 035 OVERFLOW("overflow"), 036 OVERFLOW_X("overflowX"), 037 OVERFLOW_Y("overflowY"), 038 OPACITY("opacity"), 039 MARGIN_TOP("marginTop"), 040 MARGIN_RIGHT("marginRight"), 041 MARGIN_LEFT("marginLeft"), 042 MARGIN_BOTTOM("marginBottom"), 043 MARGIN("margin"), 044 LIST_STYLE_TYPE("listStyleType"), 045 LEFT("left"), 046 HEIGHT("height"), 047 FONT_WEIGHT("fontWeight"), 048 FONT_STYLE("fontStyle"), 049 FONT_SIZE("fontSize"), 050 DISPLAY("display"), 051 CURSOR("cursor"), 052 COLOR("color"), 053 CLEAR("clear"), 054 BOTTOM("bottom"), 055 BORDER_WIDTH("borderWidth"), 056 BORDER_STYLE("borderStyle"), 057 BORDER_COLOR("borderColor"), 058 BACKGROUND_IMAGE("backgroundImage"), 059 BACKGROUND_COLOR("backgroundColor"), 060 VERTICAL_ALIGN("verticalAlign"), 061 TABLE_LAYOUT("tableLayout"), 062 TEXT_ALIGN("textAlign"), 063 TEXT_INDENT("textIndent"), 064 TEXT_JUSTIFY("textJustify"), 065 TEXT_OVERFLOW("textOverflow"), 066 TEXT_TRANSFORM("textTransform"), 067 OUTLINE_WIDTH("outlineWidth"), 068 OUTLINE_STYLE("outlineStyle"), 069 OUTLINE_COLOR("outlineColor"), 070 LINE_HEIGHT("lineHeight"), 071 WHITE_SPACE("whiteSpace"); 072 073 String styleName; 074 StyleName(String styleName) { 075 this.styleName = styleName; 076 } 077 078 public String styleName() { 079 return styleName; 080 } 081}