Java Doc for CheckedListDialogField.java in  » IDE-Eclipse » jdt » org » eclipse » jdt » internal » ui » wizards » dialogfields » 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 » IDE Eclipse » jdt » org.eclipse.jdt.internal.ui.wizards.dialogfields 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.eclipse.jdt.internal.ui.wizards.dialogfields.DialogField
      org.eclipse.jdt.internal.ui.wizards.dialogfields.ListDialogField
         org.eclipse.jdt.internal.ui.wizards.dialogfields.CheckedListDialogField

CheckedListDialogField
public class CheckedListDialogField extends ListDialogField (Code)
A list with check boxes and a button bar. Typical buttons are 'Check All' and 'Uncheck All'. List model is independent of widget creation. DialogFields controls are: Label, List and Composite containing buttons.



Constructor Summary
public  CheckedListDialogField(IListAdapter adapter, String[] customButtonLabels, ILabelProvider lprovider)
    

Method Summary
public  voidcheckAll(boolean state)
    
protected  TableViewercreateTableViewer(Composite parent)
    
public  voiddialogFieldChanged()
    
public  ListgetCheckedElements()
     Gets the checked elements.
public  intgetCheckedSize()
     Returns the number of checked elements.
public  ControlgetListControl(Composite parent)
    
protected  booleangetManagedButtonState(ISelection sel, int index)
    
public  booleanisChecked(Object obj)
     Returns true if the element is checked.
public  booleanisGrayed(Object obj)
    
protected  booleanmanagedButtonPressed(int index)
    
public  voidrefresh()
    
public  voidreplaceElement(Object oldElement, Object newElement)
    
public  voidsetCheckAllButtonIndex(int checkButtonIndex)
     Sets the index of the 'check' button in the button label array passed in the constructor.
public  voidsetChecked(Object object, boolean state)
     Sets the checked state of an element.
public  voidsetCheckedElements(Collection list)
     Sets the checked elements.
public  voidsetCheckedWithoutUpdate(Object object, boolean state)
     Sets the checked state of an element.
public  voidsetGrayedWithoutUpdate(Object object, boolean state)
    
public  voidsetUncheckAllButtonIndex(int uncheckButtonIndex)
     Sets the index of the 'uncheck' button in the button label array passed in the constructor.


Constructor Detail
CheckedListDialogField
public CheckedListDialogField(IListAdapter adapter, String[] customButtonLabels, ILabelProvider lprovider)(Code)




Method Detail
checkAll
public void checkAll(boolean state)(Code)
Sets the check state of all elements



createTableViewer
protected TableViewer createTableViewer(Composite parent)(Code)



dialogFieldChanged
public void dialogFieldChanged()(Code)



getCheckedElements
public List getCheckedElements()(Code)
Gets the checked elements.



getCheckedSize
public int getCheckedSize()(Code)
Returns the number of checked elements.



getListControl
public Control getListControl(Composite parent)(Code)



getManagedButtonState
protected boolean getManagedButtonState(ISelection sel, int index)(Code)



isChecked
public boolean isChecked(Object obj)(Code)
Returns true if the element is checked.



isGrayed
public boolean isGrayed(Object obj)(Code)



managedButtonPressed
protected boolean managedButtonPressed(int index)(Code)



refresh
public void refresh()(Code)



replaceElement
public void replaceElement(Object oldElement, Object newElement) throws IllegalArgumentException(Code)



setCheckAllButtonIndex
public void setCheckAllButtonIndex(int checkButtonIndex)(Code)
Sets the index of the 'check' button in the button label array passed in the constructor. The behavior of the button marked as the check button will then be handled internally. (enable state, button invocation behavior)



setChecked
public void setChecked(Object object, boolean state)(Code)
Sets the checked state of an element.



setCheckedElements
public void setCheckedElements(Collection list)(Code)
Sets the checked elements.



setCheckedWithoutUpdate
public void setCheckedWithoutUpdate(Object object, boolean state)(Code)
Sets the checked state of an element. No dialog changed listener is informed.



setGrayedWithoutUpdate
public void setGrayedWithoutUpdate(Object object, boolean state)(Code)



setUncheckAllButtonIndex
public void setUncheckAllButtonIndex(int uncheckButtonIndex)(Code)
Sets the index of the 'uncheck' button in the button label array passed in the constructor. The behavior of the button marked as the uncheck button will then be handled internally. (enable state, button invocation behavior)



Fields inherited from org.eclipse.jdt.internal.ui.wizards.dialogfields.ListDialogField
protected String[] fButtonLabels(Code)(Java Doc)
protected List fElements(Code)(Java Doc)
protected ILabelProvider fLabelProvider(Code)(Java Doc)
protected ListViewerAdapter fListViewerAdapter(Code)(Java Doc)
protected TableViewer fTable(Code)(Java Doc)
protected Control fTableControl(Code)(Java Doc)
protected ViewerComparator fViewerComparator(Code)(Java Doc)

Methods inherited from org.eclipse.jdt.internal.ui.wizards.dialogfields.ListDialogField
public boolean addElement(Object element)(Code)(Java Doc)
public boolean addElement(Object element, int index)(Code)(Java Doc)
public boolean addElements(List elements, int index)(Code)(Java Doc)
public boolean addElements(List elements)(Code)(Java Doc)
public boolean canMoveDown()(Code)(Java Doc)
public boolean canMoveUp()(Code)(Java Doc)
protected Button createButton(Composite parent, String label, SelectionListener listener)(Code)(Java Doc)
protected TableViewer createTableViewer(Composite parent)(Code)(Java Doc)
public void dialogFieldChanged()(Code)(Java Doc)
protected void doDoubleClick(DoubleClickEvent event)(Code)(Java Doc)
public Control[] doFillIntoGrid(Composite parent, int nColumns)(Code)(Java Doc)
protected void doListSelected(SelectionChangedEvent event)(Code)(Java Doc)
public void editElement(Object element)(Code)(Java Doc)
public void elementChanged(Object element) throws IllegalArgumentException(Code)(Java Doc)
public void enableButton(int index, boolean enable)(Code)(Java Doc)
public Composite getButtonBox(Composite parent)(Code)(Java Doc)
public Object getElement(int index)(Code)(Java Doc)
public List getElements()(Code)(Java Doc)
public int getIndexOfElement(Object elem)(Code)(Java Doc)
public Control getListControl(Composite parent)(Code)(Java Doc)
protected int getListStyle()(Code)(Java Doc)
protected boolean getManagedButtonState(ISelection sel, int index)(Code)(Java Doc)
public int getNumberOfControls()(Code)(Java Doc)
public List getSelectedElements()(Code)(Java Doc)
public int getSize()(Code)(Java Doc)
public TableViewer getTableViewer()(Code)(Java Doc)
protected void handleKeyPressed(KeyEvent event)(Code)(Java Doc)
protected boolean managedButtonPressed(int index)(Code)(Java Doc)
public void postSetSelection(ISelection selection)(Code)(Java Doc)
public void refresh()(Code)(Java Doc)
public void removeAllElements()(Code)(Java Doc)
public void removeElement(Object element) throws IllegalArgumentException(Code)(Java Doc)
public void removeElements(List elements)(Code)(Java Doc)
public void replaceElement(Object oldElement, Object newElement) throws IllegalArgumentException(Code)(Java Doc)
public void selectElements(ISelection selection)(Code)(Java Doc)
public void selectFirstElement()(Code)(Java Doc)
public void setButtonsMinWidth(int minWidth)(Code)(Java Doc)
public void setDownButtonIndex(int downButtonIndex)(Code)(Java Doc)
public void setElements(Collection elements)(Code)(Java Doc)
public void setRemoveButtonIndex(int removeButtonIndex)(Code)(Java Doc)
public void setTableColumns(ColumnsDescription column)(Code)(Java Doc)
public void setUpButtonIndex(int upButtonIndex)(Code)(Java Doc)
public void setViewerComparator(ViewerComparator viewerComparator)(Code)(Java Doc)
public void setViewerSorter(ViewerSorter sorter)(Code)(Java Doc)
protected void updateButtonState()(Code)(Java Doc)
protected void updateEnableState()(Code)(Java Doc)

Fields inherited from org.eclipse.jdt.internal.ui.wizards.dialogfields.DialogField
protected String fLabelText(Code)(Java Doc)

Methods inherited from org.eclipse.jdt.internal.ui.wizards.dialogfields.DialogField
final protected void assertCompositeNotNull(Composite comp)(Code)(Java Doc)
final protected void assertEnoughColumns(int nColumns)(Code)(Java Doc)
public static Control createEmptySpace(Composite parent)(Code)(Java Doc)
public static Control createEmptySpace(Composite parent, int span)(Code)(Java Doc)
public void dialogFieldChanged()(Code)(Java Doc)
public Control[] doFillIntoGrid(Composite parent, int nColumns)(Code)(Java Doc)
public Label getLabelControl(Composite parent)(Code)(Java Doc)
public int getNumberOfControls()(Code)(Java Doc)
protected static GridData gridDataForLabel(int span)(Code)(Java Doc)
final public boolean isEnabled()(Code)(Java Doc)
final protected boolean isOkToUse(Control control)(Code)(Java Doc)
public void postSetFocusOnDialogField(Display display)(Code)(Java Doc)
public void refresh()(Code)(Java Doc)
final public void setDialogFieldListener(IDialogFieldListener listener)(Code)(Java Doc)
final public void setEnabled(boolean enabled)(Code)(Java Doc)
public boolean setFocus()(Code)(Java Doc)
public void setLabelText(String labeltext)(Code)(Java Doc)
protected void updateEnableState()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

w__w__w_.___j___a__v_a2s___.___c_o__m__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.