public class BeanConfigurator<T> extends Object implements Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
BeanConfigurator(de.tsl2.nano.bean.def.BeanDefinition<T> def)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionAddAction(String specifiedAction) |
void |
actionAddAttribute(String attributeType,
String attributeExpression) |
void |
actionCreateCompositor(String baseType,
String baseAttribute,
String targetAttribute,
String iconAttribute) |
void |
actionCreateController(String baseType,
String baseAttribute,
String targetType,
String targetAttribute,
String iconAttribute,
String increaseAttribute,
int increaseCount,
int increaseStep) |
void |
actionCreateRuleOrAction(String newActionName,
String actionType,
String actionExpression) |
void |
actionCreateSheet(String title,
int cols,
int rows) |
Object |
actionReset() |
Object |
actionSave()
saves the current bean configuration.
|
void |
addAttribute(String attributeType,
String attributeExpression) |
static <I extends Serializable> |
create(Class<I> type)
factory method to create a bean configurator for the given instance type.
|
void |
createCompositor(String baseType,
String baseAttribute,
String targetAttribute,
String iconAttribute) |
<C extends Compositor> |
createCompositorBean(Class<C> compositorExtension,
String compositorIcon,
String baseType,
String baseAttribute,
String targetType,
String targetAttribute,
String iconAttribute)
createCompositorBean
|
Controller |
createControllerBean(String baseType,
String baseAttribute,
String targetType,
String targetAttribute,
String iconAttribute,
String increaseAttribute,
int increaseCount,
int increaseStep,
boolean showText,
boolean transparent,
boolean creationOnly) |
static void |
defineAction(Serializable layout)
defineAction
|
boolean |
equals(Object obj) |
List<AttributeConfigurator> |
getAttributes() |
String |
getName() |
de.tsl2.nano.bean.def.Presentable |
getPresentable() |
String |
getValueExpression() |
Collection<de.tsl2.nano.bean.def.ValueGroup> |
getValueGroups() |
int |
hashCode() |
void |
setAttributes(List<AttributeConfigurator> attributes) |
void |
setPresentable(de.tsl2.nano.bean.def.Presentable presentable) |
void |
setValueExpression(String valueExpression) |
void |
setValueGroups(Collection<de.tsl2.nano.bean.def.ValueGroup> valueGroups) |
String |
toString() |
protected BeanConfigurator(de.tsl2.nano.bean.def.BeanDefinition<T> def)
def - bean-defpublic static <I extends Serializable> de.tsl2.nano.bean.def.Bean<BeanConfigurator<I>> create(Class<I> type)
instance - to evaluate the type and BeanDefinition for.public static void defineAction(Serializable layout)
layout - public List<AttributeConfigurator> getAttributes()
public void setAttributes(List<AttributeConfigurator> attributes)
attributes - The attributeDefinitions to set.public de.tsl2.nano.bean.def.Presentable getPresentable()
public void setPresentable(de.tsl2.nano.bean.def.Presentable presentable)
presentable - The presentable to set.public Collection<de.tsl2.nano.bean.def.ValueGroup> getValueGroups()
public void setValueGroups(Collection<de.tsl2.nano.bean.def.ValueGroup> valueGroups)
valueGroups - The presentable to set.public String getName()
public String getValueExpression()
public void setValueExpression(String valueExpression)
valueExpression - The valueExpression to set.public Object actionSave()
public Object actionReset()
public void actionCreateRuleOrAction(String newActionName, String actionType, String actionExpression)
public void actionAddAction(String specifiedAction)
public void actionCreateCompositor(String baseType, String baseAttribute, String targetAttribute, String iconAttribute)
public void createCompositor(String baseType, String baseAttribute, String targetAttribute, String iconAttribute)
public void actionCreateController(String baseType, String baseAttribute, String targetType, String targetAttribute, String iconAttribute, String increaseAttribute, int increaseCount, int increaseStep)
public Controller createControllerBean(String baseType, String baseAttribute, String targetType, String targetAttribute, String iconAttribute, String increaseAttribute, int increaseCount, int increaseStep, boolean showText, boolean transparent, boolean creationOnly)
public <C extends Compositor> C createCompositorBean(Class<C> compositorExtension, String compositorIcon, String baseType, String baseAttribute, String targetType, String targetAttribute, String iconAttribute)
baseType - baseAttribute - targetAttribute - iconAttribute - public void actionCreateSheet(String title, int cols, int rows)
Copyright © 2012–2020. All rights reserved.