|
||||||||||
| 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.DateSpinner
public class DateSpinner
Wrapper for JSpinner components implementing a SpinnerDateModel.
| Field Summary |
|---|
| Fields inherited from class org.uispec4j.Spinner |
|---|
jSpinner, SWING_CLASSES, TYPE_NAME |
| Constructor Summary | |
|---|---|
DateSpinner(javax.swing.JSpinner jSpinner)
|
|
| Method Summary | |
|---|---|
Assertion |
calendarFieldsEquals(int expectedCalendarFields)
Checks that the date spinner computes previous and next value with the given value. |
Assertion |
endDateEquals(java.lang.String expectedEndDate)
Checks that the date spinner displays ends with the given value |
Assertion |
startDateEquals(java.lang.String expectedStartDate)
Checks that the date spinner displays starts 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 DateSpinner(javax.swing.JSpinner jSpinner)
throws ItemNotFoundException
ItemNotFoundException| Method Detail |
|---|
public Assertion startDateEquals(java.lang.String expectedStartDate)
to format the date as Stringpublic Assertion endDateEquals(java.lang.String expectedEndDate)
to format the date as Stringpublic Assertion calendarFieldsEquals(int expectedCalendarFields)
Calendar constants
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||