Class DropdownBooleanEditor
- java.lang.Object
-
- com.hybris.cockpitng.editors.impl.AbstractCockpitEditorRenderer<java.lang.Boolean>
-
- com.hybris.cockpitng.editor.bool.AbstractBooleanEditorRenderer
-
- com.hybris.cockpitng.editor.bool.dropdown.DropdownBooleanEditor
-
- All Implemented Interfaces:
CockpitEditorRenderer<java.lang.Boolean>
public class DropdownBooleanEditor extends AbstractBooleanEditorRenderer
Boolean Editor usingComboboxcomponent.
-
-
Field Summary
-
Fields inherited from class com.hybris.cockpitng.editor.bool.AbstractBooleanEditorRenderer
SHOW_OPTIONAL_FIELD_PARAM
-
Fields inherited from class com.hybris.cockpitng.editors.impl.AbstractCockpitEditorRenderer
HEADER_LABEL_TOOLTIP, ON_ADD_EVENT, ON_DELETE_EVENT, YW_EDITOR_AREA_LABEL_CONTAINER
-
Fields inherited from interface com.hybris.cockpitng.editors.CockpitEditorRenderer
INITIAL_EDIT_STRING
-
-
Constructor Summary
Constructors Constructor Description DropdownBooleanEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrender(org.zkoss.zk.ui.Component parent, EditorContext<java.lang.Boolean> context, EditorListener<java.lang.Boolean> listener)Creates a new editor component and attaches it to the specifiedComponentcomponent.-
Methods inherited from class com.hybris.cockpitng.editor.bool.AbstractBooleanEditorRenderer
getBooleanLabel, getShowOptionalFieldParamValue
-
Methods inherited from class com.hybris.cockpitng.editors.impl.AbstractCockpitEditorRenderer
extractEmbeddedEditor, extractEmbeddedType, findAncestorEditor, findEmbeddedEditors, getInitialEditString, getL10nDecorator
-
-
-
-
Method Detail
-
render
public void render(org.zkoss.zk.ui.Component parent, EditorContext<java.lang.Boolean> context, EditorListener<java.lang.Boolean> listener)Description copied from interface:CockpitEditorRendererCreates a new editor component and attaches it to the specifiedComponentcomponent.- Parameters:
parent- parent component the editor should be attached tocontext- the context for the editor creationlistener- the listener to notify the rest of the world about value changes and other events
-
-