V
- value typepublic interface SingleFilterComponent<V> extends FilterComponent, Component.BelongToFrame, HasValue<V>, Component.HasCaption, Component.HasIcon, Component.Focusable, Component.Editable, HasHtmlCaption, HasHtmlDescription, HasHtmlSanitizer, SupportsCaptionPosition, Requirable, Validatable, HasContextHelp
DataLoader
.PropertyFilter
,
JpqlFilter
,
LogicalFilterComponent
HasValue.ValueChangeEvent<V>
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.Wrapper
SupportsCaptionPosition.CaptionPosition
HasContextHelp.ContextHelpIconClickEvent
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE
Modifier and Type | Method and Description |
---|---|
float |
getCaptionWidth() |
SizeUnit |
getCaptionWidthSizeUnit() |
java.lang.String |
getParameterName() |
HasValue<V> |
getValueComponent() |
boolean |
isCaptionVisible() |
void |
setCaptionVisible(boolean captionVisible)
Sets caption visibility.
|
void |
setCaptionWidth(java.lang.String captionWidth)
Sets the caption width.
|
void |
setParameterName(java.lang.String parameterName)
Sets the name of the associated query parameter name.
|
void |
setValueComponent(HasValue<V> valueComponent)
Sets the field for editing a property value.
|
apply, getDataLoader, getQueryCondition, isAutoApply, isConditionModificationDelegated, setAutoApply, setConditionModificationDelegated, setDataLoader
getFrame, setFrame
addValueChangeListener, clear, getEmptyValue, getValue, isEmpty, setValue
getIcon, setIcon, setIconFromSet
focus, getTabIndex, isFocusable, setFocusable, setTabIndex
isEditable, isEditableWithParent, setEditable
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
isCaptionAsHtml, setCaptionAsHtml
getCaption, setCaption
getDescription, setDescription
isDescriptionAsHtml, setDescriptionAsHtml
isHtmlSanitizerEnabled, setHtmlSanitizerEnabled
getCaptionPosition, setCaptionPosition
getRequiredMessage, isRequired, setRequired, setRequiredMessage
isValid, isValidateOnCommit, validate
getContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled
java.lang.String getParameterName()
@StudioProperty(type=STRING) void setParameterName(java.lang.String parameterName)
parameterName
- a name of the associated query parameter namevoid setValueComponent(HasValue<V> valueComponent)
valueComponent
- a field for editing a property valuefloat getCaptionWidth()
Component.getWidthSizeUnit()
SizeUnit getCaptionWidthSizeUnit()
@StudioProperty(type=SIZE, defaultValue="100%") void setCaptionWidth(java.lang.String captionWidth)
captionWidth
- a string width representationboolean isCaptionVisible()
true
if caption is visible@StudioProperty(type=BOOLEAN, defaultValue="true") void setCaptionVisible(boolean captionVisible)
true
.captionVisible
- whether to show caption or not