@Override public boolean isRequired() { return getDelegate().isRequired(); }
@Override public boolean unregister(HintsFacet facet) { return unregister(facet); }
/** * @return the delegate bound to this decorator. Never a <code>null</code> reference. * @throws IllegalArgumentException if the delegate returned by {@link #createDelegate()} is <code>null</code> or the * same reference as this decorator class */ protected final UISelectOne<VALUETYPE> getDelegate() { if (delegate == null) { delegate = createDelegate(); Assert.notNull(delegate, "Delegate cannot be null"); Assert.isTrue(delegate != this, "Decorator cannot delegate to itself"); } return delegate; }
@Override public Converter<String, VALUETYPE> getValueConverter() { return getDelegate().getValueConverter(); }
@Override public void validate(UIValidationContext context) { getDelegate().validate(context); }
@Override public UISelectOne<VALUETYPE> setNote(Callable<String> note) { getDelegate().setNote(note); return this; }
@Override public boolean hasFacet(Class<? extends HintsFacet> type) { return getDelegate().hasFacet(type); }
@Override public Converter<VALUETYPE, String> getItemLabelConverter() { return getDelegate().getItemLabelConverter(); }
@Override public UISelectOne<VALUETYPE> setItemLabelConverter(Converter<VALUETYPE, String> converter) { getDelegate().setItemLabelConverter(converter); return this; }
@Override public boolean isDeprecated() { return getDelegate().isDeprecated(); }
@Override public boolean hasValue() { return getDelegate().hasValue(); }
@Override public boolean isEnabled() { return getDelegate().isEnabled(); }
@Override public Set<UIValidator> getValidators() { return getDelegate().getValidators(); }
@Override public ListenerRegistration<ValueChangeListener> addValueChangeListener(ValueChangeListener listener) { return getDelegate().addValueChangeListener(listener); }
@Override public UISelectOne<VALUETYPE> setNote(String note) { getDelegate().setNote(note); return this; }
@Override public String getNote() { return getDelegate().getNote(); }
@Override public UISelectOne<VALUETYPE> setValue(VALUETYPE value) { getDelegate().setValue(value); return this; }
@Override public Iterable<VALUETYPE> getValueChoices() { return getDelegate().getValueChoices(); }
@Override public UISelectOne<VALUETYPE> setDeprecated(boolean deprecated) { getDelegate().setDeprecated(deprecated); return this; }
@Override public String getName() { return getDelegate().getName(); }