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


org.eclipse.ui.internal.progress.VirtualInfoItem

VirtualInfoItem
class VirtualInfoItem extends Canvas (Code)
VirtualInfoItem is the item used to show jobs which only displays when it is visible.
since:
   3.1

Inner Class :interface IndexListener

Field Summary
static  StringCLEAR_FINISHED_JOB_KEY
    
static  StringDARK_COLOR_KEY
    
static  StringDEFAULT_JOB_KEY
    
static  StringDISABLED_CLEAR_FINISHED_JOB_KEY
    
static  StringDISABLED_STOP_IMAGE_KEY
    
final static  intMAX_PROGRESS_HEIGHT
    
final static  intMIN_ICON_SIZE
    
static  StringSTOP_IMAGE_KEY
    
 ToolBaractionBar
    
 ToolItemactionButton
    
 IndexListenerindexListener
    
 JobTreeElementinfo
    
 LabelprogressLabel
    
 ListtaskEntries
    

Constructor Summary
public  VirtualInfoItem(Composite parent, int style, JobTreeElement progressInfo)
    

Method Summary
protected  voidcancelOrRemove()
     Cancel or remove the reciever.
protected  voidcreateChildren()
    
 voidcreateProgressBar(int style)
     Create the progress bar and apply any style bits from style.
 StringgetJobInfoFinishedString(Job job, boolean withTime)
     Return the finished String for a job.
protected  StringgetJobNameAndStatus()
     Get the name and status for the main label.
 booleanisSelected()
     Return whether or not the receiver is selected.
 voidrefresh()
     Refresh the contents of the receiver.
 voidselectWidgets(boolean select)
     Set the selection colors.
 voidsetButtonFocus()
     Set the focus to the button.
public  voidsetColor(int i)
    
 voidsetDisplayed(int top, int bottom)
     Set whether or not the receiver is being displayed based on the top and bottom of the currently visible area.
 voidsetIndexListener(IndexListener indexListener)
     Set the listener for index changes.
 voidsetLinkText(Job linkJob, String taskString, int index)
     Set the text of the link to the taskString.

Field Detail
CLEAR_FINISHED_JOB_KEY
static String CLEAR_FINISHED_JOB_KEY(Code)



DARK_COLOR_KEY
static String DARK_COLOR_KEY(Code)



DEFAULT_JOB_KEY
static String DEFAULT_JOB_KEY(Code)



DISABLED_CLEAR_FINISHED_JOB_KEY
static String DISABLED_CLEAR_FINISHED_JOB_KEY(Code)



DISABLED_STOP_IMAGE_KEY
static String DISABLED_STOP_IMAGE_KEY(Code)



MAX_PROGRESS_HEIGHT
final static int MAX_PROGRESS_HEIGHT(Code)



MIN_ICON_SIZE
final static int MIN_ICON_SIZE(Code)



STOP_IMAGE_KEY
static String STOP_IMAGE_KEY(Code)



actionBar
ToolBar actionBar(Code)



actionButton
ToolItem actionButton(Code)



indexListener
IndexListener indexListener(Code)



info
JobTreeElement info(Code)



progressLabel
Label progressLabel(Code)



taskEntries
List taskEntries(Code)




Constructor Detail
VirtualInfoItem
public VirtualInfoItem(Composite parent, int style, JobTreeElement progressInfo)(Code)
Create a new instance of the receiver with the specified parent, style and info object/
Parameters:
  parent -
Parameters:
  style -
Parameters:
  progressInfo -




Method Detail
cancelOrRemove
protected void cancelOrRemove()(Code)
Cancel or remove the reciever.



createChildren
protected void createChildren()(Code)



createProgressBar
void createProgressBar(int style)(Code)
Create the progress bar and apply any style bits from style.
Parameters:
  style -



getJobInfoFinishedString
String getJobInfoFinishedString(Job job, boolean withTime)(Code)
Return the finished String for a job.
Parameters:
  job - the completed Job
Parameters:
  withTime - String



getJobNameAndStatus
protected String getJobNameAndStatus()(Code)
Get the name and status for the main label. String



isSelected
boolean isSelected()(Code)
Return whether or not the receiver is selected. boolean



refresh
void refresh()(Code)
Refresh the contents of the receiver.



selectWidgets
void selectWidgets(boolean select)(Code)
Set the selection colors.
Parameters:
  select - boolean that indicates whether or not to show selection.



setButtonFocus
void setButtonFocus()(Code)
Set the focus to the button.



setColor
public void setColor(int i)(Code)
Set the color base on the index
Parameters:
  i -



setDisplayed
void setDisplayed(int top, int bottom)(Code)
Set whether or not the receiver is being displayed based on the top and bottom of the currently visible area.
Parameters:
  top -
Parameters:
  bottom -



setIndexListener
void setIndexListener(IndexListener indexListener)(Code)
Set the listener for index changes.
Parameters:
  indexListener -



setLinkText
void setLinkText(Job linkJob, String taskString, int index)(Code)
Set the text of the link to the taskString.
Parameters:
  taskString -



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