private SeaGlassContext getContext ( JComponent c , Region subregion , int state ) { SynthStyle style = null ; Class klass = SeaGlassContext . class ; if ( subregion == Region . TABBED_PANE_TAB ) { style = tabStyle ; } else if ( subregion == Region . TABBED_PANE_TAB_AREA ) { style = tabAreaStyle ; } else if ( subregion == Region . TABBED_PANE_CONTENT ) { style = tabContentStyle ; } else if ( subregion == SeaGlassRegion . TABBED_PANE_TAB_CLOSE_BUTTON ) { style = tabCloseStyle ; } return SeaGlassContext . getContext ( klass , c , subregion , style , state ) ; }
Create a SynthContext for the component subregion and state .