public class NumberSpinner extends Spinner
jSpinner, SWING_CLASSES, TYPE_NAME
Constructor and Description |
---|
NumberSpinner(JSpinner jSpinner) |
Modifier and Type | Method and Description |
---|---|
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.
|
clickForNextValue, clickForPreviousValue, getAwtComponent, getDescriptionTypeName, nextValueEquals, previousValueEquals, setValue, valueEquals
tooltipContains, tooltipEquals
addAttributes, backgroundEquals, backgroundNear, foregroundEquals, foregroundNear, getContainer, getContainer, getDescription, getDescription, getLabel, getName, getSubDescription, isEnabled, isVisible, pressKey, releaseKey, typeKey
public NumberSpinner(JSpinner jSpinner)
public Assertion minEquals(int expectedMin)
public Assertion maxEquals(int expectedMax)
public Assertion stepSizeEquals(int expectedStepSize)
Copyright © 2004–2016. All rights reserved.