|
NextApp Echo2 Extras v2.1.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextapp.echo2.app.Component
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
|
Fields inherited from class nextapp.echo2.app.Component |
---|
CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FOCUS_TRAVERSAL_INDEX_CHANGED_PROPERTY, FOCUS_TRAVERSAL_PARTICIPANT_CHANGED_PROPERTY, LAYOUT_DIRECTION_CHANGED_PROPERTY, LOCALE_CHANGED_PROPERTY, PROPERTY_BACKGROUND, PROPERTY_FONT, PROPERTY_FOREGROUND, PROPERTY_LAYOUT_DATA, STYLE_CHANGED_PROPERTY, STYLE_NAME_CHANGED_PROPERTY, VISIBLE_CHANGED_PROPERTY |
Constructor Summary | |
---|---|
CalendarSelect()
Creates a new CalendarSelect . |
|
CalendarSelect(java.util.Date date)
Creates a new CalendarSelect . |
Method Summary | |
---|---|
nextapp.echo2.app.Color |
getAdjacentMonthDateForeground()
Returns the foreground color of dates in adjacent (previous/next) months. |
nextapp.echo2.app.FillImage |
getBackgroundImage()
Returns the background image of the displayed calendar month. |
nextapp.echo2.app.Border |
getBorder()
Returns the border surrounding the displayed calendar month. |
java.util.Date |
getDate()
Returns the selected date. |
nextapp.echo2.app.Color |
getSelectedDateBackground()
Returns the background color of the selected date |
nextapp.echo2.app.FillImage |
getSelectedDateBackgroundImage()
Returns the background image of the selected date |
nextapp.echo2.app.Color |
getSelectedDateForeground()
Returns the foreground color of the selected date |
void |
processInput(java.lang.String inputName,
java.lang.Object inputValue)
|
void |
setAdjacentMonthDateForeground(nextapp.echo2.app.Color newValue)
Sets the foreground color of dates in adjacent (previous/next) months. |
void |
setBackgroundImage(nextapp.echo2.app.FillImage newValue)
Sets the background image of the displayed calendar month. |
void |
setBorder(nextapp.echo2.app.Border newValue)
Sets the border surrounding the displayed calendar month. |
void |
setDate(java.util.Date newValue)
Sets the selected date. |
void |
setSelectedDateBackground(nextapp.echo2.app.Color newValue)
Sets the background color of the selected date |
void |
setSelectedDateBackgroundImage(nextapp.echo2.app.FillImage newValue)
Sets the background image of the selected date |
void |
setSelectedDateForeground(nextapp.echo2.app.Color newValue)
Sets the foreground color of the selected date |
Methods inherited from class nextapp.echo2.app.Component |
---|
add, add, addPropertyChangeListener, addPropertyChangeListener, dispose, firePropertyChange, getApplicationInstance, getBackground, getComponent, getComponent, getComponentCount, getComponents, getEventListenerList, getFocusTraversalIndex, getFont, getForeground, getId, getIndexedProperty, getLayoutData, getLayoutDirection, getLocale, getParent, getProperty, getRenderId, getRenderIndexedProperty, getRenderIndexedProperty, getRenderLayoutDirection, getRenderLocale, getRenderProperty, getRenderProperty, getStyle, getStyleName, getVisibleComponent, getVisibleComponentCount, getVisibleComponents, hasEventListenerList, indexOf, init, isAncestorOf, isEnabled, isFocusTraversalParticipant, isRegistered, isRenderEnabled, isRenderVisible, isValidChild, isValidParent, isVisible, remove, remove, removeAll, removePropertyChangeListener, removePropertyChangeListener, setBackground, setEnabled, setFocusTraversalIndex, setFocusTraversalParticipant, setFont, setForeground, setId, setIndexedProperty, setLayoutData, setLayoutDirection, setLocale, setProperty, setRenderId, setStyle, setStyleName, setVisible, validate, verifyInput, visibleIndexOf |
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 dateMethod Detail |
---|
public nextapp.echo2.app.Color getAdjacentMonthDateForeground()
public nextapp.echo2.app.FillImage getBackgroundImage()
public nextapp.echo2.app.Border getBorder()
public java.util.Date getDate()
public nextapp.echo2.app.Color getSelectedDateBackground()
public nextapp.echo2.app.FillImage getSelectedDateBackgroundImage()
public nextapp.echo2.app.Color getSelectedDateForeground()
public void processInput(java.lang.String inputName, java.lang.Object inputValue)
processInput
in class nextapp.echo2.app.Component
Component.processInput(java.lang.String, java.lang.Object)
public void setBackgroundImage(nextapp.echo2.app.FillImage newValue)
newValue
- the new background imagepublic void setBorder(nextapp.echo2.app.Border newValue)
newValue
- the new borderpublic void setDate(java.util.Date newValue)
newValue
- the new datepublic void setAdjacentMonthDateForeground(nextapp.echo2.app.Color newValue)
newValue
- the new foregroundpublic void setSelectedDateBackground(nextapp.echo2.app.Color newValue)
newValue
- the new backgroundpublic void setSelectedDateBackgroundImage(nextapp.echo2.app.FillImage newValue)
newValue
- the new background imagepublic void setSelectedDateForeground(nextapp.echo2.app.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 |