Package org.linkki.core.ui.aspects
Class SuffixAspectDefinition
- java.lang.Object
-
- org.linkki.core.binding.descriptor.aspect.base.ModelToUiAspectDefinition<String>
-
- org.linkki.core.ui.aspects.SuffixAspectDefinition
-
- All Implemented Interfaces:
LinkkiAspectDefinition
public class SuffixAspectDefinition extends ModelToUiAspectDefinition<String>
Aspect definition to add a String as a suffix to a Component which implementsHasPrefixAndSuffix
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAME-
Fields inherited from interface org.linkki.core.binding.descriptor.aspect.LinkkiAspectDefinition
DERIVED_BY_LINKKI, VALUE_ASPECT_NAME
-
-
Constructor Summary
Constructors Constructor Description SuffixAspectDefinition(String value, SuffixType suffixType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Aspect<String>createAspect()Consumer<String>createComponentValueSetter(ComponentWrapper componentWrapper)-
Methods inherited from class org.linkki.core.binding.descriptor.aspect.base.ModelToUiAspectDefinition
createUiUpdater, handleUiUpdateException
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.linkki.core.binding.descriptor.aspect.LinkkiAspectDefinition
initModelUpdate, supports
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SuffixAspectDefinition
public SuffixAspectDefinition(String value, SuffixType suffixType)
-
-
Method Detail
-
createAspect
public Aspect<String> createAspect()
- Specified by:
createAspectin classModelToUiAspectDefinition<String>
-
createComponentValueSetter
public Consumer<String> createComponentValueSetter(ComponentWrapper componentWrapper)
- Specified by:
createComponentValueSetterin classModelToUiAspectDefinition<String>- Implementation Note:
- This implementation sets
Textnested in aDivas a suffix to a Component which implements fromHasPrefixAndSuffixinterface
-
-