public static class DatePicker.ShowDay extends Object implements Serializable
Constructor and Description |
---|
DatePicker.ShowDay(Date date,
boolean selectable)
If the day corresponding to parameter
day should be selectable, the parameter selectable should be set to
true , if not it should be set to false . |
DatePicker.ShowDay(Date date,
boolean selectable,
String cssClass)
If the day corresponding to parameter
day should be selectable, the parameter selectable should be set to
true , if not it should be set to false . |
DatePicker.ShowDay(Date date,
boolean selectable,
String cssClass,
String tooltip)
If the day corresponding to parameter
day should be selectable, the parameter selectable should be set to
true , if not it should be set to false . |
Modifier and Type | Method and Description |
---|---|
String |
getCssClass() |
Date |
getDate() |
String |
getTooltip() |
boolean |
isSelectable() |
void |
setCssClass(String value) |
void |
setDate(Date value) |
void |
setSelectable(boolean value) |
void |
setTooltip(String value) |
String |
toString() |
public DatePicker.ShowDay(Date date, boolean selectable)
day
should be selectable, the parameter selectable
should be set to
true
, if not it should be set to false
.date
- the dayselectable
- true
if the day should be selectable and false
if the day sould net be selectable.public DatePicker.ShowDay(Date date, boolean selectable, String cssClass)
day
should be selectable, the parameter selectable
should be set to
true
, if not it should be set to false
. The CSS class of the day can be controlled
with parameter cssClass
.date
- the dayselectable
- true
if the day should be selectable and false
if the day sould net be selectable.cssClass
- regardless from selectable
state of the day this CSS class is assigned to the day rectanglepublic DatePicker.ShowDay(Date date, boolean selectable, String cssClass, String tooltip)
day
should be selectable, the parameter selectable
should be set to
true
, if not it should be set to false
. The CSS class of the day can be controlled
with parameter cssClass
.date
- the dayselectable
- true
if the day should be selectable and false
if the day sould net be selectable.cssClass
- regardless from selectable
state of the day this CSS class is assigned to the day rectangletooltip
- a tooltip text to be shon wehn the mouse is placed over the given daypublic Date getDate()
public void setDate(Date value)
public boolean isSelectable()
public void setSelectable(boolean value)
public String getCssClass()
public void setCssClass(String value)
public String getTooltip()
public void setTooltip(String value)
Copyright © 2015. All rights reserved.