Java Doc for ChoiceGroupLF.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) 


javax.microedition.lcdui.ChoiceGroupLF

All known Subclasses:   javax.microedition.lcdui.ChoiceGroupLFImpl,
ChoiceGroupLF
interface ChoiceGroupLF extends ItemLF(Code)
Look and Feel interface used by ChoiceGroup.

See Naming Conventions for information about method naming conventions.





Method Summary
 FontgetDefaultFont()
    
 voidlDelete(int elementNum)
     Notifies L&F that an element referenced by elementNum was deleted in the corresponding ChoiceGroup.
 voidlDeleteAll()
     Notifies L&F that all elements were deleted in the corresponding ChoiceGroup.
 intlGetSelectedFlags(boolean[] selectedArray_return)
     Get selected flags.
 intlGetSelectedIndex()
     Get current selected index.
 voidlInsert(int elementNum, String stringPart, Image imagePart)
     Notifies L&F that an element was inserted into the ChoiceGroup at the the elementNum specified.
 booleanlIsSelected(int elementNum)
     Determines if an element with a passed in index is selected or not.
 voidlSet(int elementNum, String stringPart, Image imagePart)
     Notifies L&F that the String and Image parts of the element referenced by elementNum were set in the corresponding ChoiceGroup, replacing the previous contents of the element.
 voidlSetFitPolicy(int fitPolicy)
     Notifies L&F that a new text fit policy was set in the corresponding ChoiceGroup.
 voidlSetFont(int elementNum, Font font)
     Notifies L&F that a new font was set for an element with the specified elementNum in the corresponding ChoiceGroup.
 voidlSetSelectedFlags(boolean[] selectedArray)
     Notifies L&F that selected state was changed on several elements in the corresponding MULTIPLE ChoiceGroup.
 voidlSetSelectedIndex(int elementNum, boolean selected)
     Notifies L&F that an element was selected/deselected in the corresponding ChoiceGroup.
Parameters:
  elementNum - the number of the element.



Method Detail
getDefaultFont
Font getDefaultFont()(Code)
Gets default font to render ChoiceGroup element if it was not set by the application - the font to render ChoiceGroup element if it was not set by the app



lDelete
void lDelete(int elementNum)(Code)
Notifies L&F that an element referenced by elementNum was deleted in the corresponding ChoiceGroup.
Parameters:
  elementNum - the index of the deleted element



lDeleteAll
void lDeleteAll()(Code)
Notifies L&F that all elements were deleted in the corresponding ChoiceGroup.



lGetSelectedFlags
int lGetSelectedFlags(boolean[] selectedArray_return)(Code)
Get selected flags.
Parameters:
  selectedArray_return - to contain the results the number of selected elements



lGetSelectedIndex
int lGetSelectedIndex()(Code)
Get current selected index. currently selected index



lInsert
void lInsert(int elementNum, String stringPart, Image imagePart)(Code)
Notifies L&F that an element was inserted into the ChoiceGroup at the the elementNum specified.
Parameters:
  elementNum - the index of the element where insertion occurred
Parameters:
  stringPart - the string part of the element to be inserted
Parameters:
  imagePart - the image part of the element to be inserted,or null if there is no image part



lIsSelected
boolean lIsSelected(int elementNum)(Code)
Determines if an element with a passed in index is selected or not.
Parameters:
  elementNum - the index of an element in question true if the element is selected, false - otherwise



lSet
void lSet(int elementNum, String stringPart, Image imagePart)(Code)
Notifies L&F that the String and Image parts of the element referenced by elementNum were set in the corresponding ChoiceGroup, replacing the previous contents of the element.
Parameters:
  elementNum - the index of the element set
Parameters:
  stringPart - the string part of the new element
Parameters:
  imagePart - the image part of the element, or nullif there is no image part



lSetFitPolicy
void lSetFitPolicy(int fitPolicy)(Code)
Notifies L&F that a new text fit policy was set in the corresponding ChoiceGroup.
Parameters:
  fitPolicy - preferred content fit policy for choice elements



lSetFont
void lSetFont(int elementNum, Font font)(Code)
Notifies L&F that a new font was set for an element with the specified elementNum in the corresponding ChoiceGroup.
Parameters:
  elementNum - the index of the element, starting from zero
Parameters:
  font - the preferred font to use to render the element



lSetSelectedFlags
void lSetSelectedFlags(boolean[] selectedArray)(Code)
Notifies L&F that selected state was changed on several elements in the corresponding MULTIPLE ChoiceGroup.
Parameters:
  selectedArray - an array in which the method collect theselection status



lSetSelectedIndex
void lSetSelectedIndex(int elementNum, boolean selected)(Code)
Notifies L&F that an element was selected/deselected in the corresponding ChoiceGroup.
Parameters:
  elementNum - the number of the element. Indexing of theelements is zero-based
Parameters:
  selected - the new state of the element true=selected,false=not selected



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