Java API for embedding Dia-based diagrams in web pages in a Servlet environment.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://aoindustries.com/contact
public class Dia extends Element<Dia>
Element.Body<E extends Element>, Element.PageContextBody<E extends Element>, Element.PageContextNoElementBodyelement, request, response, servletContext| Constructor and Description |
|---|
Dia(Dia element,
String path)
Creates a new diagram in the current page context.
|
Dia(Dia element,
String book,
String path)
Creates a new diagram in the current page context.
|
Dia(ServletContext servletContext,
HttpServletRequest request,
HttpServletResponse response,
Dia element,
String path) |
Dia(ServletContext servletContext,
HttpServletRequest request,
HttpServletResponse response,
Dia element,
String book,
String path) |
Dia(ServletContext servletContext,
HttpServletRequest request,
HttpServletResponse response,
String path) |
Dia(ServletContext servletContext,
HttpServletRequest request,
HttpServletResponse response,
String book,
String path) |
Dia(String path)
Creates a new diagram in the current page context.
|
Dia(String book,
String path)
Creates a new diagram in the current page context.
|
| Modifier and Type | Method and Description |
|---|---|
Dia |
book(String book) |
protected void |
doBody(CaptureLevel captureLevel,
Element.Body<? super Dia> body) |
Dia |
height(int height) |
Dia |
id(String id) |
Dia |
label(String label) |
Dia |
width(int width) |
void |
writeTo(Writer out,
ElementContext context) |
public Dia(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, Dia element, String path)
public Dia(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, String path)
public Dia(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, Dia element, String book, String path)
public Dia(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, String book, String path)
public Dia(Dia element, String path)
PageContextpublic Dia(String path)
PageContextpublic Dia(Dia element, String book, String path)
PageContextpublic Dia(String book, String path)
PageContextpublic Dia width(int width)
public Dia height(int height)
protected void doBody(CaptureLevel captureLevel, Element.Body<? super Dia> body) throws ServletException, IOException, SkipPageException
doBody in class Element<Dia>ServletExceptionIOExceptionSkipPageExceptionpublic void writeTo(Writer out, ElementContext context) throws IOException
IOExceptionCopyright © 2013–2019 AO Industries, Inc.. All rights reserved.