public abstract class ClientSideCriterion extends Object implements Serializable, AcceptCriterion
AcceptCriterion.accept(com.vaadin.event.dd.DragAndDropEvent) after
the client side validation has accepted a transfer.| Constructor and Description |
|---|
ClientSideCriterion() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getIdentifier() |
boolean |
isClientSideVerifiable()
Returns whether the criteria can be checked on the client or whether a
server request is needed to check the criteria.
|
void |
paint(PaintTarget target) |
protected void |
paintContent(PaintTarget target) |
void |
paintResponse(PaintTarget target)
This needs to be implemented iff criterion does some lazy server side
initialization.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptpublic final boolean isClientSideVerifiable()
AcceptCriterionisClientSideVerifiable in interface AcceptCriterionpublic void paint(PaintTarget target) throws PaintException
paint in interface AcceptCriterionPaintExceptionprotected void paintContent(PaintTarget target) throws PaintException
PaintExceptionprotected String getIdentifier()
public final void paintResponse(PaintTarget target) throws PaintException
AcceptCriterionAcceptCriterion.accept(DragAndDropEvent) is called before this method.paintResponse in interface AcceptCriterionPaintExceptionCopyright © 2016 Vaadin Ltd. All rights reserved.