Lines 1568-1593
Link Here
|
1568 |
return original.deriveFont(style); |
1568 |
return original.deriveFont(style); |
1569 |
} |
1569 |
} |
1570 |
|
1570 |
|
1571 |
// support methods for xtesting |
1571 |
/** |
1572 |
final void doNextClick() { |
1572 |
* Moves the wizard to its next panel - if Next button is enabled. It is not |
|
|
1573 |
* safe to call this method outside EDT thread. |
1574 |
* @since 7.19 |
1575 |
*/ |
1576 |
public final void doNextClick() { |
1573 |
if (nextButton.isEnabled()) { |
1577 |
if (nextButton.isEnabled()) { |
1574 |
nextButton.doClick(); |
1578 |
nextButton.doClick(); |
1575 |
} |
1579 |
} |
1576 |
} |
1580 |
} |
1577 |
|
1581 |
|
1578 |
final void doPreviousClick() { |
1582 |
/** |
|
|
1583 |
* Moves the wizard to its previous panel - if Previous button is enabled. |
1584 |
* It is not safe to call this method outside EDT thread. |
1585 |
* @since 7.19 |
1586 |
*/ |
1587 |
public final void doPreviousClick() { |
1579 |
if (previousButton.isEnabled()) { |
1588 |
if (previousButton.isEnabled()) { |
1580 |
previousButton.doClick(); |
1589 |
previousButton.doClick(); |
1581 |
} |
1590 |
} |
1582 |
} |
1591 |
} |
1583 |
|
1592 |
|
1584 |
final void doFinishClick() { |
1593 |
/** |
|
|
1594 |
* Finishes the wizard - if Finish button is enabled. |
1595 |
* It is not safe to call this method outside EDT thread. |
1596 |
* @since 7.19 |
1597 |
*/ |
1598 |
public final void doFinishClick() { |
1585 |
if (finishButton.isEnabled()) { |
1599 |
if (finishButton.isEnabled()) { |
1586 |
finishButton.doClick(); |
1600 |
finishButton.doClick(); |
1587 |
} |
1601 |
} |
1588 |
} |
1602 |
} |
1589 |
|
1603 |
|
1590 |
final void doCancelClick() { |
1604 |
/** |
|
|
1605 |
* Cancels the wizard - if Cancel button is enabled. |
1606 |
* It is not safe to call this method outside EDT thread. |
1607 |
* @since 7.19 |
1608 |
*/ |
1609 |
public final void doCancelClick() { |
1591 |
if (cancelButton.isEnabled()) { |
1610 |
if (cancelButton.isEnabled()) { |
1592 |
cancelButton.doClick(); |
1611 |
cancelButton.doClick(); |
1593 |
} |
1612 |
} |