package com.codename1.ui.plaf

Look of the application can be fully customized via this package, it represents a rendering layer that can be plugged in separately in runtime and themed to provide any custom look. Unlike the Swing PLAF this layer does not support any aspect of “feel” as in event handling etc. since these aspects would require a much bigger and more elaborate layer unfit for small device OTA delivery.

Sizes of components are also calculated by the com.codename1.ui.plaf.LookAndFeel since the size is very much affected by the look of the application e.g. the thickness of the border and the font sizes.

Types

class BorderBase class that allows us to render a border for a component, a border is drawn before the component and is drawn within the padding region of the component.
class CSSBorderA border that can be configured using a limited subset of CSS directives.
class CSSFilterParserRuntime parser for CSS filter: / backdrop-filter: chains.
class DefaultLookAndFeelUsed to render the default look of Codename One
class GlassRecipeA typed, named recipe for the “Liquid Glass” backdrop materials (iOS 26).
class LookAndFeelAllows a UI developer to completely customize the look of the application by overriding drawing/sizing methods appropriately.
class RoundBorderA border that can either be a circle or a circular rectangle which is a rectangle whose sides are circles.
class RoundRectBorderCustomizable rounded rectangle border that breaks down the border into customizable pieces.
class StyleRepresents the look of a given component: colors, fonts, transparency, margin and padding & images.
class StyleParserParses Style strings into StyleInfo objects, which can be converted to Style objects at runtime.
class UIManagerCentral point singleton managing the look of the application, this class allows us to customize the styles (themes) as well as the look instance.