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

All known Subclasses:   org.eclipse.jdt.internal.ui.wizards.dialogfields.SelectionButtonDialogFieldGroup,  org.eclipse.jdt.internal.ui.wizards.dialogfields.Separator,  org.eclipse.jdt.internal.ui.wizards.dialogfields.SelectionButtonDialogField,  org.eclipse.jdt.internal.ui.wizards.dialogfields.ListDialogField,  org.eclipse.jdt.internal.ui.wizards.dialogfields.ComboDialogField,  org.eclipse.jdt.internal.ui.wizards.dialogfields.StringDialogField,  org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField,
DialogField
public class DialogField (Code)
Base class of all dialog fields. Dialog fields manage controls together with the model, independed from the creation time of the widgets. - support for automated layouting. - enable / disable, set focus a concept of the base class. DialogField have a label.


Field Summary
protected  StringfLabelText
    

Constructor Summary
public  DialogField()
    

Method Summary
final protected  voidassertCompositeNotNull(Composite comp)
    
final protected  voidassertEnoughColumns(int nColumns)
    
public static  ControlcreateEmptySpace(Composite parent)
     Creates a spacer control.
public static  ControlcreateEmptySpace(Composite parent, int span)
     Creates a spacer control with the given span.
public  voiddialogFieldChanged()
     Programatical invocation of a dialog field change.
public  Control[]doFillIntoGrid(Composite parent, int nColumns)
     Creates all controls of the dialog field and fills it to a composite.
public  LabelgetLabelControl(Composite parent)
     Creates or returns the created label widget.
public  intgetNumberOfControls()
     Returns the number of columns of the dialog field.
protected static  GridDatagridDataForLabel(int span)
    
final public  booleanisEnabled()
     Gets the enable state of the dialog field.
final protected  booleanisOkToUse(Control control)
     Tests is the control is not null and not disposed.
public  voidpostSetFocusOnDialogField(Display display)
     Posts setFocus to the display event queue.
public  voidrefresh()
     Brings the UI in sync with the model.
final public  voidsetDialogFieldListener(IDialogFieldListener listener)
     Defines the listener for this dialog field.
final public  voidsetEnabled(boolean enabled)
     Sets the enable state of the dialog field.
public  booleansetFocus()
     Tries to set the focus to the dialog field.
public  voidsetLabelText(String labeltext)
     Sets the label of the dialog field.
protected  voidupdateEnableState()
     Called when the enable state changed.

Field Detail
fLabelText
protected String fLabelText(Code)




Constructor Detail
DialogField
public DialogField()(Code)




Method Detail
assertCompositeNotNull
final protected void assertCompositeNotNull(Composite comp)(Code)



assertEnoughColumns
final protected void assertEnoughColumns(int nColumns)(Code)



createEmptySpace
public static Control createEmptySpace(Composite parent)(Code)
Creates a spacer control.
Parameters:
  parent - The parent composite



createEmptySpace
public static Control createEmptySpace(Composite parent, int span)(Code)
Creates a spacer control with the given span. The composite is assumed to have MGridLayout as layout.
Parameters:
  parent - The parent composite



dialogFieldChanged
public void dialogFieldChanged()(Code)
Programatical invocation of a dialog field change.



doFillIntoGrid
public Control[] doFillIntoGrid(Composite parent, int nColumns)(Code)
Creates all controls of the dialog field and fills it to a composite. The composite is assumed to have MGridLayout as layout. The dialog field will adjust its controls' spans to the number of columns given. To be reimplemented by dialog field implementors.



getLabelControl
public Label getLabelControl(Composite parent)(Code)
Creates or returns the created label widget.
Parameters:
  parent - The parent composite or null if the widget hasalready been created.



getNumberOfControls
public int getNumberOfControls()(Code)
Returns the number of columns of the dialog field. To be reimplemented by dialog field implementors.



gridDataForLabel
protected static GridData gridDataForLabel(int span)(Code)



isEnabled
final public boolean isEnabled()(Code)
Gets the enable state of the dialog field.



isOkToUse
final protected boolean isOkToUse(Control control)(Code)
Tests is the control is not null and not disposed.



postSetFocusOnDialogField
public void postSetFocusOnDialogField(Display display)(Code)
Posts setFocus to the display event queue.



refresh
public void refresh()(Code)
Brings the UI in sync with the model. Only needed when model was changed in different thread whil UI was lready created.



setDialogFieldListener
final public void setDialogFieldListener(IDialogFieldListener listener)(Code)
Defines the listener for this dialog field.



setEnabled
final public void setEnabled(boolean enabled)(Code)
Sets the enable state of the dialog field.



setFocus
public boolean setFocus()(Code)
Tries to set the focus to the dialog field. Returns true if the dialog field can take focus. To be reimplemented by dialog field implementors.



setLabelText
public void setLabelText(String labeltext)(Code)
Sets the label of the dialog field.



updateEnableState
protected void updateEnableState()(Code)
Called when the enable state changed. To be extended by dialog field implementors.



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_ww___.__j___a___v__a2__s.__c___o__m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.