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, wait
accept
public final boolean isClientSideVerifiable()
AcceptCriterion
isClientSideVerifiable
in interface AcceptCriterion
public void paint(PaintTarget target) throws PaintException
paint
in interface AcceptCriterion
PaintException
protected void paintContent(PaintTarget target) throws PaintException
PaintException
protected String getIdentifier()
public final void paintResponse(PaintTarget target) throws PaintException
AcceptCriterion
AcceptCriterion.accept(DragAndDropEvent)
is called before this method.paintResponse
in interface AcceptCriterion
PaintException
Copyright © 2022 Vaadin Ltd. All rights reserved.