|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.uispec4j.AbstractUIComponent
org.uispec4j.AbstractSwingUIComponent
org.uispec4j.Spinner
org.uispec4j.NumberSpinner
public class NumberSpinner
Wrapper for JSpinner components implementing a SpinnerNumberModel.
| Field Summary |
|---|
| Fields inherited from class org.uispec4j.Spinner |
|---|
jSpinner, SWING_CLASSES, TYPE_NAME |
| Constructor Summary | |
|---|---|
NumberSpinner(javax.swing.JSpinner jSpinner)
|
|
| Method Summary | |
|---|---|
Assertion |
maxEquals(int expectedMax)
Checks that the list spinner displays starts with the given value |
Assertion |
minEquals(int expectedMin)
Checks that the list spinner displays starts with the given value |
Assertion |
stepSizeEquals(int expectedStepSize)
Checks that the list spinner computes previous and next value with the given value. |
| Methods inherited from class org.uispec4j.Spinner |
|---|
clickForNextValue, clickForPreviousValue, getAwtComponent, getDescriptionTypeName, nextValueEquals, previousValueEquals, setValue, valueEquals |
| Methods inherited from class org.uispec4j.AbstractSwingUIComponent |
|---|
tooltipContains, tooltipEquals |
| Methods inherited from class org.uispec4j.AbstractUIComponent |
|---|
addAttributes, backgroundEquals, backgroundNear, foregroundEquals, foregroundNear, getContainer, getContainer, getDescription, getDescription, getLabel, getName, getSubDescription, isEnabled, isVisible, pressKey, releaseKey, typeKey |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NumberSpinner(javax.swing.JSpinner jSpinner)
| Method Detail |
|---|
public Assertion minEquals(int expectedMin)
public Assertion maxEquals(int expectedMax)
public Assertion stepSizeEquals(int expectedStepSize)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||