/** * <p>Enables or disables the edition.</p> */ @Editor.Ignore void isEditMode(boolean isEdit);
/** * Specify the value that is restricted to use. * @param value */ @Editor.Ignore void onValueRestricted(T value);
/** * <p>Called when editor is detached from the editors chain. Remove view from parent element here.</p> */ @Editor.Ignore void removeFromParent();
/** * Column editor requires the original column type in oder to allow changing column types to the types given by the original data set column type. * @param columnType The original data set column type */ @Editor.Ignore void setOriginalColumnType(ColumnType columnType);
/** * Specify the value that was restricted for using but it can be used again. * @param value */ @Editor.Ignore void onValueUnRestricted(T value); }
/** * Column editor requires the original column type in oder to allow changing column types to the types given by the original data set column type. * @param columnType The original data set column type */ @Editor.Ignore void setOriginalColumnType(ColumnType columnType);
/** * <p>Sets acceptable values for the editor.</p> * <p>If no acceptable values set BEFORE editing a T instance, the editor can either disable /remove/modify the editor's value/s or just not edit any value.</p> * * @param acceptableValues Acceptable values for the editor. */ @Editor.Ignore void setAcceptableValues(T acceptableValues); }
/** * Columns edition constrains are different depending on the data set's provider type. * * @param type The data set's provider type. */ @Editor.Ignore void setProviderType(DataSetProviderType type);
@Editor.Ignore public T removeCollapseHandler(Collapsible.CollapseCompletedHandler handler) { collapsible.removeCollapseHandler(handler); return (T) this; }
@Editor.Ignore public T removeCss(String... cssClass) { style().remove(cssClass); return element; }
@Editor.Ignore public T addCss(String cssClass) { style().add(cssClass); return element; }
@Editor.Ignore @Override public T setReadOnly(boolean readOnly) { if (readOnly) { return setAttribute("readonly", "readonly"); } else { return removeAttribute("readonly"); } }
@Editor.Ignore public T setAttribute(String name, boolean value) { asElement().setAttribute(name, value); return element; }
@Editor.Ignore public T insertBefore(BaseDominoElement newNode, Node oldNode) { asElement().insertBefore(newNode.asElement(), oldNode); return element; }
@Editor.Ignore public T insertBefore(BaseDominoElement newNode, BaseDominoElement oldNode) { asElement().insertBefore(newNode.asElement(), oldNode.asElement()); return element; }
@Editor.Ignore public T insertBefore(Node newNode, BaseDominoElement oldNode) { asElement().insertBefore(newNode, oldNode.asElement()); return element; }
@Editor.Ignore public T addEventListener(EventType type, EventListener listener) { asElement().addEventListener(type.getName(), listener); return element; }
@Override @Editor.Ignore public T appendChild(IsElement isElement) { element.asElement().appendChild(isElement.asElement()); return element; }
@Override @Editor.Ignore public T collapse() { collapsible.collapse(); return element; }
/** * <p>Enables or disables the edition.</p> */ @Editor.Ignore void isEditMode(boolean isEdit);