Package com.vaadin.swingbridge.surrogates.util
package com.vaadin.swingbridge.surrogates.util
-
ClassDescriptionBorder ↔ CSS conversion for the surrogate
JComponentMixin.setBorder/getBorderpath:BorderCss.applyBorderCss(Element, Border)writes a JDKBorderas inline CSS,BorderCss.borderFromCss(Element)reconstructs the closestBorderback (lossy per SD_border_css_lossy).Stateless conversions between AWT value types (Cursor,Color,Font) and the CSS-string dialect their Vaadin peers speak, plus the inverse parsers that let surrogate getters reconstruct the AWT value by reading the DOM style back (no server-side shadow cache — Vaadin-first per SD_vaadin_first_binding).Icon → Vaadin bridge (icon-rendering Path 1).Translation between Vaadin'sKey/KeyModifier/KeyLocationworld and AWT'sVK_*keycodes, modifier masks, and key-location constants.Pair of VaadinKey+ modifier set resolved from aKeyStroke.Builders that translate AWT/SwingLayoutManagerparameters into the container-wide CSS a Vaadin host element needs, plusLayoutCss.applyContainerCss(Element, String, Map)which writes a built block onto that element.Broad, generic Vaadin UI/DOM utilities used across the surrogate layer; shared with:emulatorsin the SD_shelper_statics-allowed direction where needed.