public abstract class ValueBaseFieldCell<T> extends FieldCell<T> implements ParseErrorEvent.HasParseErrorHandlers
| Modifier and Type | Class and Description |
|---|---|
static interface |
ValueBaseFieldCell.ValueBaseFieldAppearance |
FieldCell.FieldAppearance, FieldCell.FieldAppearanceOptions, FieldCell.FieldViewDataCell.Context| Constructor and Description |
|---|
ValueBaseFieldCell(ValueBaseFieldCell.ValueBaseFieldAppearance appearance) |
ValueBaseFieldCell(ValueBaseFieldCell.ValueBaseFieldAppearance appearance,
Set<String> consumedEvents) |
ValueBaseFieldCell(ValueBaseFieldCell.ValueBaseFieldAppearance appearance,
String... consumedEvents) |
finishEditing, getHeight, getWidth, isReadOnly, onBrowserEvent, onValid, setHeight, setReadOnly, setSize, setWidthaddHandler, fireEvent, isDisableEvents, setDisableEventsisEditing, resetFocusclearViewData, getViewData, setViewDatadependsOnSelection, getConsumedEvents, handlesSelection, render, setValuepublic ValueBaseFieldCell(ValueBaseFieldCell.ValueBaseFieldAppearance appearance)
public ValueBaseFieldCell(ValueBaseFieldCell.ValueBaseFieldAppearance appearance, Set<String> consumedEvents)
public ValueBaseFieldCell(ValueBaseFieldCell.ValueBaseFieldAppearance appearance, String... consumedEvents)
public HandlerRegistration addParseErrorHandler(ParseErrorEvent.ParseErrorHandler handler)
ParseErrorEvent.HasParseErrorHandlersParseErrorEvent.ParseErrorHandler handler for ParseErrorEvent
events.addParseErrorHandler in interface ParseErrorEvent.HasParseErrorHandlershandler - the handlerpublic void applyEmptyText(Cell.Context context, XElement parent)
public ValueBaseFieldCell.ValueBaseFieldAppearance getAppearance()
public String getEmptyText()
public InputElement getInputElement(Element parent)
getInputElement in class AbstractInputCell<T,FieldCell.FieldViewData>public String getName()
public PropertyEditor<T> getPropertyEditor()
public boolean isAllowBlank()
public boolean isSelectOnFocus()
public void onEmpty(XElement parent, boolean empty)
public void select(XElement parent, int start, int length)
public void selectAll(XElement parent)
public void setAllowBlank(boolean allowBlank)
allowBlank - true to allow blanks, false otherwisepublic void setEmptyText(Cell.Context context, XElement parent, String emptyText)
public void setPropertyEditor(PropertyEditor<T> propertyEditor)
public void setSelectOnFocus(boolean selectOnFocus)
Copyright © 2012. All Rights Reserved.