private int getComponentState(JComponent c) {
   int baseState = SynthLookAndFeel.getComponentState(c);
   if (viewportViewFocusHandler != null && viewportViewHasFocus) {
     baseState = baseState | FOCUSED;
   }
   return baseState;
 }
Beispiel #2
0
 private int getComponentState(JComponent c) {
   return SynthLookAndFeel.getComponentState(c);
 }
 /** {@inheritDoc} */
 @Override
 public SynthContext getContext(JComponent c) {
   return getContext(c, SynthLookAndFeel.getComponentState(c));
 }