| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DNDMarkupGenerator
Implementations of DNDMarkupGenerator produce the markup required for
DnD operations.
The order in which methods in the class are called is important. First,
it is important that doLibraryIncludeMarkup is called at least once per request.
Developer's should always call this method immediately after retrieving the
DNDMarkupGenerator and include the markup returned by this method. In addition,
the markup generated by methods in this class should be included in an application's
markup in a "well formed" manner. For example, it is valid to include the results of
the following method calls in this order:
1. doBeginDNDSource
2. doBeginDNDTarget
3. doEndDNDTarget
4. doEndDNDSource
But, it is not valid to include the results of the following method calls in this order:
1. doBeginDNDSource
2. doBeginDNDTarget
3. doEndDNDSource
4. doEndDNDTarget
Method Summary | |
---|---|
void | doBeginDNDSource(DNDSource src,
ServletRequest req,
ServletResponse res,
java.io.Writer out,
boolean includeDragHandle)
Generates markup that needs to be placed at the beginning of a DNDSource. |
void | doBeginDNDSourceHandle(DNDSource src,
ServletRequest req,
ServletResponse res,
java.io.Writer out)
Generates markup that needs to be placed at the beginning of a DNDSource handle. |
void | doBeginDNDTarget(DNDTarget tgt,
ServletRequest req,
ServletResponse res,
java.io.Writer out)
Generates markup that needs to be placed at the beginning of a DNDTarget. |
void | doEndDNDSource(DNDSource src,
ServletRequest req,
ServletResponse res,
java.io.Writer out)
Generates markup that needs to be placed at the end of a DNDSource. |
void | doEndDNDSourceHandle(DNDSource src,
ServletRequest req,
ServletResponse res,
java.io.Writer out)
Generates markup that needs to be placed at the end of a DNDSource handle. |
void | doEndDNDTarget(DNDTarget tgt,
ServletRequest req,
ServletResponse res,
java.io.Writer out)
Generates markup that needs to be placed at the end of a DNDTarget. |
void | doLibraryIncludeMarkup(ServletRequest req,
ServletResponse res,
java.io.Writer out)
This method generates the markup that includes required DnD javascript libraries in a response. |
Method Detail |
---|
void doLibraryIncludeMarkup(ServletRequest req, ServletResponse res, java.io.Writer out)
void doBeginDNDSource(DNDSource src, ServletRequest req, ServletResponse res, java.io.Writer out, boolean includeDragHandle) throws DNDMarkupGeneratorException
void doBeginDNDSourceHandle(DNDSource src, ServletRequest req, ServletResponse res, java.io.Writer out) throws DNDMarkupGeneratorException
void doBeginDNDTarget(DNDTarget tgt, ServletRequest req, ServletResponse res, java.io.Writer out) throws DNDMarkupGeneratorException
void doEndDNDSource(DNDSource src, ServletRequest req, ServletResponse res, java.io.Writer out) throws DNDMarkupGeneratorException
void doEndDNDSourceHandle(DNDSource src, ServletRequest req, ServletResponse res, java.io.Writer out) throws DNDMarkupGeneratorException
void doEndDNDTarget(DNDTarget tgt, ServletRequest req, ServletResponse res, java.io.Writer out) throws DNDMarkupGeneratorException
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |