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


java.lang.Object
   org.eclipse.ui.internal.presentations.util.AbstractTabFolder

All known Subclasses:   org.eclipse.ui.internal.presentations.defaultpresentation.EmptyTabFolder,  org.eclipse.ui.internal.presentations.r33.DefaultTabFolder,  org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder,  org.eclipse.ui.internal.presentations.defaultpresentation.NativeTabFolder,
AbstractTabFolder
abstract public class AbstractTabFolder (Code)

since:
   3.1




Method Summary
abstract public  AbstractTabItemadd(int index, int flags)
    
final public  voidaddListener(TabFolderListener newListener)
    
protected  voidattachListeners(Control theControl, boolean recursive)
    
abstract public  PointcomputeSize(int widthHint, int heightHint)
    
protected  voiddetachListeners(Control theControl, boolean recursive)
    
abstract public  voidenablePaneMenu(boolean enabled)
    
public  AbstractTabItemfindItem(Object dataToFind)
    
final protected  voidfireEvent(TabFolderEvent e)
    
final protected  voidfireEvent(int id)
    
final protected  voidfireEvent(int id, AbstractTabItem w)
    
final protected  voidfireEvent(int id, AbstractTabItem w, Point pos)
    
public  voidflushToolbarSize()
    
public  intgetActive()
    
abstract public  CompositegetContentParent()
    
abstract public  ControlgetControl()
     Returns the main control for this folder.
public  AbstractTabItemgetItem(int idx)
    
public  AbstractTabItemgetItem(Point toFind)
    
public  intgetItemCount()
    
abstract public  AbstractTabItem[]getItems()
    
public  PointgetPaneMenuLocation()
    
public  PointgetPartListLocation()
    
abstract public  AbstractTabItemgetSelection()
    
public  intgetState()
    
public  PointgetSystemMenuLocation()
    
abstract public  RectanglegetTabArea()
    
public  intgetTabPosition()
    
final public  ControlgetToolbar()
    
abstract public  CompositegetToolbarParent()
     Returns the parent composite that should be used for creating the toolbar.
protected  voidhandleContextMenu(Point displayPos, Event e)
    
protected  voidhandleDoubleClick(Point displayPos, MouseEvent e)
    
protected  voidhandleDragStarted(Point displayPos, Event e)
    
protected  voidhandleMouseDown(Point displayPos, MouseEvent e)
    
public  intindexOf(AbstractTabItem item)
     Returns the index of the given item, or -1 if the given item is not found in this tab folder.
public  booleanisOnBorder(Point toTest)
     Returns true iff the given point is on the border of the folder.
public  voidlayout(boolean flushCache)
    
final public  voidremoveListener(TabFolderListener toRemove)
    
public  voidsetActive(int activeState)
    
abstract public  voidsetContent(Control newContent)
    
abstract public  voidsetSelectedInfo(PartInfo info)
    
abstract public  voidsetSelection(AbstractTabItem toSelect)
    
public  voidsetState(int state)
    
public  voidsetTabPosition(int tabPosition)
    
public  voidsetToolbar(Control toolbarControl)
    
public  voidsetVisible(boolean visible)
     Set the folder to visible.
public  voidshellActive(boolean isActive)
     Called when the tab folder's shell becomes active or inactive.
public  voidshowMinMax(boolean show)
     Cause the folder to hide or show its Minimize and Maximize affordances.



Method Detail
add
abstract public AbstractTabItem add(int index, int flags)(Code)



addListener
final public void addListener(TabFolderListener newListener)(Code)
Adds the given listener to this AbstractTabFolder
Parameters:
  newListener - the listener to add



attachListeners
protected void attachListeners(Control theControl, boolean recursive)(Code)



computeSize
abstract public Point computeSize(int widthHint, int heightHint)(Code)



detachListeners
protected void detachListeners(Control theControl, boolean recursive)(Code)



enablePaneMenu
abstract public void enablePaneMenu(boolean enabled)(Code)



findItem
public AbstractTabItem findItem(Object dataToFind)(Code)



fireEvent
final protected void fireEvent(TabFolderEvent e)(Code)



fireEvent
final protected void fireEvent(int id)(Code)



fireEvent
final protected void fireEvent(int id, AbstractTabItem w)(Code)



fireEvent
final protected void fireEvent(int id, AbstractTabItem w, Point pos)(Code)



flushToolbarSize
public void flushToolbarSize()(Code)



getActive
public int getActive()(Code)



getContentParent
abstract public Composite getContentParent()(Code)



getControl
abstract public Control getControl()(Code)
Returns the main control for this folder. the main control for the folder
since:
   3.1



getItem
public AbstractTabItem getItem(int idx)(Code)



getItem
public AbstractTabItem getItem(Point toFind)(Code)



getItemCount
public int getItemCount()(Code)



getItems
abstract public AbstractTabItem[] getItems()(Code)



getPaneMenuLocation
public Point getPaneMenuLocation()(Code)
Returns the location where the pane menu should be opened when activated by a keyboard shortcut (display coordinates) the location for the pane menu (display coordinates)
since:
   3.1



getPartListLocation
public Point getPartListLocation()(Code)
Returns the location where the part list should be opened when activated by a keyboard shortcut (display coordinates) the location for the part list (display coordinates)
since:
   3.1



getSelection
abstract public AbstractTabItem getSelection()(Code)



getState
public int getState()(Code)



getSystemMenuLocation
public Point getSystemMenuLocation()(Code)
Returns the location where the pane menu should be opened when activated by a keyboard shortcut (display coordinates) the location for the pane menu (display coordinates)
since:
   3.1



getTabArea
abstract public Rectangle getTabArea()(Code)
Returns the title area for this control (in the control's coordinate system)



getTabPosition
public int getTabPosition()(Code)



getToolbar
final public Control getToolbar()(Code)



getToolbarParent
abstract public Composite getToolbarParent()(Code)
Returns the parent composite that should be used for creating the toolbar. Any control passed into setToolbar must have this composite as its parent. the parent composite that should be used for creating the toolbar
since:
   3.1



handleContextMenu
protected void handleContextMenu(Point displayPos, Event e)(Code)



handleDoubleClick
protected void handleDoubleClick(Point displayPos, MouseEvent e)(Code)



handleDragStarted
protected void handleDragStarted(Point displayPos, Event e)(Code)



handleMouseDown
protected void handleMouseDown(Point displayPos, MouseEvent e)(Code)



indexOf
public int indexOf(AbstractTabItem item)(Code)
Returns the index of the given item, or -1 if the given item is not found in this tab folder. Subclasses should override this if the underlying SWT widget has an equivalent method
Parameters:
  item - item to find the index of the given item or -1



isOnBorder
public boolean isOnBorder(Point toTest)(Code)
Returns true iff the given point is on the border of the folder. By default, double-clicking, context menus, and drag/drop are disabled on the folder's border.
Parameters:
  toTest - a point (display coordinates) true iff the point is on the presentation border
since:
   3.1



layout
public void layout(boolean flushCache)(Code)



removeListener
final public void removeListener(TabFolderListener toRemove)(Code)
Removes the given listener from this AbstractTabFolder
Parameters:
  toRemove - the listener to remove



setActive
public void setActive(int activeState)(Code)



setContent
abstract public void setContent(Control newContent)(Code)



setSelectedInfo
abstract public void setSelectedInfo(PartInfo info)(Code)



setSelection
abstract public void setSelection(AbstractTabItem toSelect)(Code)



setState
public void setState(int state)(Code)
Sets the current state for the folder
Parameters:
  state - one of the IStackPresentationSite.STATE_* constants



setTabPosition
public void setTabPosition(int tabPosition)(Code)



setToolbar
public void setToolbar(Control toolbarControl)(Code)



setVisible
public void setVisible(boolean visible)(Code)
Set the folder to visible. This can be extended to propogate the visibility request to other components in the subclass.
Parameters:
  visible - true - the folder is visible.
since:
   3.2



shellActive
public void shellActive(boolean isActive)(Code)
Called when the tab folder's shell becomes active or inactive. Subclasses can override this to change the appearance of the tabs based on activation.
Parameters:
  isActive -



showMinMax
public void showMinMax(boolean show)(Code)
Cause the folder to hide or show its Minimize and Maximize affordances.
Parameters:
  show - true - the min/max buttons are visible.
since:
   3.3



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)

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