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


org.eclipse.ui.internal.forms.widgets.FormHeading

FormHeading
public class FormHeading extends Canvas (Code)
Form header moved out of the form class.


Field Summary
final public static  StringCOLOR_BASE_BG
    
static  IMessage[]NULL_MESSAGE_ARRAY
    
 Hashtablecolors
    

Constructor Summary
public  FormHeading(Composite parent, int style)
     Creates the form content control as a child of the provided parent.

Method Summary
public  voidaddDragSupport(int operations, Transfer[] transferTypes, DragSourceListener listener)
    
public  voidaddDropSupport(int operations, Transfer[] transferTypes, DropTargetListener listener)
    
public  voidaddMessageHyperlinkListener(IHyperlinkListener listener)
    
final public  PointcomputeSize(int wHint, int hHint, boolean changed)
     Fully delegates the size computation to the internal layout manager.
public  IMessage[]getChildrenMessages()
    
public  ColorgetColor(String key)
    
public  ControlgetHeadClient()
    
public  ImagegetHeadingBackgroundImage()
    
public  ImagegetImage()
     Returns the title image that will be rendered to the left of the title.
public  IMenuManagergetMenuManager()
     Returns the menu manager that is used to manage tool items in the form's title area.
public  StringgetMessage()
    
public  IMessageToolTipManagergetMessageToolTipManager()
    
public  intgetMessageType()
    
public  StringgetText()
     Returns the title text that will be rendered at the top of the form.
public  intgetToolBarAlignment()
    
public  IToolBarManagergetToolBarManager()
     Returns the tool bar manager that is used to manage tool items in the form's title area.
public  booleanhasColor(String key)
    
public  booleanisBackgroundImageTiled()
    
public  booleanisBusy()
     Tests if the form is in the 'busy' state.
public  booleanisSeparatorVisible()
    
public  voidputColor(String key, Color color)
    
public  voidremoveMessageHyperlinkListener(IHyperlinkListener listener)
    
public  voidsetBackground(Color bg)
     Sets the background color of the header.
public  voidsetBackgroundImage(Image image)
    
public  voidsetBackgroundImageTiled(boolean tiled)
    
public  voidsetBusy(boolean busy)
     Sets the form's busy state.
public  voidsetFont(Font font)
    
public  voidsetForeground(Color fg)
     Sets the foreground color of the header.
public  voidsetHeadClient(Control headClient)
    
public  voidsetHeadingBackgroundImage(Image image)
    
public  voidsetImage(Image image)
     Sets the image to be rendered to the left of the title.
final public  voidsetLayout(Layout layout)
     Prevents from changing the custom control layout.
public  voidsetMessageToolTipManager(IMessageToolTipManager messageToolTipManager)
    
public  voidsetSeparatorVisible(boolean addSeparator)
    
public  voidsetText(String text)
     Sets the text to be rendered at the top of the form above the body as a title.
public  voidsetTextBackground(Color[] gradientColors, int[] percents, boolean vertical)
    
public  voidsetToolBarAlignment(int alignment)
    
public  voidshowMessage(String newMessage, int type, IMessage[] messages)
    
public  voidupdateToolBar()
     Updates the local tool bar manager if used.

Field Detail
COLOR_BASE_BG
final public static String COLOR_BASE_BG(Code)



NULL_MESSAGE_ARRAY
static IMessage[] NULL_MESSAGE_ARRAY(Code)



colors
Hashtable colors(Code)




Constructor Detail
FormHeading
public FormHeading(Composite parent, int style)(Code)
Creates the form content control as a child of the provided parent.
Parameters:
  parent - the parent widget




Method Detail
addDragSupport
public void addDragSupport(int operations, Transfer[] transferTypes, DragSourceListener listener)(Code)



addDropSupport
public void addDropSupport(int operations, Transfer[] transferTypes, DropTargetListener listener)(Code)



addMessageHyperlinkListener
public void addMessageHyperlinkListener(IHyperlinkListener listener)(Code)



computeSize
final public Point computeSize(int wHint, int hHint, boolean changed)(Code)
Fully delegates the size computation to the internal layout manager.



getChildrenMessages
public IMessage[] getChildrenMessages()(Code)



getColor
public Color getColor(String key)(Code)



getHeadClient
public Control getHeadClient()(Code)



getHeadingBackgroundImage
public Image getHeadingBackgroundImage()(Code)



getImage
public Image getImage()(Code)
Returns the title image that will be rendered to the left of the title. the title image
since:
   3.2



getMenuManager
public IMenuManager getMenuManager()(Code)
Returns the menu manager that is used to manage tool items in the form's title area. form drop-down menu manager
since:
   3.3



getMessage
public String getMessage()(Code)



getMessageToolTipManager
public IMessageToolTipManager getMessageToolTipManager()(Code)



getMessageType
public int getMessageType()(Code)



getText
public String getText()(Code)
Returns the title text that will be rendered at the top of the form. the title text



getToolBarAlignment
public int getToolBarAlignment()(Code)



getToolBarManager
public IToolBarManager getToolBarManager()(Code)
Returns the tool bar manager that is used to manage tool items in the form's title area. form tool bar manager



hasColor
public boolean hasColor(String key)(Code)



isBackgroundImageTiled
public boolean isBackgroundImageTiled()(Code)



isBusy
public boolean isBusy()(Code)
Tests if the form is in the 'busy' state. true if busy, false otherwise.



isSeparatorVisible
public boolean isSeparatorVisible()(Code)



putColor
public void putColor(String key, Color color)(Code)



removeMessageHyperlinkListener
public void removeMessageHyperlinkListener(IHyperlinkListener listener)(Code)



setBackground
public void setBackground(Color bg)(Code)
Sets the background color of the header.



setBackgroundImage
public void setBackgroundImage(Image image)(Code)



setBackgroundImageTiled
public void setBackgroundImageTiled(boolean tiled)(Code)



setBusy
public void setBusy(boolean busy)(Code)
Sets the form's busy state. Busy form will display 'busy' animation in the area of the title image.
Parameters:
  busy - the form's busy state



setFont
public void setFont(Font font)(Code)



setForeground
public void setForeground(Color fg)(Code)
Sets the foreground color of the header.



setHeadClient
public void setHeadClient(Control headClient)(Code)



setHeadingBackgroundImage
public void setHeadingBackgroundImage(Image image)(Code)



setImage
public void setImage(Image image)(Code)
Sets the image to be rendered to the left of the title.
Parameters:
  image - the title image or null to show no image.
since:
   3.2



setLayout
final public void setLayout(Layout layout)(Code)
Prevents from changing the custom control layout.



setMessageToolTipManager
public void setMessageToolTipManager(IMessageToolTipManager messageToolTipManager)(Code)



setSeparatorVisible
public void setSeparatorVisible(boolean addSeparator)(Code)



setText
public void setText(String text)(Code)
Sets the text to be rendered at the top of the form above the body as a title.
Parameters:
  text - the title text



setTextBackground
public void setTextBackground(Color[] gradientColors, int[] percents, boolean vertical)(Code)



setToolBarAlignment
public void setToolBarAlignment(int alignment)(Code)



showMessage
public void showMessage(String newMessage, int type, IMessage[] messages)(Code)



updateToolBar
public void updateToolBar()(Code)
Updates the local tool bar manager if used. Does nothing if local tool bar manager has not been created yet.



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