Lines Matching refs:jc
75 final JTextComponent jc = (JTextComponent)c;
76 final State state = getStateFor(jc);
78 painter.state.set(State.ACTIVE == state && jc.hasFocus() ? Focused.YES : Focused.NO);
80 if (jc.isOpaque()) {
85 final int shrinkage = getShrinkageFor(jc, height);
104 static int getShrinkageFor(final JTextComponent jc, final int height) {
105 if (jc == null) return 0;
106 final TextUI ui = jc.getUI();
108 final Dimension size = ui.getPreferredSize(jc);
130 protected static State getStateFor(final JTextComponent jc) {
131 if (!AquaFocusHandler.isActive(jc)) {
135 if (!jc.isEnabled()) {
139 if (!jc.isEditable()) {