Creates a SynthContext with the specified values. This is meant
for subclasses and custom UI implementors. You very rarely need to
construct a SynthContext, though some methods will take one.
Parameters:
-
component - JComponent
-
region - Identifies the portion of the JComponent
-
style - Style associated with the component
-
state - State of the component as defined in SynthConstants.
Throws:
-
NullPointerException - if component, region of style is null.