public class ConnectorTypeWriter extends Object implements Serializable
| Constructor and Description |
|---|
ConnectorTypeWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
write(UI ui,
Writer writer,
PaintTarget target)
Writes a JSON object containing connector-ID-to-type-ID mappings for each
dirty Connector in the given UI.
|
public void write(UI ui, Writer writer, PaintTarget target) throws IOException
ui - The UI containing dirty connectorswriter - The Writer used to write the JSON.target - The paint target containing the connector type IDs.IOException - If the serialization fails.Copyright © 2023 Vaadin Ltd. All rights reserved.