Java Doc for XCalendar.java in  » Swing-Library » wings3 » org » wingx » 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 » Swing Library » wings3 » org.wingx 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.wings.SContainer
   org.wingx.XCalendar

XCalendar
public class XCalendar extends SContainer implements LowLevelEventListener,SDocumentListener(Code)

author:
   Erik Habicht


Field Summary
final public static  SIconDEFAULT_EDIT_ICON
     The XCalendar default SIcon for editing.
protected  booleanepochCheckEnabled
    

Constructor Summary
public  XCalendar()
     Creates a XCalendar with the current Date and a default SDateFormatter.
public  XCalendar(SDateFormatter formatter)
     Creates a XCalendar with the current Date and the specified SDateFormatter instance.
public  XCalendar(Date date, SDateFormatter formatter)
     Creates a XCalendar with the given Date and the specified SDateFormatter instance.

Method Summary
public  voidaddActionListener(ActionListener listener)
    
public  voidchangedUpdate(SDocumentEvent e)
    
protected  voidfireActionPerformed(ActionEvent event)
     Fire an ActionEvent at each registered listener.
public  voidfireIntermediateEvents()
    
public  ActionListener[]getActionListeners()
     Returns an array of all the ActionListeners added to this AbstractButton with addActionListener().
public  SIcongetClearIcon()
     The current icon to use for clearing the input/ date.
public  DategetDate()
     Returns the current Date.
public  SIcongetEditIcon()
     Returns the current SIcon to start the date picker.
public  SFormattedTextFieldgetFormattedTextField()
     Returns the current SFormattedTextField.
public  SIcongetIcon()
     Returns the default SIcon.
public  TimeZonegetTimeZone()
     Returns the current TimeZone.
public  voidinsertUpdate(SDocumentEvent e)
    
public  booleanisEpochCheckEnabled()
    
public  booleanisNullable()
     Defines if the user should be able to select also null values.

NOTE: He can always do this manually.

public  voidprocessLowLevelEvent(String action, String[] values)
    
public  voidremoveActionListener(ActionListener listener)
    
public  voidremoveUpdate(SDocumentEvent e)
    
public  voidsetCG(org.wingx.plaf.CalendarCG cg)
    
public  voidsetClearIcon(SIcon clearIcon)
     The icon to use for clearing the input/ date.
public  voidsetDate(Date date)
     Sets the current Date.
public  voidsetEditIcon(SIcon icon)
     Sets the icon to use for calling the date picker.
public  voidsetEpochCheckEnabled(boolean epochCheckEnabled)
    
public  voidsetFocusTraversalIndex(int index)
    
public  voidsetFormatter(SDateFormatter formatter)
     Sets the current SDateFormatter.
public  voidsetIcon(SIcon icon)
     Sets the XCalendar's default SIcon.
public  voidsetNullable(boolean nullable)
     Defines if the user has an clear icon to reset the picked date to null.
public  voidsetPreferredSize(SDimension dimension)
    
public  voidsetTimeZone(TimeZone timeZone)
     Sets the current TimeZone.

Field Detail
DEFAULT_EDIT_ICON
final public static SIcon DEFAULT_EDIT_ICON(Code)
The XCalendar default SIcon for editing.



epochCheckEnabled
protected boolean epochCheckEnabled(Code)

See Also:   LowLevelEventListener.isEpochCheckEnabled




Constructor Detail
XCalendar
public XCalendar()(Code)
Creates a XCalendar with the current Date and a default SDateFormatter.



XCalendar
public XCalendar(SDateFormatter formatter)(Code)
Creates a XCalendar with the current Date and the specified SDateFormatter instance.
Parameters:
  formatter - SDateFormatter to use for formatting.



XCalendar
public XCalendar(Date date, SDateFormatter formatter)(Code)
Creates a XCalendar with the given Date and the specified SDateFormatter instance.
Parameters:
  date - Date
Parameters:
  formatter - SDateFormatter to use for formatting.




Method Detail
addActionListener
public void addActionListener(ActionListener listener)(Code)
Adds an action listener to the XCalendar
Parameters:
  listener - the ActionListener to be added



changedUpdate
public void changedUpdate(SDocumentEvent e)(Code)

See Also:   SDocumentListener.changedUpdate



fireActionPerformed
protected void fireActionPerformed(ActionEvent event)(Code)
Fire an ActionEvent at each registered listener.
Parameters:
  event - supplied ActionEvent



fireIntermediateEvents
public void fireIntermediateEvents()(Code)

See Also:   LowLevelEventListener.fireIntermediateEvents



getActionListeners
public ActionListener[] getActionListeners()(Code)
Returns an array of all the ActionListeners added to this AbstractButton with addActionListener(). all of the ActionListeners added or an emptyarray if no listeners have been added



getClearIcon
public SIcon getClearIcon()(Code)
The current icon to use for clearing the input/ date. The current icon to use for clearing the input/ date.



getDate
public Date getDate()(Code)
Returns the current Date. the current Date



getEditIcon
public SIcon getEditIcon()(Code)
Returns the current SIcon to start the date picker. the default SIcon



getFormattedTextField
public SFormattedTextField getFormattedTextField()(Code)
Returns the current SFormattedTextField. the current SFormattedTextField



getIcon
public SIcon getIcon()(Code)
Returns the default SIcon. the default SIcon



getTimeZone
public TimeZone getTimeZone()(Code)
Returns the current TimeZone. TimeZone



insertUpdate
public void insertUpdate(SDocumentEvent e)(Code)

See Also:   SDocumentListener.insertUpdate



isEpochCheckEnabled
public boolean isEpochCheckEnabled()(Code)

See Also:   LowLevelEventListener.isEpochCheckEnabled



isNullable
public boolean isNullable()(Code)
Defines if the user should be able to select also null values.

NOTE: He can always do this manually. Default is false true if the user has an clear icon to define a null date




processLowLevelEvent
public void processLowLevelEvent(String action, String[] values)(Code)

See Also:   LowLevelEventListener.processLowLevelEvent(String actionString[] values)



removeActionListener
public void removeActionListener(ActionListener listener)(Code)
Removes the supplied Listener from the listener list
Parameters:
  listener - ActionListener



removeUpdate
public void removeUpdate(SDocumentEvent e)(Code)

See Also:   SDocumentListener.removeUpdate



setCG
public void setCG(org.wingx.plaf.CalendarCG cg)(Code)
Set the look and feel delegate for this component
See Also:   org.wings.SComponent.setCG
Parameters:
  cg - the component's cg



setClearIcon
public void setClearIcon(SIcon clearIcon)(Code)
The icon to use for clearing the input/ date.
Parameters:
  clearIcon - The new icon to use for clearing the input/ date.



setDate
public void setDate(Date date)(Code)
Sets the current Date.
Parameters:
  date - the current Date



setEditIcon
public void setEditIcon(SIcon icon)(Code)
Sets the icon to use for calling the date picker.
Parameters:
  icon - the icon used as the trigger icon to start the date picker.



setEpochCheckEnabled
public void setEpochCheckEnabled(boolean epochCheckEnabled)(Code)

See Also:   LowLevelEventListener.setEpochCheckEnabled



setFocusTraversalIndex
public void setFocusTraversalIndex(int index)(Code)



setFormatter
public void setFormatter(SDateFormatter formatter)(Code)
Sets the current SDateFormatter.
Parameters:
  formatter - SDateFormatter to use for formatting



setIcon
public void setIcon(SIcon icon)(Code)
Sets the XCalendar's default SIcon.
Parameters:
  icon - the icon used as the default image.



setNullable
public void setNullable(boolean nullable)(Code)
Defines if the user has an clear icon to reset the picked date to null.
Parameters:
  nullable - true if the user should be able to clear the date.



setPreferredSize
public void setPreferredSize(SDimension dimension)(Code)
Set the preferred size of the component
Parameters:
  dimension - SDimension



setTimeZone
public void setTimeZone(TimeZone timeZone)(Code)
Sets the current TimeZone.
Parameters:
  timeZone - TimeZone



Methods inherited from org.wings.SContainer
public SComponent add(SComponent c)(Code)(Java Doc)
public void add(SComponent c, Object constraint)(Code)(Java Doc)
public SComponent add(SComponent c, int index)(Code)(Java Doc)
public void add(SComponent c, Object constraint, int index)(Code)(Java Doc)
public SComponent addComponent(SComponent c)(Code)(Java Doc)
public SComponent addComponent(SComponent c, Object constraint)(Code)(Java Doc)
public SComponent addComponent(SComponent c, int index)(Code)(Java Doc)
public SComponent addComponent(SComponent c, Object constraint, int index)(Code)(Java Doc)
public void addContainerListener(SContainerListener l)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
protected void fireContainerEvent(int type, SComponent comp)(Code)(Java Doc)
public SComponent getComponent(int i)(Code)(Java Doc)
public int getComponentCount()(Code)(Java Doc)
protected ArrayList getComponentList()(Code)(Java Doc)
public SComponent[] getComponents()(Code)(Java Doc)
public Object getConstraintAt(int i)(Code)(Java Doc)
protected ArrayList getConstraintList()(Code)(Java Doc)
public SLayoutManager getLayout()(Code)(Java Doc)
public void invite(ComponentVisitor visitor) throws Exception(Code)(Java Doc)
public void inviteEachComponent(ComponentVisitor visitor) throws Exception(Code)(Java Doc)
protected boolean isShowingChildren()(Code)(Java Doc)
protected void processContainerEvent(SContainerListener listener, SContainerEvent e)(Code)(Java Doc)
public void remove(SComponent c)(Code)(Java Doc)
public void remove(int index)(Code)(Java Doc)
public void removeAll()(Code)(Java Doc)
public void removeContainerListener(SContainerListener l)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public void setCG(ContainerCG cg)(Code)(Java Doc)
public void setLayout(SLayoutManager l)(Code)(Java Doc)
protected void setParentFrame(SFrame f)(Code)(Java Doc)
public void updateCG()(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.