Java Doc for MiniDateEditor.java in  » 6.0-JDK-Modules » j2me » javax » microedition » lcdui » 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 » 6.0 JDK Modules » j2me » javax.microedition.lcdui 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.midp.chameleon.layers.PopupLayer
   javax.microedition.lcdui.DateEditor
      javax.microedition.lcdui.MiniDateEditor

MiniDateEditor
class MiniDateEditor extends DateEditor (Code)
A utility class for editing date/time components for a DateField.


Field Summary
protected static  String[]DAYS
     Static array holding the day of the month values.
final protected static  intDAY_POPUP
     Constant indicating the day of the month popup, used in the process of current focus tracking inside the date editor.
protected  DEPopupLayerdayPopup
    

Constructor Summary
public  MiniDateEditor(DateFieldLFImpl lf)
     Create a new DateEditor layer.

Method Summary
protected  voiddrawDateComponents(Graphics g)
     Draw the date components.
protected  voiddrawTimeComponents(Graphics g)
     Draw the time components.
 voidhideAllPopups()
     Hide all sub-popups triggered by this date editor.
protected  voidpaintAmPm(Graphics g)
     Paint the am/pm indicators.
protected  voidpopulateDateComponents()
     Populate the date components.
protected  booleanselectFired()
     Called when select key is fired, to take further action on it, based on where the focus is on the date editor.
 voidshow()
    
protected  booleantraverseAmPm(int code)
     Handle internal traversal between the am/pm indicators.
protected  booleantraverseEditor(int code)
     Handles internal traversal within the date editor.

Field Detail
DAYS
protected static String[] DAYS(Code)
Static array holding the day of the month values.



DAY_POPUP
final protected static int DAY_POPUP(Code)
Constant indicating the day of the month popup, used in the process of current focus tracking inside the date editor.



dayPopup
protected DEPopupLayer dayPopup(Code)
The sub-popup layer used to select day of the month value




Constructor Detail
MiniDateEditor
public MiniDateEditor(DateFieldLFImpl lf)(Code)
Create a new DateEditor layer.
Parameters:
  lf - The DateFieldLFImpl that triggered this date editor




Method Detail
drawDateComponents
protected void drawDateComponents(Graphics g)(Code)
Draw the date components.
Parameters:
  g - The Graphics object to paint to



drawTimeComponents
protected void drawTimeComponents(Graphics g)(Code)
Draw the time components.
Parameters:
  g - The Graphics object to paint to



hideAllPopups
void hideAllPopups()(Code)
Hide all sub-popups triggered by this date editor. Overridden from parent class to close additional 'day of the month' popup.



paintAmPm
protected void paintAmPm(Graphics g)(Code)
Paint the am/pm indicators.
Parameters:
  g - The graphics context to paint to



populateDateComponents
protected void populateDateComponents()(Code)
Populate the date components.



selectFired
protected boolean selectFired()(Code)
Called when select key is fired, to take further action on it, based on where the focus is on the date editor. true if key was handled, false otherwise



show
void show()(Code)



traverseAmPm
protected boolean traverseAmPm(int code)(Code)
Handle internal traversal between the am/pm indicators.
Parameters:
  code - the code of this key event true if internal traversal occurred, false otherwise



traverseEditor
protected boolean traverseEditor(int code)(Code)
Handles internal traversal within the date editor.
Parameters:
  code - the code of this key event true always, since popup layers swallow all events



Fields inherited from javax.microedition.lcdui.DateEditor
final protected static int AM_PM(Code)(Java Doc)
final protected static int CALENDAR(Code)(Java Doc)
protected static int[] HOURS(Code)(Java Doc)
final protected static int HOURS_POPUP(Code)(Java Doc)
protected static int[] MINUTES(Code)(Java Doc)
final protected static int MINUTES_POPUP(Code)(Java Doc)
protected static String[] MONTHS(Code)(Java Doc)
final protected static int MONTH_POPUP(Code)(Java Doc)
final int PRESS_OUT_OF_BOUNDS(Code)(Java Doc)
final protected static int TRIG_TABLE(Code)(Java Doc)
protected static String[] YEARS(Code)(Java Doc)
final protected static int YEAR_POPUP(Code)(Java Doc)
protected boolean amHilighted(Code)(Java Doc)
protected boolean amSelected(Code)(Java Doc)
protected int calendarBottomLimit(Code)(Java Doc)
protected int calendarRightLimit(Code)(Java Doc)
protected int calendarTopLimit(Code)(Java Doc)
protected Command cancel(Code)(Java Doc)
protected Command[] commands(Code)(Java Doc)
protected int dateHilightX(Code)(Java Doc)
protected int dateHilightY(Code)(Java Doc)
protected int dayOffset(Code)(Java Doc)
protected Calendar editDate(Code)(Java Doc)
protected int elementHeight(Code)(Java Doc)
protected int elementWidth(Code)(Java Doc)
protected int focusOn(Code)(Java Doc)
protected int hilightedDate(Code)(Java Doc)
protected DEPopupLayer hoursPopup(Code)(Java Doc)
protected boolean initialized(Code)(Java Doc)
protected int lastDay(Code)(Java Doc)
protected DateFieldLFImpl lf(Code)(Java Doc)
protected DEPopupLayer minutesPopup(Code)(Java Doc)
protected int mode(Code)(Java Doc)
protected DEPopupLayer monthPopup(Code)(Java Doc)
protected int nextX(Code)(Java Doc)
protected int nextY(Code)(Java Doc)
protected int popupHeight(Code)(Java Doc)
protected int popupWidth(Code)(Java Doc)
protected int selectedDate(Code)(Java Doc)
protected Command set(Code)(Java Doc)
protected int timeComponentsOffset(Code)(Java Doc)
protected DEPopupLayer yearPopup(Code)(Java Doc)

Methods inherited from javax.microedition.lcdui.DateEditor
public void callSizeChanged()(Code)(Java Doc)
public void commandAction(Command cmd, Displayable s)(Code)(Java Doc)
protected static int cos(int angle)(Code)(Java Doc)
protected int createYearStrings(int startYear)(Code)(Java Doc)
protected int daysInMonth(int month, int year)(Code)(Java Doc)
protected void drawDateComponents(Graphics g)(Code)(Java Doc)
protected void drawHoursComponent(Graphics g)(Code)(Java Doc)
protected void drawMinutesComponent(Graphics g)(Code)(Java Doc)
protected void drawMonthComponent(Graphics g)(Code)(Java Doc)
protected void drawTimeComponents(Graphics g)(Code)(Java Doc)
protected void drawYearComonent(Graphics g)(Code)(Java Doc)
void hideAllPopups()(Code)(Java Doc)
public void init()(Code)(Java Doc)
public boolean isPopupOpen()(Code)(Java Doc)
public boolean isSizeChanged()(Code)(Java Doc)
public boolean keyInput(int type, int code)(Code)(Java Doc)
protected void paintAmPm(Graphics g)(Code)(Java Doc)
public void paintBackground(Graphics g)(Code)(Java Doc)
public void paintBody(Graphics g)(Code)(Java Doc)
protected void paintCalendar(Graphics g)(Code)(Java Doc)
protected void paintTime(Graphics g)(Code)(Java Doc)
public boolean pointerInput(int type, int x, int y)(Code)(Java Doc)
protected void populateDateComponents()(Code)(Java Doc)
protected void populateTimeComponents()(Code)(Java Doc)
protected boolean selectFired()(Code)(Java Doc)
protected void setDayOffset()(Code)(Java Doc)
protected void setHoursPopupLocation()(Code)(Java Doc)
public void setLocation(int x, int y)(Code)(Java Doc)
protected void setMinutesPopupLocation()(Code)(Java Doc)
protected void setMonthPopupLocation()(Code)(Java Doc)
protected void setPopupLocation(DEPopupLayer popup, Image image, int[] bounds)(Code)(Java Doc)
public void setPopupOpen(boolean popUpOpen)(Code)(Java Doc)
public void setSizeChanged()(Code)(Java Doc)
protected void setYearPopupLocation()(Code)(Java Doc)
void show()(Code)(Java Doc)
protected static int sin(int angle)(Code)(Java Doc)
protected boolean traverseAmPm(int code)(Code)(Java Doc)
protected boolean traverseCalendar(int code)(Code)(Java Doc)
protected boolean traverseEditor(int code)(Code)(Java Doc)

Fields inherited from com.sun.midp.chameleon.layers.PopupLayer
protected Command[] commands(Code)(Java Doc)
protected CommandListener listener(Code)(Java Doc)

Methods inherited from com.sun.midp.chameleon.layers.PopupLayer
public CommandListener getCommandListener()(Code)(Java Doc)
public Command[] getCommands()(Code)(Java Doc)
public boolean handlePoint(int x, int y)(Code)(Java Doc)
public void setCommandListener(CommandListener listener)(Code)(Java Doc)
public void setCommands(Command[] commands)(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.