We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.server.
Class LegacyPaint
- java.lang.Object
-
- com.vaadin.server.LegacyPaint
-
All Implemented Interfaces:
public class LegacyPaint extends Object implements Serializable
See Also:
-
-
Method Summary
All Methods Modifier and Type Method Description static void
paint​(Component component, PaintTarget target)
Paints the Paintable into a UIDL stream.
-
-
-
Method Detail
-
paint
public static void paint​(Component component, PaintTarget target) throws PaintException
Paints the Paintable into a UIDL stream. This method creates the UIDL sequence describing it and outputs it to the given UIDL stream.
It is called when the contents of the component should be painted in response to the component first being shown or having been altered so that its visual representation is changed.
Do not override this to paint your component. Override
LegacyComponent.paintContent(PaintTarget)
instead.Parameters:
target
- the target UIDL stream where the component should paint itself to.Throws:
PaintException
- if the paint operation failed.
-
-