@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface DynamicPropertyEvaluator
InplaceEditorCSSConstants.PROPERTY_WIDTH
can depend on the font
size used by the form control (10em). This means that the value of the property
can be evaluated only after the form control initializes itself.
This evaluator offers methods that can expand such dynamic properties.Modifier and Type | Method and Description |
---|---|
int |
evaluateWidthProperty(java.util.Map<java.lang.String,java.lang.Object> arguments,
int fontSize)
Evaluates
InplaceEditorCSSConstants.PROPERTY_WIDTH to a value. |
int evaluateWidthProperty(java.util.Map<java.lang.String,java.lang.Object> arguments, int fontSize)
InplaceEditorCSSConstants.PROPERTY_WIDTH
to a value. The value of this
property might depend on the font size so the form control must explicitly
call this method with the font it uses.
elem { content: oxy_textfield(edit, '#text', width, 12em) }
arguments
- Form control arguments. Used to get the value of InplaceEditorCSSConstants.PROPERTY_WIDTH
.fontSize
- The font size to be used for values that depend on the font, like 20em.© Copyright SyncRO Soft SRL 2002 - 2015. All rights reserved.