Java Doc for FrameList.java in  » IDE-Eclipse » ui-ide » org » eclipse » ui » views » framelist » 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 ide » org.eclipse.ui.views.framelist 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.eclipse.ui.views.framelist.FrameList

FrameList
public class FrameList extends EventManager (Code)
Supports a web-browser style of navigation by maintaining a list of frames. Each frame holds a snapshot of a view at some point in time.

The frame list obtains a snapshot of the current frame from a frame source on creation, and whenever switching to a different frame.

A property change notification is sent whenever the current page changes.



Field Summary
final public static  StringP_CURRENT_FRAME
     Property name constant for the current frame.

Constructor Summary
public  FrameList(IFrameSource source)
     Creates a new frame list with the given source.

Method Summary
public  voidaddPropertyChangeListener(IPropertyChangeListener listener)
     Adds a property change listener.
public  voidback()
     Moves the frame pointer back by one.
protected  voidfirePropertyChange(PropertyChangeEvent event)
     Notifies any property change listeners that a property has changed.
public  voidforward()
     Moves the frame pointer forward by one.
public  FramegetCurrentFrame()
     Returns the current frame.
public  intgetCurrentIndex()
     Returns the index of the current frame.
public  FramegetFrame(int index)
     Returns the frame at the given index, or null if the index is ≤ 0 or ≥ size().
public  IFrameSourcegetSource()
     Returns the frame source.
public  voidgotoFrame(Frame frame)
     Adds the given frame after the current frame, and advances the pointer to the new frame.
public  voidremovePropertyChangeListener(IPropertyChangeListener listener)
     Removes a property change listener.
 voidsetCurrent(int newCurrent)
     Sets the current frame to the one with the given index.
public  voidsetCurrentIndex(int index)
     Sets the current frame to the frame with the given index.
public  intsize()
     Returns the number of frames in the frame list.
public  voidupdateCurrentFrame()
     Replaces the current frame in this list with the current frame from the frame source.

Field Detail
P_CURRENT_FRAME
final public static String P_CURRENT_FRAME(Code)
Property name constant for the current frame.




Constructor Detail
FrameList
public FrameList(IFrameSource source)(Code)
Creates a new frame list with the given source.
Parameters:
  source - the frame source




Method Detail
addPropertyChangeListener
public void addPropertyChangeListener(IPropertyChangeListener listener)(Code)
Adds a property change listener. Has no effect if an identical listener is already registered.
Parameters:
  listener - a property change listener



back
public void back()(Code)
Moves the frame pointer back by one. Has no effect if there is no frame before the current one. Fires a P_CURRENT_FRAME property change event.



firePropertyChange
protected void firePropertyChange(PropertyChangeEvent event)(Code)
Notifies any property change listeners that a property has changed. Only listeners registered at the time this method is called are notified.
Parameters:
  event - the property change event
See Also:   IPropertyChangeListener.propertyChange



forward
public void forward()(Code)
Moves the frame pointer forward by one. Has no effect if there is no frame after the current one. Fires a P_CURRENT_FRAME property change event.



getCurrentFrame
public Frame getCurrentFrame()(Code)
Returns the current frame. Returns null if there is no current frame. the current frame, or null



getCurrentIndex
public int getCurrentIndex()(Code)
Returns the index of the current frame. the index of the current frame



getFrame
public Frame getFrame(int index)(Code)
Returns the frame at the given index, or null if the index is ≤ 0 or ≥ size().
Parameters:
  index - the index of the requested frame the frame at the given index or null



getSource
public IFrameSource getSource()(Code)
Returns the frame source.



gotoFrame
public void gotoFrame(Frame frame)(Code)
Adds the given frame after the current frame, and advances the pointer to the new frame. Before doing so, updates the current frame, and removes any frames following the current frame. Fires a P_CURRENT_FRAME property change event.
Parameters:
  frame - the frame to add



removePropertyChangeListener
public void removePropertyChangeListener(IPropertyChangeListener listener)(Code)
Removes a property change listener. Has no effect if an identical listener is not registered.
Parameters:
  listener - a property change listener



setCurrent
void setCurrent(int newCurrent)(Code)
Sets the current frame to the one with the given index. Updates the old current frame, and fires a P_CURRENT_FRAME property change event if the current frame changes.
Parameters:
  newCurrent - the index of the frame



setCurrentIndex
public void setCurrentIndex(int index)(Code)
Sets the current frame to the frame with the given index. Fires a P_CURRENT_FRAME property change event if the current frame changes.



size
public int size()(Code)
Returns the number of frames in the frame list.



updateCurrentFrame
public void updateCurrentFrame()(Code)
Replaces the current frame in this list with the current frame from the frame source. No event is fired.



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