fun SeaGlassContext(component: JComponent?, region: Region?, style: SynthStyle?, state: Int) { super(component, region, style, state) if (component === fakeComponent) { this.component = null this.region = null this.style = null return } if (component == null || region == null || style == null) { throw NullPointerException("You must supply a non-null component, region and style") } reset(component, region, style, state) }
Creates a SeaGlassContext with the specified values . This is meant for subclasses and custom UI implementors . You very rarely need to construct a SeaGlassContext , though some methods will take one .