@ApplicationScoped public class LayoutEditorCssHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CSS_CATEGORY_MARGIN |
static String |
CSS_CATEGORY_PADDING |
static String |
CSS_CATEGORY_PANEL |
static String |
CSS_CATEGORY_TEXT |
Constructor and Description |
---|
LayoutEditorCssHelper() |
public static final String CSS_CATEGORY_PANEL
public static final String CSS_CATEGORY_TEXT
public static final String CSS_CATEGORY_MARGIN
public static final String CSS_CATEGORY_PADDING
public String formatCssAllowedValue(CssProperty cssProperty)
public String getHelpText(CssProperty cssProperty)
public List<PropertyFieldValidator> getValidators(CssProperty property)
public PropertyEditorType resolveFieldType(CssProperty cssProperty)
public PropertyEditorCategory createCategory(String categoryCode)
public PropertyEditorFieldInfo createField(LayoutElementWithProperties element, CssProperty property)
public PropertyEditorFieldInfo createField(Map<String,String> propertyMap, CssProperty property)
public PropertyEditorFieldInfo createPropertyField(CssProperty property, String value)
public String formatCssAllowedValue(CssProperty property, CssAllowedValue value)
public CssAllowedValue parseCssAllowedValue(String property, String value)
public CssAllowedValue parseCssAllowedValue(CssProperty property, String value)
public List<PropertyEditorCategory> getContainerPropertyCategories(Container container)
public List<PropertyEditorCategory> getRowPropertyCategories(Row row)
public List<PropertyEditorCategory> getComponentPropertyCategories(LayoutComponent layoutComponent)
public List<PropertyEditorCategory> allCategories(Map<String,String> propertyMap)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.