public class ComponentConfig extends Object
Modifier and Type | Field and Description |
---|---|
static ComponentConfig |
EMPTY_INSTANCE |
protected static Logger |
logger
create a static logger.
|
Modifier and Type | Method and Description |
---|---|
int |
getComplexity(int defaultComplexity) |
String |
getDefaultRenderer() |
String |
getDefaultStyle() |
static ComponentConfig |
getInstance() |
static ComponentConfig |
getInstance(ContentContext ctx,
String type) |
String |
getProperty(String key,
String defaultValue) |
String |
getRAWConfig(ContentContext ctx,
Template currentTemplate,
String type) |
Map<String,String> |
getRenderes() |
String[] |
getStyleLabelList() |
String[] |
getStyleList() |
String |
getStyleTitle() |
boolean |
isChooseBackgoundColor() |
boolean |
isChooseTextColor() |
boolean |
isClickable() |
boolean |
isConfigFound() |
boolean |
isDataFeedBack() |
boolean |
isFontStyle() |
boolean |
isPreviewEditable() |
boolean |
needJS() |
public static final ComponentConfig EMPTY_INSTANCE
protected static Logger logger
public static ComponentConfig getInstance()
public static ComponentConfig getInstance(ContentContext ctx, String type)
public String getRAWConfig(ContentContext ctx, Template currentTemplate, String type) throws IOException
IOException
public String getDefaultRenderer()
public String[] getStyleLabelList()
public String getDefaultStyle()
public String[] getStyleList()
public String getStyleTitle()
public int getComplexity(int defaultComplexity)
public boolean isClickable()
public boolean isConfigFound()
public boolean needJS()
public boolean isChooseBackgoundColor()
public boolean isChooseTextColor()
public boolean isFontStyle()
public boolean isPreviewEditable()
public boolean isDataFeedBack()
Copyright © 2012-2018. All Rights Reserved.