|
NextApp Echo2 Extras v2.1.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectComponent
nextapp.echo2.extras.app.CalendarSelect
public class CalendarSelect
A user-input component which allows for the selection of a single date.
| Field Summary | |
|---|---|
static java.lang.String |
DATE_CHANGED_PROPERTY
|
static java.lang.String |
PROPERTY_ADJACENT_MONTH_DATE_FOREGROUND
|
static java.lang.String |
PROPERTY_BACKGROUND_IMAGE
|
static java.lang.String |
PROPERTY_BORDER
|
static java.lang.String |
PROPERTY_SELECTED_DATE_BACKGROUND
|
static java.lang.String |
PROPERTY_SELECTED_DATE_BACKGROUND_IMAGE
|
static java.lang.String |
PROPERTY_SELECTED_DATE_FOREGROUND
|
| Constructor Summary | |
|---|---|
CalendarSelect()
Creates a new CalendarSelect. |
|
CalendarSelect(java.util.Date date)
Creates a new CalendarSelect. |
|
| Method Summary | |
|---|---|
Color |
getAdjacentMonthDateForeground()
Returns the foreground color of dates in adjacent (previous/next) months. |
FillImage |
getBackgroundImage()
Returns the background image of the displayed calendar month. |
Border |
getBorder()
Returns the border surrounding the displayed calendar month. |
java.util.Date |
getDate()
Returns the selected date. |
Color |
getSelectedDateBackground()
Returns the background color of the selected date |
FillImage |
getSelectedDateBackgroundImage()
Returns the background image of the selected date |
Color |
getSelectedDateForeground()
Returns the foreground color of the selected date |
void |
processInput(java.lang.String inputName,
java.lang.Object inputValue)
|
void |
setAdjacentMonthDateForeground(Color newValue)
Sets the foreground color of dates in adjacent (previous/next) months. |
void |
setBackgroundImage(FillImage newValue)
Sets the background image of the displayed calendar month. |
void |
setBorder(Border newValue)
Sets the border surrounding the displayed calendar month. |
void |
setDate(java.util.Date newValue)
Sets the selected date. |
void |
setSelectedDateBackground(Color newValue)
Sets the background color of the selected date |
void |
setSelectedDateBackgroundImage(FillImage newValue)
Sets the background image of the selected date |
void |
setSelectedDateForeground(Color newValue)
Sets the foreground color of the selected date |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DATE_CHANGED_PROPERTY
public static final java.lang.String PROPERTY_BORDER
public static final java.lang.String PROPERTY_BACKGROUND_IMAGE
public static final java.lang.String PROPERTY_ADJACENT_MONTH_DATE_FOREGROUND
public static final java.lang.String PROPERTY_SELECTED_DATE_BACKGROUND
public static final java.lang.String PROPERTY_SELECTED_DATE_BACKGROUND_IMAGE
public static final java.lang.String PROPERTY_SELECTED_DATE_FOREGROUND
| Constructor Detail |
|---|
public CalendarSelect()
CalendarSelect.
public CalendarSelect(java.util.Date date)
CalendarSelect.
date - the initially selected date| Method Detail |
|---|
public Color getAdjacentMonthDateForeground()
public FillImage getBackgroundImage()
public Border getBorder()
public java.util.Date getDate()
public Color getSelectedDateBackground()
public FillImage getSelectedDateBackgroundImage()
public Color getSelectedDateForeground()
public void processInput(java.lang.String inputName,
java.lang.Object inputValue)
nextapp.echo2.app.Component#processInput(java.lang.String, java.lang.Object)public void setBackgroundImage(FillImage newValue)
newValue - the new background imagepublic void setBorder(Border newValue)
newValue - the new borderpublic void setDate(java.util.Date newValue)
newValue - the new datepublic void setAdjacentMonthDateForeground(Color newValue)
newValue - the new foregroundpublic void setSelectedDateBackground(Color newValue)
newValue - the new backgroundpublic void setSelectedDateBackgroundImage(FillImage newValue)
newValue - the new background imagepublic void setSelectedDateForeground(Color newValue)
newValue - the new foreground
|
NextApp Echo2 Extras v2.1.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||