public class LegacyPaint extends Object implements Serializable
Constructor and Description |
---|
LegacyPaint() |
Modifier and Type | Method and Description |
---|---|
static void |
paint(Component component,
PaintTarget target)
Paints the Paintable into a UIDL stream.
|
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
#paintContent(PaintTarget)
instead.
target
- the target UIDL stream where the component should paint itself
to.PaintException
- if the paint operation failed.Copyright © 2019 Vaadin Ltd. All rights reserved.