to.etc.domui.component.meta
Annotation Type MetaComboProperty


@Retention(value=RUNTIME)
public @interface MetaComboProperty

Defines a display property for a combo control, to use in the MetaCombo annotation. It is functionally equivalent to MetaDisplayProperty but has less parameters.

Author:
Frits Jalvingh Created on Dec 20, 2010

Required Element Summary
 java.lang.String name
          The name of the property to show.
 
Optional Element Summary
 java.lang.Class<? extends IConverter<?>> converterClass
          The converter to use to convert this property's value to a string.
 java.lang.String join
          When set, this separator will be added between this property and the next one in the combo's property list, provided there is a next property value.
 

Element Detail

name

public abstract java.lang.String name
The name of the property to show. You can also specify a dotted path to some parent entity's property here. This will be replaced with a Property reference once the JDK 7 team gets off it's ass and starts to bloody define something useful 8-(

Returns:

converterClass

public abstract java.lang.Class<? extends IConverter<?>> converterClass
The converter to use to convert this property's value to a string. Defaults to the actual property's converter when unset.

Returns:
Default:
to.etc.domui.converter.DummyConverter.class

join

public abstract java.lang.String join
When set, this separator will be added between this property and the next one in the combo's property list, provided there is a next property value. It defaults to a single space.

Returns:
Default:
"$*$"