Building UI
🗃️ Archetypes
4 items
📄️ Understanding Components
Understand the webforJ component hierarchy, composition over inheritance, lifecycle stages, and concern interfaces before building custom components.
📄️ Using Components
Configure webforJ components in Java by setting text, attributes, IDs, inline styles, and CSS classes that drive appearance and behavior.
📄️ Composite Components
Combine webforJ components into reusable units by extending Composite, configuring the bound component, and overriding initBoundComponent.
📄️ Elements
Integrate raw HTML tags and custom web components in webforJ using the Element class to add children, set content, and invoke JavaScript.
📄️ Element Composite
Wrap third-party web components in Java with ElementComposite using PropertyDescriptor, attribute mapping, and typed event listeners.
📄️ Event Options
Configure element events with ElementEventOptions to attach payload data, filter, debounce, throttle, and run client-side code before firing.
📄️ Events
Attach event listeners to webforJ components with lambdas, anonymous classes, or method references and reuse the event payload server-side.