Home | Trees | Indices | Help |
|
---|
|
object --+ | accept_criterion.IAcceptCriterion --+ | ServerSideCriterion
Parent class for criteria which are verified on the server side during
a drag operation to accept/discard dragged content (presented by Transferable
).
Subclasses should implement the IAcceptCriterion.accept method.
As all server side state can be used to make a decision, this is more flexible than ClientSideCriterion. However, this does require additional requests from the browser to the server during a drag operation.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
Returns whether the criteria can be checked on the client or whether a server request is needed to check the criteria. This requirement may depend on the state of the criterion (e.g. logical operations between criteria), so this cannot be based on a marker interface.
|
|
This needs to be implemented iff criterion does some lazy server side initialization. The UIDL painted in this method will be passed to client side drop handler implementation. Implementation can assume that accept is called before this method.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jun 5 20:45:01 2015 | http://epydoc.sourceforge.net |