Searched refs:component1 (Results 1 - 5 of 5) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/
H A DLayoutStyle.java139 * <code>component2</code> relative to <code>component1</code>.
141 * between <code>component2</code> and <code>component1</code>
143 * <code>component1</code>:
145 * int gap = getPreferredGap(component1, component2,
160 * <code>component1</code>. The return value may take into
165 * @param component1 the <code>JComponent</code>
169 * relative to <code>component1</code>; one of
178 * @throws NullPointerException if <code>component1</code>,
189 public abstract int getPreferredGap(JComponent component1, argument
/openjdk7/jdk/src/share/classes/sun/swing/
H A DDefaultLayoutStyle.java49 public int getPreferredGap(JComponent component1, JComponent component2, argument
51 if (component1 == null || component2 == null || type == null) {
60 int indent = getIndent(component1, position);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalLookAndFeel.java2370 public int getPreferredGap(JComponent component1, argument
2374 super.getPreferredGap(component1, component2, type, position,
2384 int indent = getIndent(component1, position);
2392 if (component1.getUIClassID() == "ToggleButtonUI" &&
2394 ButtonModel sourceModel = ((JToggleButton)component1).
2427 if (isLabelAndNonlabel(component1, component2, position)) {
2435 return getButtonGap(component1, component2, position,
2438 return getButtonGap(component1, component2, position, offset);
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsLookAndFeel.java2487 public int getPreferredGap(JComponent component1, argument
2491 super.getPreferredGap(component1, component2, type, position,
2499 int indent = getIndent(component1, position);
2507 if (isLabelAndNonlabel(component1, component2, position)) {
2517 return getButtonGap(component1, component2, position,
2521 return getButtonGap(component1, component2, position,
2525 return getButtonGap(component1, component2, position,
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKLookAndFeel.java1690 public int getPreferredGap(JComponent component1, argument
1694 super.getPreferredGap(component1, component2, type, position,
1718 if (isLabelAndNonlabel(component1, component2, position)) {

Completed in 1269 milliseconds