Java Doc for ObjectList.java in  » Workflow-Engines » osbl-1_0 » org » osbl » client » wings » form » 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 » Workflow Engines » osbl 1_0 » org.osbl.client.wings.form 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.osbl.client.wings.form.ObjectList

All known Subclasses:   org.osbl.client.wings.form.GenericObjectList,  org.osbl.client.wings.form.GenericObjectTreeList,
ObjectList
public interface ObjectList (Code)
An ObjectList displays a list of objects in list manner or table manner. It supports selection, navigation (link) and allows a user to perform actions on selected objects.
author:
   hengels


Field Summary
final public static  intMULTIPLE_SELECTION
    
final public static  intSINGLE_SELECTION
    


Method Summary
 SComponentgetComponent()
     Return the SComponent, that shows the list of objects. Consecutive calls to this method must always return the same component instance.
 ObjectgetCurrent()
     Return the current object.
 EnvironmentgetEnvironment()
     The environment provided by the editor.
 ObjectgetSelectedObject()
     Retrieve the currently selected object. the selected object or null, if nothing is selected.
 ListgetSelectedObjects()
     Retrieve a list of the currently selected objects.
 ClassgetType()
    
 booleanhasNext()
     Tell wether there is at least one object behind the current object in the list.
 booleanhasPrevious()
     Tell wether there is at least one object before the current object in the list.
 voidnext()
     Set cursor to the the next object in the list.
 voidprevious()
     Set cursor to the previous object in the list.
 voidrefresh()
     The content of the list is refreshed.
 voidsetCurrent(Object object)
    
 voidsetLinkAction(String name, ObjectAction linkAction)
     Expose an ObjectAction visually as a link. ObjectList implementations should support a link notion.
 voidsetSelectedObject(Object object)
     Set the selected object.
 voidsetSelectedObjects(List objects)
     Set the selected object.
 voidsetSelectionMode(int selectionMode)
     Set the selection mode. ObjectLists support single selection and multi selection.

Field Detail
MULTIPLE_SELECTION
final public static int MULTIPLE_SELECTION(Code)



SINGLE_SELECTION
final public static int SINGLE_SELECTION(Code)





Method Detail
getComponent
SComponent getComponent()(Code)
Return the SComponent, that shows the list of objects. Consecutive calls to this method must always return the same component instance. The implementor might choose to create the component lazily on the first call. the component showing the list



getCurrent
Object getCurrent()(Code)
Return the current object. the current object



getEnvironment
Environment getEnvironment()(Code)
The environment provided by the editor.



getSelectedObject
Object getSelectedObject()(Code)
Retrieve the currently selected object. the selected object or null, if nothing is selected. If there are multiple selected objects, return thefirst one.



getSelectedObjects
List getSelectedObjects()(Code)
Retrieve a list of the currently selected objects. a list of selected objects.



getType
Class getType()(Code)



hasNext
boolean hasNext()(Code)
Tell wether there is at least one object behind the current object in the list. true, if the current object is not the last object, false otherwise



hasPrevious
boolean hasPrevious()(Code)
Tell wether there is at least one object before the current object in the list. true, if the current object is not the first object, false otherwise



next
void next()(Code)
Set cursor to the the next object in the list.



previous
void previous()(Code)
Set cursor to the previous object in the list.



refresh
void refresh()(Code)
The content of the list is refreshed. Call this method, if you expect, that the list's content has changed. This method might perform expensive operations.



setCurrent
void setCurrent(Object object)(Code)
Set the currently selected object
Parameters:
  object - the current object



setLinkAction
void setLinkAction(String name, ObjectAction linkAction)(Code)
Expose an ObjectAction visually as a link. ObjectList implementations should support a link notion. That is, one column (typically the key column) is rendered in link style (ie. bold and blue). If a user clicks on a link, the ObjectAction will be called on the object in the respective row.
Parameters:
  name - the column name (typically property name)
Parameters:
  linkAction - the action to called on click



setSelectedObject
void setSelectedObject(Object object)(Code)
Set the selected object. SelectionListeners will be informed of this change!
Parameters:
  object - the object to be selected



setSelectedObjects
void setSelectedObjects(List objects)(Code)
Set the selected object. SelectionListeners will be informed of this change!
Parameters:
  objects - the objects to be selected



setSelectionMode
void setSelectionMode(int selectionMode)(Code)
Set the selection mode. ObjectLists support single selection and multi selection. Consult the wingS- or Swing- documentation for further information on selection models.
Parameters:
  selectionMode - either STable.SINGLE_SELECTION or STable.MULTIPLE_SELECTION



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