|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.servlet.jsp.tagext.TagSupport | +--org.juniverse.jorganizer.calendar.CalendarMonthTag
This Custom Tag displays an calendar (month).
Field Summary | |
private java.lang.String |
bgstyle1
|
private java.lang.String |
bgstyle2
|
private java.lang.String |
borderstyle
|
private java.lang.String |
fontstyleheader
|
private java.lang.String |
fontstylehighlight
|
private java.lang.String |
fontstyleothermonth
|
private java.lang.String |
fontstylepresent
|
private java.lang.String |
fontstyletoday
|
private java.lang.String |
headerstyle
|
private java.lang.String |
height
|
private java.lang.String |
link
|
private int |
month
|
private java.lang.String |
width
|
private int |
year
|
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
CalendarMonthTag()
|
Method Summary | |
int |
doEndTag()
|
java.lang.String |
getBgstyle1()
Returns the bgstyle1. |
java.lang.String |
getBgstyle2()
Returns the bgstyle2. |
java.lang.String |
getBorderstyle()
Returns the borderstyle. |
java.util.GregorianCalendar |
getFirstDayOnCalendar()
This method returns the first day displayed on the calendar. |
java.util.GregorianCalendar |
getFirstDisplayedDate()
This method returns the first displayed date on the calendar |
java.lang.String |
getFontstyleheader()
Returns the fontstyleheader. |
java.lang.String |
getFontstylehighlight()
Returns the fontstylehighlight. |
java.lang.String |
getFontstyleothermonth()
Returns the fontstyleothermonth. |
java.lang.String |
getFontstylepresent()
Returns the fontstylepresent. |
java.lang.String |
getFontstyletoday()
Returns the fontstyletoday. |
java.lang.String |
getHeaderstyle()
Returns the headerstyle. |
java.lang.String |
getHeight()
Returns the height. |
java.lang.String |
getLink()
Returns the link. |
int |
getMonth()
Returns the month. |
private java.lang.String |
getTableHeader()
|
java.lang.String |
getWidth()
Returns the width. |
int |
getYear()
Returns the year. |
private java.lang.String |
parseLink(java.lang.String link,
int day)
|
void |
setBgstyle1(java.lang.String bgstyle1)
Sets the bgstyle1. |
void |
setBgstyle2(java.lang.String bgstyle2)
Sets the bgstyle2. |
void |
setBorderstyle(java.lang.String borderstyle)
Sets the borderstyle. |
void |
setFontstyleheader(java.lang.String fontstyleheader)
Sets the fontstyleheader. |
void |
setFontstylehighlight(java.lang.String fontstylehighlight)
Sets the fontstylehighlight. |
void |
setFontstyleothermonth(java.lang.String fontstyleothermonth)
Sets the fontstyleothermonth. |
void |
setFontstylepresent(java.lang.String fontstylepresent)
Sets the fontstylepresent. |
void |
setFontstyletoday(java.lang.String fontstyletoday)
Sets the fontstyletoday. |
void |
setHeaderstyle(java.lang.String headerstyle)
Sets the headerstyle. |
void |
setHeight(java.lang.String height)
Sets the height. |
void |
setLink(java.lang.String link)
Sets the link. |
void |
setMonth(int month)
Sets the month. |
void |
setWidth(java.lang.String width)
Sets the width. |
void |
setYear(int year)
Sets the year. |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.IterationTag |
|
Field Detail |
private java.lang.String borderstyle
private java.lang.String bgstyle1
private java.lang.String bgstyle2
private java.lang.String headerstyle
private java.lang.String fontstylepresent
private java.lang.String fontstyletoday
private java.lang.String fontstylehighlight
private java.lang.String fontstyleothermonth
private java.lang.String fontstyleheader
private java.lang.String width
private java.lang.String height
private int year
private int month
private java.lang.String link
Constructor Detail |
public CalendarMonthTag()
Method Detail |
public int doEndTag()
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
Tag.doEndTag()
private java.lang.String parseLink(java.lang.String link, int day)
public java.util.GregorianCalendar getFirstDayOnCalendar()
public java.util.GregorianCalendar getFirstDisplayedDate()
private java.lang.String getTableHeader()
public java.lang.String getBgstyle1()
public java.lang.String getBgstyle2()
public java.lang.String getBorderstyle()
public java.lang.String getFontstylehighlight()
public java.lang.String getFontstyleothermonth()
public java.lang.String getFontstylepresent()
public java.lang.String getFontstyletoday()
public java.lang.String getHeaderstyle()
public java.lang.String getHeight()
public java.lang.String getWidth()
public void setBgstyle1(java.lang.String bgstyle1)
bgstyle1
- The bgstyle1 to setpublic void setBgstyle2(java.lang.String bgstyle2)
bgstyle2
- The bgstyle2 to setpublic void setBorderstyle(java.lang.String borderstyle)
borderstyle
- The borderstyle to setpublic void setFontstylehighlight(java.lang.String fontstylehighlight)
fontstylehighlight
- The fontstylehighlight to setpublic void setFontstyleothermonth(java.lang.String fontstyleothermonth)
fontstyleothermonth
- The fontstyleothermonth to setpublic void setFontstylepresent(java.lang.String fontstylepresent)
fontstylepresent
- The fontstylepresent to setpublic void setFontstyletoday(java.lang.String fontstyletoday)
fontstyletoday
- The fontstyletoday to setpublic void setHeaderstyle(java.lang.String headerstyle)
headerstyle
- The headerstyle to setpublic void setHeight(java.lang.String height)
height
- The height to setpublic void setWidth(java.lang.String width)
width
- The width to setpublic int getMonth()
public int getYear()
public void setMonth(int month)
month
- The month to setpublic void setYear(int year)
year
- The year to setpublic java.lang.String getLink()
public void setLink(java.lang.String link)
link
- The link to setpublic java.lang.String getFontstyleheader()
public void setFontstyleheader(java.lang.String fontstyleheader)
fontstyleheader
- The fontstyleheader to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |