Package com.vaadin.server
Class LegacyPaint
- java.lang.Object
-
- com.vaadin.server.LegacyPaint
-
- All Implemented Interfaces:
Serializable
public class LegacyPaint extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LegacyPaint()
-
Method Summary
All Methods Static Methods Concrete 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
#paintContent(PaintTarget)
instead.- Parameters:
target
- the target UIDL stream where the component should paint itself to.- Throws:
PaintException
- if the paint operation failed.
-
-