Java Doc for SelectInputDate.java in  » J2EE » ICEfaces-1.6.1 » com » icesoft » faces » component » selectinputdate » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » ICEfaces 1.6.1 » com.icesoft.faces.component.selectinputdate 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.icesoft.faces.component.ext.HtmlInputText
   com.icesoft.faces.component.selectinputdate.SelectInputDate

SelectInputDate
public class SelectInputDate extends HtmlInputText (Code)
SelectInputDate is a JSF component class that represents an ICEfaces input date selector.

The component extends the ICEfaces extended HTMLPanelGroup.

By default the component is rendered by the "com.icesoft.faces.Calendar" renderer type.
author:
   Greg McCleary
version:
   1.1



Field Summary
final public static  StringCALENDAR_INPUTTEXT
    
final public static  StringCOMPONENT_FAMILY
     The component family.
final public static  StringCOMPONENT_TYPE
     The component type.
final public static  StringDEFAULT_POPUP_DATE_FORMAT
     The default date format for the popup input text child component.

Constructor Summary
public  SelectInputDate()
     Creates an instance and sets renderer type to "com.icesoft.faces.Calendar".

Method Summary
 voidaddHighlightDayClass(String highlightDayClass)
    
 voidaddHighlightWeekClass(String highlightWeekClass)
    
public  voidencodeBegin(FacesContext context)
    
public  StringformatDate(Date date)
     Formats the given date using the default date format MM/dd/yyyy.
public  StringgetCalendarInputClass()
    
public  StringgetClosePopupImage()
     Returns the name of the close popup image.
public  StringgetCurrentDayCellClass()
     Returns the currentDayCell style class name.
public  StringgetDayCellClass()
     Returns the style class name applied to the day cells in the SelectInputDate calendar.
public  StringgetFamily()
    
public  StringgetHighlightClass()
    
 StringgetHighlightDayCellClass()
    
 StringgetHighlightMonthClass()
    
public  StringgetHighlightUnit()
    
public  StringgetHighlightValue()
    

Return the value of the highlightValue property.

String highlightValue.
 StringgetHighlightWeekClass()
    
 StringgetHighlightYearClass()
    
 MapgetHightlightRules()
    
public  StringgetImageDir()
    
public  MapgetLinkMap()
    
public  StringgetMonthYearRowClass()
     Returns the style class name used for the row containing the month and Year.
public  StringgetMoveNextImage()
    
public  StringgetMovePreviousImage()
     Returns the name of the move previous image.
public  DategetNavDate()
     Get the navDate to render a calendar on a navigation event.
public  StringgetOpenPopupImage()
     returns the name of the open popup image.
public  StringgetPopupDateFormat()
     Returns the date format string of the input text child componenet.
public  StringgetSelectedDayLink()
    
public  StringgetStyle()
    

CSS style attribute.

public  StringgetStyleClass()
    
public  ObjectgetValue()
    
public  StringgetWeekRowClass()
     Returns the style class name of the weekRowClass The style class is defined in an external style sheet. the style class name applied to the weekRow.
public  booleanisNavEvent()
     A navEvent value of true indicates that a navEvent has occured.
public  booleanisRenderAsPopup()
    
public  booleanisShowPopup()
     A showPopup value of true indicates the SelectInputText popup be rendered.
public  voidrequestFocus()
    
 voidresetHighlightClasses(int level)
    
public  voidrestoreState(FacesContext context, Object state)
    
public  ObjectsaveState(FacesContext context)
    
public  voidsetHighlightClass(String highlightClass)
    
 voidsetHighlightMonthClass(String highlightMonthClass)
    
public  voidsetHighlightUnit(String highlightUnit)
    
public  voidsetHighlightValue(String highlightValue)
    
 voidsetHighlightYearClass(String highlightYearClass)
    
 voidsetHightlightRules(Map hightlightRules)
    
public  voidsetImageDir(String imageDir)
     Sets the directory where the images used by this component are located.
public  voidsetLinkMap(Map linkMap)
    
public  voidsetNavDate(Date navDate)
     Set the date value of the navDate.
public  voidsetNavEvent(boolean navEvent)
     Sets the boolean navEvent attribute.
public  voidsetPopupDateFormat(String popupDateFormat)
     Sets the date format of the input text child component when the component is in popup mode.
public  voidsetRenderAsPopup(boolean b)
    
public  voidsetSelectedDayLink(String selectedDayLink)
    
public  voidsetShowPopup(boolean showPopup)
     Setting the showPopup attribute to true will render the SelectInputDate popup calendar.
public  voidsetStyle(String style)
    

CSS style attribute.

public  voidsetStyleClass(String styleClass)
    

Field Detail
CALENDAR_INPUTTEXT
final public static String CALENDAR_INPUTTEXT(Code)



COMPONENT_FAMILY
final public static String COMPONENT_FAMILY(Code)
The component family.



COMPONENT_TYPE
final public static String COMPONENT_TYPE(Code)
The component type.



DEFAULT_POPUP_DATE_FORMAT
final public static String DEFAULT_POPUP_DATE_FORMAT(Code)
The default date format for the popup input text child component.




Constructor Detail
SelectInputDate
public SelectInputDate()(Code)
Creates an instance and sets renderer type to "com.icesoft.faces.Calendar".




Method Detail
addHighlightDayClass
void addHighlightDayClass(String highlightDayClass)(Code)



addHighlightWeekClass
void addHighlightWeekClass(String highlightWeekClass)(Code)



encodeBegin
public void encodeBegin(FacesContext context) throws IOException(Code)



formatDate
public String formatDate(Date date)(Code)
Formats the given date using the default date format MM/dd/yyyy.
Parameters:
  date - the formatted date as a String.



getCalendarInputClass
public String getCalendarInputClass()(Code)
the style class name used for the input text of the calendar.



getClosePopupImage
public String getClosePopupImage()(Code)
Returns the name of the close popup image. DEFAULT_CLOSEPOPUP



getCurrentDayCellClass
public String getCurrentDayCellClass()(Code)
Returns the currentDayCell style class name. style class name used for the current day cell



getDayCellClass
public String getDayCellClass()(Code)
Returns the style class name applied to the day cells in the SelectInputDate calendar. the style class name that is applied to the SelectInputDate daycells



getFamily
public String getFamily()(Code)



getHighlightClass
public String getHighlightClass()(Code)

Return the value of the highlightClass property.

String highlightClass, if never set returns a blank string not null



getHighlightDayCellClass
String getHighlightDayCellClass()(Code)



getHighlightMonthClass
String getHighlightMonthClass()(Code)



getHighlightUnit
public String getHighlightUnit()(Code)

Return the value of the highlightUnit property.

String highlightUnit, if never set returns a blank string not null



getHighlightValue
public String getHighlightValue()(Code)

Return the value of the highlightValue property.

String highlightValue. if never set returns blank a string not null



getHighlightWeekClass
String getHighlightWeekClass()(Code)



getHighlightYearClass
String getHighlightYearClass()(Code)



getHightlightRules
Map getHightlightRules()(Code)



getImageDir
public String getImageDir()(Code)
the directory name where the images used by this component arelocated.



getLinkMap
public Map getLinkMap()(Code)
linkMap



getMonthYearRowClass
public String getMonthYearRowClass()(Code)
Returns the style class name used for the row containing the month and Year. The style class is defined in an external style sheet. the style class name applied to the monthYearRow. If amonthYearRowClass attribute has not been set the default will beused.



getMoveNextImage
public String getMoveNextImage()(Code)
the name of the move next image.



getMovePreviousImage
public String getMovePreviousImage()(Code)
Returns the name of the move previous image. DEFAULT_MOVEPREV



getNavDate
public Date getNavDate()(Code)
Get the navDate to render a calendar on a navigation event. the navDate as a Date



getOpenPopupImage
public String getOpenPopupImage()(Code)
returns the name of the open popup image. DEFAULT_OPENPOPUP



getPopupDateFormat
public String getPopupDateFormat()(Code)
Returns the date format string of the input text child componenet. _popupDateFormat



getSelectedDayLink
public String getSelectedDayLink()(Code)
selectedDayLink



getStyle
public String getStyle()(Code)

CSS style attribute.

style



getStyleClass
public String getStyleClass()(Code)

Return the value of the styleClass property.

styleClass



getValue
public Object getValue()(Code)



getWeekRowClass
public String getWeekRowClass()(Code)
Returns the style class name of the weekRowClass The style class is defined in an external style sheet. the style class name applied to the weekRow. If a weekRowClassattribute has not been set the default will be used.



isNavEvent
public boolean isNavEvent()(Code)
A navEvent value of true indicates that a navEvent has occured. a value of true if a navigation event caused that render.



isRenderAsPopup
public boolean isRenderAsPopup()(Code)
the value of the renderAsPopup indicator.



isShowPopup
public boolean isShowPopup()(Code)
A showPopup value of true indicates the SelectInputText popup be rendered. the current value showPopup



requestFocus
public void requestFocus()(Code)



resetHighlightClasses
void resetHighlightClasses(int level)(Code)



restoreState
public void restoreState(FacesContext context, Object state)(Code)



saveState
public Object saveState(FacesContext context)(Code)



setHighlightClass
public void setHighlightClass(String highlightClass)(Code)

Set the value of the highlightClass property.


Parameters:
  highlightClass -



setHighlightMonthClass
void setHighlightMonthClass(String highlightMonthClass)(Code)



setHighlightUnit
public void setHighlightUnit(String highlightUnit)(Code)

Set the value of the highlightUnit property.


Parameters:
  highlightClass -



setHighlightValue
public void setHighlightValue(String highlightValue)(Code)

Set the value of the highlightValue property.


Parameters:
  highlightValue -



setHighlightYearClass
void setHighlightYearClass(String highlightYearClass)(Code)



setHightlightRules
void setHightlightRules(Map hightlightRules)(Code)



setImageDir
public void setImageDir(String imageDir)(Code)
Sets the directory where the images used by this component are located.
Parameters:
  imageDir - the directory where the images used by this component arelocated



setLinkMap
public void setLinkMap(Map linkMap)(Code)

Parameters:
  linkMap -



setNavDate
public void setNavDate(Date navDate)(Code)
Set the date value of the navDate. The navDate is used to render a calendar when the user is navigating from month to month or year to year.
Parameters:
  navDate - a Date assigned to the navDate.



setNavEvent
public void setNavEvent(boolean navEvent)(Code)
Sets the boolean navEvent attribute.
Parameters:
  navEvent - a value of true indicates that a navigation event hasoccured.



setPopupDateFormat
public void setPopupDateFormat(String popupDateFormat)(Code)
Sets the date format of the input text child component when the component is in popup mode.
Parameters:
  popupDateFormat -



setRenderAsPopup
public void setRenderAsPopup(boolean b)(Code)

Parameters:
  b -



setSelectedDayLink
public void setSelectedDayLink(String selectedDayLink)(Code)

Parameters:
  selectedDayLink -



setShowPopup
public void setShowPopup(boolean showPopup)(Code)
Setting the showPopup attribute to true will render the SelectInputDate popup calendar.
Parameters:
  showPopup - a value of true will cause the popup calendar to berendered



setStyle
public void setStyle(String style)(Code)

CSS style attribute.


Parameters:
  style -
See Also:   SelectInputDate.getStyle()



setStyleClass
public void setStyleClass(String styleClass)(Code)



Fields inherited from com.icesoft.faces.component.ext.HtmlInputText
final public static String COMPONENT_TYPE(Code)(Java Doc)
final public static String RENDERER_TYPE(Code)(Java Doc)
protected boolean focus(Code)(Java Doc)

Methods inherited from com.icesoft.faces.component.ext.HtmlInputText
public void addActionListener(ActionListener listener)(Code)(Java Doc)
public void broadcast(FacesEvent event) throws AbortProcessingException(Code)(Java Doc)
public void changeText(String value)(Code)(Java Doc)
public void decode(FacesContext context)(Code)(Java Doc)
public MethodBinding getAction()(Code)(Java Doc)
public MethodBinding getActionListener()(Code)(Java Doc)
public ActionListener[] getActionListeners()(Code)(Java Doc)
public String getAutocomplete()(Code)(Java Doc)
public CurrentStyle getCurrentStyle()(Code)(Java Doc)
public Effect getEffect()(Code)(Java Doc)
public String getEnabledOnUserRole()(Code)(Java Doc)
public Effect getOnchangeeffect()(Code)(Java Doc)
public Effect getOnclickeffect()(Code)(Java Doc)
public Effect getOndblclickeffect()(Code)(Java Doc)
public Effect getOnkeydowneffect()(Code)(Java Doc)
public Effect getOnkeypresseffect()(Code)(Java Doc)
public Effect getOnkeyupeffect()(Code)(Java Doc)
public Effect getOnmousedowneffect()(Code)(Java Doc)
public Effect getOnmousemoveeffect()(Code)(Java Doc)
public Effect getOnmouseouteffect()(Code)(Java Doc)
public Effect getOnmouseovereffect()(Code)(Java Doc)
public Effect getOnmouseupeffect()(Code)(Java Doc)
public boolean getPartialSubmit()(Code)(Java Doc)
public String getRenderedOnUserRole()(Code)(Java Doc)
public String getStyleClass()(Code)(Java Doc)
public String getText()(Code)(Java Doc)
public boolean getVisible()(Code)(Java Doc)
public boolean hasFocus()(Code)(Java Doc)
public boolean isActionKeyEvent()(Code)(Java Doc)
public boolean isDisabled()(Code)(Java Doc)
public boolean isImmediate()(Code)(Java Doc)
public boolean isRendered()(Code)(Java Doc)
public void queueEvent(FacesEvent event)(Code)(Java Doc)
public void removeActionListener(ActionListener listener)(Code)(Java Doc)
public void requestFocus()(Code)(Java Doc)
public void restoreState(FacesContext context, Object state)(Code)(Java Doc)
public Object saveState(FacesContext context)(Code)(Java Doc)
public void setAction(MethodBinding action)(Code)(Java Doc)
public void setActionKeyEvent(boolean actionKeyEvent)(Code)(Java Doc)
public void setActionListener(MethodBinding actionListener)(Code)(Java Doc)
public void setAutocomplete(String autocomplete)(Code)(Java Doc)
public void setCurrentStyle(CurrentStyle currentStyle)(Code)(Java Doc)
public void setEffect(Effect effect)(Code)(Java Doc)
public void setEnabledOnUserRole(String enabledOnUserRole)(Code)(Java Doc)
public void setFocus(boolean focus)(Code)(Java Doc)
public void setImmediate(boolean immediate)(Code)(Java Doc)
public void setOnchangeeffect(Effect onchangeeffect)(Code)(Java Doc)
public void setOnclickeffect(Effect onclickeffect)(Code)(Java Doc)
public void setOndblclickeffect(Effect ondblclickeffect)(Code)(Java Doc)
public void setOnkeydowneffect(Effect onkeydowneffect)(Code)(Java Doc)
public void setOnkeypresseffect(Effect onkeypresseffect)(Code)(Java Doc)
public void setOnkeyupeffect(Effect onkeyupeffect)(Code)(Java Doc)
public void setOnmousedowneffect(Effect onmousedowneffect)(Code)(Java Doc)
public void setOnmousemoveeffect(Effect onmousemoveeffect)(Code)(Java Doc)
public void setOnmouseouteffect(Effect onmouseouteffect)(Code)(Java Doc)
public void setOnmouseovereffect(Effect onmouseovereffect)(Code)(Java Doc)
public void setOnmouseupeffect(Effect onmouseupeffect)(Code)(Java Doc)
public void setPartialSubmit(boolean partialSubmit)(Code)(Java Doc)
public void setRenderedOnUserRole(String renderedOnUserRole)(Code)(Java Doc)
public void setStyleClass(String styleClass)(Code)(Java Doc)
public void setValueBinding(String s, ValueBinding vb)(Code)(Java Doc)
public void setVisible(boolean visible)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.