| Constructor and Description |
|---|
EditorBuilder(EditorContext<?> editorContext)
Creates new builder basing on provided editor's context.
|
| Modifier and Type | Method and Description |
|---|---|
static List<ListColumn> |
EditorConfigurationUtil.getColumns(EditorContext context,
WidgetInstanceManager widgetInstanceManager,
String typeCode) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
TypeSelectorTreeItemRenderer.getEllipsisLength(EditorContext context) |
| Constructor and Description |
|---|
TypeSelectorTreeItemRenderer(LabelService labelService,
EditorContext<?> context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Editor.buildEditor(CockpitEditorRenderer<Object> editorRenderer,
EditorDefinition editorDefinition,
EditorContext<Object> editorContext) |
protected EditorListener<Object> |
Editor.createEditorListener(EditorContext<Object> ctx) |
protected void |
Editor.renderEditor(CockpitEditorRenderer<Object> editorRenderer,
EditorDefinition editorDefinition,
EditorContext<Object> editorContext) |
| Constructor and Description |
|---|
Editor(EditorContext<?> editorContext) |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
EditorValidation.init(ValidatableContainer validatableContainer,
Editor editor,
EditorContext<T> editorContext) |
<T> void |
DefaultEditorValidation.init(ValidatableContainer validatableContainer,
Editor editor,
EditorContext<T> editorContext) |
protected <T> void |
DefaultEditorValidation.processValidationResult(EditorContext<T> editorContext) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
AbstractBooleanEditorRenderer.getBooleanLabel(EditorContext<Boolean> context,
Boolean bool)
Returns a string (label) representation of the given boolean value.
|
protected Boolean |
AbstractBooleanEditorRenderer.getShowOptionalFieldParamValue(EditorContext<Boolean> context)
Returns value of AbstractBooleanEditorRenderer.SHOW_OPTIONAL_FIELD_PARAM configuration parameter.
|
void |
DefaultBooleanEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext<Boolean> context,
EditorListener<Boolean> listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
CheckboxBooleanEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext<Boolean> context,
EditorListener<Boolean> listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
DropdownBooleanEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext<Boolean> context,
EditorListener<Boolean> listener) |
| Modifier and Type | Method and Description |
|---|---|
EditorContext<K> |
AbstractReferenceEditor.getEditorContext() |
| Modifier and Type | Method and Description |
|---|---|
ReferenceEditorLayout<T> |
AbstractReferenceEditor.createReferenceLayout(EditorContext context) |
protected org.zkoss.zul.TreeitemRenderer |
ReferenceEditorLayout.createTypeSelectorItemRenderer(EditorContext context) |
org.zkoss.zul.TreeitemRenderer |
ReferenceEditorListItemRendererFactory.createTypeSelectorItemRenderer(EditorContext context) |
void |
AbstractReferenceEditor.setEditorContext(EditorContext<K> editorContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractDecimalEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext<T> context,
EditorListener<T> listener) |
protected void |
AbstractDecimalEditor.validateRange(org.zkoss.zk.ui.Component component,
EditorContext<T> context,
T object) |
| Modifier and Type | Method and Description |
|---|---|
protected EditorContext<Object> |
AbstractEditorRendererWrapper.prepareNestedContext(EditorContext<Object> context,
String editorType,
String valueType) |
| Modifier and Type | Method and Description |
|---|---|
protected Editor |
AbstractEditorRendererWrapper.createEditor(EditorContext<Object> context,
EditorListener<Object> listener,
String valueType,
String editorType) |
protected List<String> |
AbstractEditorRendererWrapper.extractDefinitions(EditorContext<Object> context) |
protected String |
AbstractEditorRendererWrapper.getEditorTypeFromContext(EditorContext<Object> context,
int index) |
protected EditorContext<Object> |
AbstractEditorRendererWrapper.prepareNestedContext(EditorContext<Object> context,
String editorType,
String valueType) |
void |
DecoratedEditorRenderer.render(org.zkoss.zk.ui.Component parent,
EditorContext<Object> context,
EditorListener<Object> listener) |
protected void |
DecoratedEditorRenderer.renderDecorator(org.zkoss.zul.Vlayout parent,
EditorContext<Object> context,
EditorListener<Object> listener,
String decorator) |
protected Map<Integer,org.zkoss.zk.ui.Component> |
DecoratedEditorRenderer.renderDecorators(org.zkoss.zul.Vlayout container,
List<String> definitions,
EditorContext<Object> context,
EditorListener<Object> listener)
Renders decorators found in the definitions list.
|
protected void |
DecoratedEditorRenderer.renderEmbeddedEditor(org.zkoss.zul.Vlayout parent,
EditorContext<Object> context,
EditorListener<Object> listener,
String editor) |
protected Map<Integer,org.zkoss.zk.ui.Component> |
DecoratedEditorRenderer.renderEmbeddedEditors(org.zkoss.zul.Vlayout container,
List<String> definitions,
EditorContext<Object> context,
EditorListener<Object> listener)
Renders embedded editors found in the definitions list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultBigDecimalEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext<BigDecimal> context,
EditorListener<BigDecimal> listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultBigIntegerEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext<BigInteger> context,
EditorListener<BigInteger> listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultClassEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext<Class> context,
EditorListener<Class> editorListener) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
AbstractDateTimeEditor.getDateFormat(C datebox,
EditorContext<Date> context)
Gets format string from configuration.
|
protected String |
DefaultDateEditor.getDisplayedTimeZones(EditorContext<Date> context) |
protected TimeZone |
AbstractDateTimeEditor.getInitialTimeZoneFromConfig(EditorContext<Date> context) |
protected void |
AbstractDateTimeEditor.handleReadOnly(EditorContext<Date> context,
org.zkoss.zul.impl.InputElement editorView)
In case of dateTimeEditor we have to override standard implementation of handleReadOnly.
|
void |
AbstractDateTimeEditor.initTimeZone(C box,
EditorContext<Date> context) |
void |
DefaultDateEditor.initTimeZone(org.zkoss.zul.Datebox box,
EditorContext<Date> context) |
void |
DefaultTimeEditor.initTimeZone(org.zkoss.zul.Timebox box,
EditorContext<Date> context) |
protected void |
DefaultDateEditor.initTimezoneManagement(org.zkoss.zul.Datebox box,
EditorContext<Date> context)
Deprecated.
since 6.5, please use the
DefaultDateEditor.initTimeZone(Datebox, EditorContext) instead. |
protected void |
AbstractDateTimeEditor.initViewComponent(org.zkoss.zul.impl.InputElement editorView,
EditorContext<Date> context,
EditorListener<Date> listener) |
protected void |
DefaultTimeEditor.initViewComponent(org.zkoss.zul.impl.InputElement editorView,
EditorContext<Date> context,
EditorListener<Date> listener) |
protected void |
DefaultDateEditor.initViewComponent(org.zkoss.zul.impl.InputElement editorView,
EditorContext<Date> context,
EditorListener<Date> listener) |
protected boolean |
DefaultDateEditor.isTimeZoneReadOnly(EditorContext<Date> context) |
void |
AbstractDateTimeEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext<Date> context,
EditorListener<Date> listener) |
protected boolean |
DefaultDateEditor.shouldInputBeDisabled(EditorContext<Date> context) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultEnumEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext<Object> context,
EditorListener<Object> listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultFileUploadEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext<FileUploadResult> context,
EditorListener<FileUploadResult> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> EditorContext<T> |
DefaultListEditorRenderer.createNestedContext(EditorContext<T> context) |
| Modifier and Type | Method and Description |
|---|---|
protected org.zkoss.zul.Popup |
DefaultListEditorRenderer.createAddPopup(org.zkoss.zul.Listbox listbox,
EditorListener<List<E>> listener,
EditorContext<List<E>> context)
Create popup for adding new list item after selected item.
|
protected org.zkoss.zul.Button |
DefaultListEditorRenderer.createEditButton(org.zkoss.zul.Listbox listbox,
EditorContext<List<E>> context)
Creates button for editing selected entry.
|
protected Editor |
DefaultListEditorRenderer.createEditorWithNestedContext(EditorContext<List<E>> context,
String listType)
Creates editor for nested typewith nested e
|
protected org.zkoss.zul.Listcell |
DefaultListEditorRenderer.createInlineEditor(EditorContext<List<E>> context,
EditorListener<List<E>> listener,
org.zkoss.zul.Listitem listItem,
E data)
Creates inline editor for list item.
|
protected org.zkoss.zul.ListitemRenderer<E> |
DefaultListEditorRenderer.createItemRenderer(EditorContext<List<E>> context,
EditorListener<List<E>> listener)
Defines
ListitemRenderer for the items in the list. |
protected <T> EditorContext<T> |
DefaultListEditorRenderer.createNestedContext(EditorContext<T> context) |
protected org.zkoss.zul.Popup |
DefaultListEditorRenderer.createSimpleAddPopup(org.zkoss.zul.Listbox listbox,
EditorListener<List<E>> listener,
EditorContext<List<E>> context)
Create popup for adding new list item.
|
void |
DefaultListEditorRenderer.render(org.zkoss.zk.ui.Component parent,
EditorContext<List<E>> context,
EditorListener<List<E>> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected EditorContext<Map<K,V>> |
DefaultMapEditorRenderer.prepareNestedContext(EditorContext<Map<K,V>> context,
String editorType,
String valueType) |
| Modifier and Type | Method and Description |
|---|---|
protected org.zkoss.zul.Popup |
DefaultMapEditorRenderer.createAddPopup(org.zkoss.zul.Listbox listbox,
EditorListener<Map<K,V>> listener,
EditorContext<Map<K,V>> context) |
protected org.zkoss.zul.Listfooter |
DefaultMapEditorRenderer.createFooter(EditorListener<Map<K,V>> listener,
EditorContext<Map<K,V>> context) |
protected org.zkoss.zul.Div |
DefaultMapEditorRenderer.createFooterContent(EditorContext<Map<K,V>> context,
EditorListener<Map<K,V>> listener,
org.zkoss.zul.Listfooter footer) |
protected org.zkoss.zul.Div |
DefaultMapEditorRenderer.createInlineEditor(EditorContext<Map<K,V>> context,
EditorListener<Map<K,V>> listener,
org.zkoss.zul.Listitem listItem,
Map.Entry<K,V> data)
Creates inline editor for list item.
|
protected org.zkoss.zul.ListitemRenderer<Map.Entry<K,V>> |
DefaultMapEditorRenderer.createItemRenderer(EditorContext<Map<K,V>> context,
EditorListener<Map<K,V>> listener)
Defines
ListitemRenderer for the items in the list. |
protected org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event> |
DefaultMapEditorRenderer.createSaveInlineValueListener(K key,
Editor inlineEditorKey,
Editor inlineEditorValue,
EditorListener<Map<K,V>> listener,
EditorContext<Map<K,V>> context) |
protected org.apache.commons.lang3.tuple.Pair<String,String> |
DefaultMapEditorRenderer.extractDefaultEditors(EditorContext<Map<K,V>> context) |
protected String |
DefaultMapEditorRenderer.extractKeyEditorType(EditorContext<Map<K,V>> context) |
protected String |
DefaultMapEditorRenderer.extractValueEditorType(EditorContext<Map<K,V>> context) |
protected EditorContext<Map<K,V>> |
DefaultMapEditorRenderer.prepareNestedContext(EditorContext<Map<K,V>> context,
String editorType,
String valueType) |
void |
DefaultMapEditorRenderer.render(org.zkoss.zk.ui.Component parent,
EditorContext<Map<K,V>> context,
EditorListener<Map<K,V>> listener) |
protected void |
DefaultMapEditorRenderer.revert(DefaultMapEditorRenderer.InlineEditorMode mode,
EditorListener<Map<K,V>> listener,
EditorContext<Map<K,V>> context) |
protected void |
DefaultMapEditorRenderer.revertFooter(EditorContext<Map<K,V>> context,
EditorListener<Map<K,V>> listener) |
| Constructor and Description |
|---|
MapEditorListitemRenderer(EditorContext<Map<K,V>> context,
EditorListener<Map<K,V>> listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultMultiReferenceEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext<Collection<T>> context,
EditorListener<Collection<T>> listener) |
protected void |
DefaultMultiReferenceEditor.setEditorParameters(EditorContext<Collection<T>> context) |
protected void |
DefaultMultiReferenceEditor.setInitialValue(EditorContext<Collection<T>> context) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultPasswordEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext<String> context,
EditorListener<String> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected Editor |
DefaultRangeEditor.createEditor(EditorContext<Range<T>> context,
EditorListener<Range<T>> listener)
Creates single
Editor component for the range embedded type. |
protected org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event> |
DefaultRangeEditor.createEditorListener(EditorContext<Range<T>> editorContext,
EditorListener<Range<T>> listener)
Create a wrapper listener from embedded editor listeners to this range Editor listeners.
|
void |
DefaultRangeEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext<Range<T>> context,
EditorListener<Range<T>> listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultReferenceEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext<T> context,
EditorListener<T> listener) |
protected void |
DefaultReferenceEditor.setEditorParameters(EditorContext<T> context) |
protected void |
DefaultReferenceEditor.setInitialValue(EditorContext<T> context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultTextEditor.initAdditionalParameters(org.zkoss.zul.Textbox editorView,
EditorContext<String> context) |
| Modifier and Type | Method and Description |
|---|---|
protected org.zkoss.zk.ui.Component |
AbstractDragAndDropFileUploadEditor.createDropUpload(org.zkoss.zk.ui.Component dropAnchor,
EditorContext<T> context) |
protected org.zkoss.zul.Button |
AbstractDragAndDropFileUploadEditor.createFileUpload(EditorContext<T> context) |
protected org.zkoss.zk.ui.Component |
AbstractDragAndDropFileUploadEditor.createUploadContainer(EditorContext<T> context,
org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.UploadEvent> onUpload) |
protected org.zkoss.zul.Listbox |
MultiDragAndDropFileUploadEditor.createUploadedFilesList(EditorContext<Collection<FileUploadResult>> context,
EditorListener<Collection<FileUploadResult>> listener) |
protected int |
AbstractDragAndDropFileUploadEditor.getMaxFileSize(EditorContext<T> context) |
protected int |
MultiDragAndDropFileUploadEditor.getSelectedReferencesMaxSize(EditorContext<Collection<FileUploadResult>> context) |
protected String |
MultiDragAndDropFileUploadEditor.getUpload(EditorContext<Collection<FileUploadResult>> context) |
protected String |
AbstractDragAndDropFileUploadEditor.getUpload(EditorContext<T> context) |
protected boolean |
AbstractDragAndDropFileUploadEditor.isSingleLineModeEnabled(EditorContext<T> context) |
protected boolean |
AbstractDragAndDropFileUploadEditor.isUploadedMediaAcceptable(org.zkoss.util.media.Media media,
EditorContext<T> ctx) |
protected void |
DragAndDropFileUploadEditor.onFileUpload(org.zkoss.zk.ui.Component parent,
EditorContext<FileUploadResult> context,
EditorListener<FileUploadResult> listener,
org.zkoss.zk.ui.event.UploadEvent event) |
protected void |
MultiDragAndDropFileUploadEditor.onUpload(org.zkoss.zul.Listbox uploadedList,
org.zkoss.zk.ui.event.UploadEvent event,
EditorContext<Collection<FileUploadResult>> context,
EditorListener<Collection<FileUploadResult>> listener) |
void |
MultiDragAndDropFileUploadEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext<Collection<FileUploadResult>> context,
EditorListener<Collection<FileUploadResult>> listener) |
void |
DragAndDropFileUploadEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext<FileUploadResult> context,
EditorListener<FileUploadResult> listener) |
protected void |
DragAndDropFileUploadEditor.renderPreview(org.zkoss.zk.ui.Component parent,
FileUploadResult uploadResult,
EditorContext<FileUploadResult> context,
EditorListener<FileUploadResult> listener) |
protected void |
MultiDragAndDropFileUploadEditor.renderUploadedFile(org.zkoss.zul.Listitem item,
FileUploadResult data,
int index,
EditorContext<Collection<FileUploadResult>> context,
BiConsumer<Integer,FileUploadResult> onRemoveReference) |
protected void |
DragAndDropFileUploadEditor.renderUploadView(org.zkoss.zk.ui.Component parent,
EditorContext<FileUploadResult> context,
EditorListener<FileUploadResult> listener) |
protected void |
MultiDragAndDropFileUploadEditor.showUnsupportedMediaMessage(org.zkoss.zk.ui.Component messageAnchor,
EditorContext<Collection<FileUploadResult>> context) |
protected void |
AbstractDragAndDropFileUploadEditor.showUnsupportedMediaMessage(org.zkoss.zk.ui.Component parent,
EditorContext<T> context,
org.zkoss.util.media.Media media) |
| Modifier and Type | Method and Description |
|---|---|
ReferenceEditorLayout<T> |
DefaultExtendedMultiReferenceEditor.createReferenceLayout(EditorContext context) |
void |
InlineEditorRowHandler.doGlobalSave(WidgetInstanceManager widgetInstanceManager,
String editorProperty,
EditorContext context) |
protected String |
InlineEditorRowHandler.getNotificationSource(EditorContext context) |
protected void |
InlineEditorRowHandler.refreshRows(EditorContext<Collection<T>> editorContext,
Collection<T> rowItemsToRefresh) |
void |
DefaultExtendedMultiReferenceEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext<Collection<T>> context,
EditorListener<Collection<T>> listener) |
protected ObjectFacadeOperationResult |
InlineEditorRowHandler.save(Map<T,RowState<T>> entries,
EditorContext context) |
void |
InlineEditorRowHandler.saveRow(Object entry,
EditorState editorState,
EditorContext context) |
T |
InlineEditorRowHandler.undoRow(T entry,
EditorState editorState,
WidgetInstanceManager widgetInstanceManager,
String rowProperty,
EditorContext context) |
| Modifier and Type | Method and Description |
|---|---|
EditorContext |
DefaultRowRenderer.getContext() |
| Modifier and Type | Method and Description |
|---|---|
protected org.zkoss.zul.Div |
InstantEditorRenderer.createAttributeLabel(EditorContext<?> context) |
protected InstantEditorLabelProvider |
FixedInstantEditorLabelsRenderer.createLabelProvider(EditorContext<Object> context) |
protected Editor |
InstantEditorRenderer.createNestedEditor(EditorContext<Object> context,
EditorListener<Object> listener) |
protected void |
AbstractInstantEditorLabelRenderer.createValueLabel(org.zkoss.zk.ui.Component parent,
EditorContext<Object> context,
InstantEditorLabelProvider labelProvider) |
protected org.zkoss.zk.ui.HtmlBasedComponent |
InstantEditorRenderer.createValueLabel(EditorContext<Object> context,
EditorListener<Object> listener,
CockpitEditorRenderer<Object> labelRenderer) |
protected String |
DefaultInstantEditorLabelRenderer.getEditorType(EditorContext<Object> context) |
protected String |
InstantEditorRenderer.getEditorTypeFromContext(EditorContext<Object> context)
Deprecated.
since 6.6
|
protected String |
FixedInstantEditorLabelsRenderer.getFallbackLabel(EditorContext<Object> editorContext) |
protected String |
FixedInstantEditorLabelsRenderer.getLabel(EditorContext<Object> editorContext,
String labelName) |
protected Optional<String> |
FixedInstantEditorLabelsRenderer.getMatchingLabelName(EditorContext<Object> editorContext,
Object value) |
void |
FixedInstantEditorLabelsRenderer.render(org.zkoss.zk.ui.Component parent,
EditorContext<Object> context,
EditorListener<Object> listener) |
void |
DefaultInstantEditorLabelRenderer.render(org.zkoss.zk.ui.Component parent,
EditorContext<Object> context,
EditorListener<Object> listener) |
void |
InstantEditorRenderer.render(org.zkoss.zk.ui.Component parent,
EditorContext<Object> context,
EditorListener<Object> listener) |
void |
CustomizedInstantEditorLabelsRenderer.render(org.zkoss.zk.ui.Component parent,
EditorContext<Object> context,
EditorListener<Object> listener) |
protected CockpitEditorRenderer<Object> |
InstantEditorRenderer.resolveLabelRenderer(EditorContext<Object> context) |
protected void |
InstantEditorRenderer.updateValueLabel(org.zkoss.zk.ui.HtmlBasedComponent labelContainer,
EditorContext<Object> context,
EditorListener<Object> listener,
Object value,
CockpitEditorRenderer<Object> labelRenderer) |
protected void |
AbstractInstantEditorLabelRenderer.updateValueLabel(org.zkoss.zul.Label label,
EditorContext<Object> context,
InstantEditorLabelProvider labelProvider) |
| Constructor and Description |
|---|
FixedLabelProvider(EditorContext<Object> editorContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractIntegralEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext<T> context,
EditorListener<T> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
LocalizedEditor.addValidationChangeListener(org.zkoss.zk.ui.Component parent,
EditorContext editorContext) |
protected void |
LocalizedEditor.applyRowsValidation(EditorContext editorContext) |
protected org.zkoss.zul.Div |
AbstractLocalizedEditor.createEditorLabel(EditorContext editorContext) |
protected String |
LocalizedEditor.getEditorParamAttributeDescription(EditorContext editorContext) |
protected Editor |
AbstractLocalizedEditor.prepareSubEditor(EditorContext<Object> editorContext,
Object currentValue) |
protected Editor |
AbstractLocalizedEditor.prepareSubEditor(EditorContext<Object> editorContext,
Object currentValue,
Locale locale) |
void |
LocalizedSimpleEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext editorContext,
EditorListener editorListener) |
void |
LocalizedEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext editorContext,
EditorListener editorListener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractTextEditor.initAdditionalParameters(org.zkoss.zul.Textbox editorView,
EditorContext<T> context)
Additional initialization of ui component according to specified context
|
void |
AbstractTextEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext<T> context,
EditorListener<T> listener) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
WysiwygEditor.getCustomToolbarConfig(EditorContext<String> context)
Resolves custom toolbar configuration based on custom-attribute 'toolbar' specified for given editor instance.
|
protected String |
WysiwygEditor.getDefaultJsConfigURI(EditorContext<String> context)
Resolves default configuration js file URI based on the cockpit property specified as 'defaultJsConfig' editor
setting in the editor definition.
|
void |
WysiwygEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext<String> context,
EditorListener<String> listener) |
| Modifier and Type | Method and Description |
|---|---|
static <T> EditorContext<T> |
EditorContext.clone(EditorContext<T> context,
T initialValue) |
| Modifier and Type | Method and Description |
|---|---|
static <T> EditorContext<T> |
EditorContext.clone(EditorContext<T> context,
T initialValue) |
void |
ExampleWidgetStubEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext<Object> context,
EditorListener<Object> listener) |
void |
ExampleTextEditor.render(org.zkoss.zk.ui.Component parent,
EditorContext<String> context,
EditorListener<String> listener) |
void |
CockpitEditorRenderer.render(org.zkoss.zk.ui.Component parent,
EditorContext<T> context,
EditorListener<T> listener)
Creates a new editor component and attaches it to the specified
Component component. |
default void |
FormattableNumberEditor.setNumberFormat(org.zkoss.zul.impl.InputElement editorView,
EditorContext<T> context)
Sets the number format of
InputElement.Default implementation works only for FormatInputElement view components and sets the number format to the
value of FormattableNumberEditor.PARAMETER_NUMBER_FORMAT parameter passed in context object. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractPaginableEditorRenderer.configurePaging(org.zkoss.zul.Listbox editorView,
EditorContext<T> context)
Configure the inner
Paging object of the list editor. |
protected org.zkoss.zul.Button |
AbstractPaginableEditorRenderer.createAddButton(org.zkoss.zul.Listbox listbox,
EditorContext<T> context)
Creates button for adding new entry.
|
protected abstract org.zkoss.zul.Popup |
AbstractPaginableEditorRenderer.createAddPopup(org.zkoss.zul.Listbox listbox,
EditorListener<T> listener,
EditorContext<T> context) |
protected org.zkoss.zul.Button |
AbstractPaginableEditorRenderer.createDeleteButton(org.zkoss.zul.Listbox listbox,
EditorContext<T> context)
Creates button for removing selected entry.
|
protected Editor |
AbstractPaginableEditorRenderer.createEditor(EditorContext<T> context,
String editorType)
Creates single editor cell according to the
editorType. |
protected String |
AbstractCockpitEditorRenderer.extractEmbeddedType(EditorContext<T> context)
Utility method providing a way for editors with editorType like Range(java.lang.Integer) to retrieve the embedded
type Integer.
|
protected void |
DefaultZulCockpitEditorRenderer.fillParametersMap(EditorContext<T> context,
Map<Object,Object> parameters) |
protected String |
AbstractCockpitEditorRenderer.getInitialEditString(EditorContext<T> context)
Retrieves the
CockpitEditorRenderer.INITIAL_EDIT_STRING field from the editor parameters. |
protected String |
AbstractCockpitEditorRenderer.getL10nDecorator(EditorContext<T> context,
String parameterKey,
String defaultFallbackL10nKey)
Retrieves the value for this Editor's label in the order: As L10n value, provided raw value, default L10n value if
nothing is specified.
|
protected int |
AbstractPaginableEditorRenderer.getPageSize(EditorContext<T> context) |
protected void |
AbstractTextBasedEditorRenderer.handleReadOnly(EditorContext<T> context,
org.zkoss.zul.impl.InputElement editorView)
Utility method that assures proper handling of
readonly/disabled attributes across
different browsers. |
protected void |
AbstractTextBasedEditorRenderer.initViewComponent(org.zkoss.zul.impl.InputElement editorView,
EditorContext<T> context,
EditorListener<T> listener)
Adds event listeners to this editor component, parses the parameter for initial value etc.
|
void |
DefaultDummyEditorRenderer.render(org.zkoss.zk.ui.Component parent,
EditorContext<Object> context,
EditorListener<Object> listener) |
void |
DefaultZulCockpitEditorRenderer.render(org.zkoss.zk.ui.Component parent,
EditorContext<T> context,
EditorListener<T> listener) |
| Modifier and Type | Method and Description |
|---|---|
default EditorListener |
WidgetInstanceManager.registerEditorListener(EditorContext context,
EditorListener listener)
Whenever an editor is created in the context of a widget it may be needed to inform the parent widget that the
editor wants to interact with its model.
|
| Modifier and Type | Method and Description |
|---|---|
EditorListener |
DefaultWidgetInstanceManager.registerEditorListener(EditorContext context,
EditorListener listener) |
| Modifier and Type | Method and Description |
|---|---|
static String |
CockpitComponentsUtils.getLabel(EditorContext<?> editorContext,
WidgetInstanceManager wim,
String key,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
protected org.zkoss.zk.ui.HtmlBasedComponent |
CollapsibleCollectionLabelRenderer.createCollectionLabelContainer(org.zkoss.zk.ui.Component parent,
EditorContext<Object> context,
EditorListener<Object> listener) |
protected org.zkoss.zk.ui.HtmlBasedComponent |
CollapsibleCollectionLabelRenderer.createCollectionLabelContents(org.zkoss.zk.ui.HtmlBasedComponent parent,
EditorContext<Object> context,
EditorListener<Object> listener) |
protected org.zkoss.zul.Label |
CollectionLabelRenderer.createEmptyCollectionLabel(EditorContext<Object> context) |
protected org.zkoss.zul.Label |
CompareViewLabelRendererWrapper.createNoValueLabel(EditorContext<Object> context) |
protected org.zkoss.zk.ui.HtmlBasedComponent |
CollapsibleCollectionLabelRenderer.createValuesContainer(org.zkoss.zk.ui.HtmlBasedComponent parent,
EditorContext<Object> context,
EditorListener<Object> listener) |
protected org.zkoss.zk.ui.HtmlBasedComponent |
CollapsibleCollectionLabelRenderer.createValuesHeaderContainer(org.zkoss.zk.ui.HtmlBasedComponent parent,
EditorContext<Object> context,
EditorListener<Object> listener) |
protected Collection<Object> |
MapLabelRenderer.getCollection(EditorContext<Object> context) |
protected Collection<Object> |
CollectionLabelRenderer.getCollection(EditorContext<Object> context) |
protected Collection<Object> |
CollapsibleCollectionLabelRenderer.getCollection(EditorContext<Object> context) |
protected DataType |
CollectionLabelRenderer.getElementType(DataType collectionType,
EditorContext<Object> context,
Object value) |
protected DataType |
CollapsibleCollectionLabelRenderer.getElementType(DataType collectionType,
EditorContext<Object> context,
Object value) |
protected void |
CollapsibleCollectionLabelRenderer.handleCollectionContainerExpandStateChangeRequest(org.zkoss.zk.ui.HtmlBasedComponent component,
Collection<Object> collection,
EditorContext<Object> context,
EditorListener<Object> listener) |
void |
CollectionLabelRenderer.render(org.zkoss.zk.ui.Component parent,
EditorContext<Object> context,
EditorListener<Object> listener) |
void |
CollapsibleCollectionLabelRenderer.render(org.zkoss.zk.ui.Component parent,
EditorContext<Object> context,
EditorListener<Object> listener) |
void |
CompareViewLabelRendererWrapper.render(org.zkoss.zk.ui.Component parent,
EditorContext<Object> context,
EditorListener<Object> listener) |
protected void |
MapLabelRenderer.renderElement(org.zkoss.zk.ui.Component parent,
EditorContext<Object> context,
EditorListener<Object> listener,
Object value) |
protected void |
CollectionLabelRenderer.renderElement(org.zkoss.zk.ui.Component parent,
EditorContext<Object> context,
EditorListener<Object> listener,
Object value) |
protected void |
CollectionLabelRenderer.renderElement(org.zkoss.zk.ui.Component parent,
EditorContext<Object> context,
EditorListener<Object> listener,
Object value,
DataType elementType) |
protected void |
CollectionLabelRenderer.renderValues(org.zkoss.zk.ui.Component parent,
EditorContext<Object> context,
EditorListener<Object> listener,
Collection<Object> collection) |
protected void |
CollapsibleCollectionLabelRenderer.renderValuesContainer(org.zkoss.zk.ui.HtmlBasedComponent parent,
EditorContext<Object> context,
EditorListener<Object> listener) |
protected void |
CollapsibleCollectionLabelRenderer.renderValuesHeaderContainer(org.zkoss.zk.ui.HtmlBasedComponent parent,
EditorContext<Object> context,
EditorListener<Object> listener) |
Copyright © 2018. All rights reserved.