Java Doc for ListTransferPanel.java in  » IDE-Netbeans » etl.project » org » netbeans » modules » sql » framework » ui » view » 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 Netbeans » etl.project » org.netbeans.modules.sql.framework.ui.view 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JPanel
   org.netbeans.modules.sql.framework.ui.view.ListTransferPanel

ListTransferPanel
public class ListTransferPanel extends JPanel implements ActionListener,ListSelectionListener(Code)
A Basic implementation of list transfer panel
author:
   Ritesh Adval
version:
   $Revision$


Field Summary
final public static  StringLBL_ADD
     Indicates addition of item(s).
final public static  StringLBL_ADD_ALL
     Indicates addition of all source items.
final public static  StringLBL_ALL
     Label indicating that all elements should be moved.
final public static  StringLBL_DEST_MSG
    
final public static  StringLBL_REMOVE
     Indicates removal of item(s).
final public static  StringLBL_REMOVE_ALL
     Indicates removal of all destination items.
final public static  StringLBL_SOURCE_MSG
     Describes source list and user task.
final public static  intMAXIMUM_VISIBLE
    
final public static  intMINIMUM_VISIBLE
    
final public static  StringTIP_ADD
     Tooltip to describe addition of selected item(s).
final public static  StringTIP_ADD_ALL
     Tooltip to describe addition of all source items.
final public static  StringTIP_REMOVE
     Tooltip to describe addition of selected item(s).
final public static  StringTIP_REMOVE_ALL
     Tooltip to describe removal of all destination items.

Constructor Summary
public  ListTransferPanel(String sLabelStr, String dLabelStr, Collection sCollection, Collection dCollection)
    

Method Summary
public  voidactionPerformed(ActionEvent e)
     Invoked whenever one of the transfer buttons is clicked.
public  voidaddChangeListener(ChangeListener l)
     Add a ChangeListener to this model.
public  voidaddToDestination(Object item)
    
public  voidaddToSource(Object item)
    
public  voidenableButton(boolean enable)
    
public  voidfireChangeEvent()
     Fires a ChangeEvent to all interested listeners to indicate a state change in one or more UI components.
public  JListgetDestinationJList()
    
public  ListgetDestinationList()
    
public  JListgetSourceJList()
    
public  ListgetSourceList()
    
public  voidremoveChangeListener(ChangeListener l)
     Remove a ChangeListener from this model.
public  voidremoveFromDestination(Object item)
    
public  voidremoveFromSource(Object item)
    
public  voidreset()
    
public  voidsetDestinationList(Collection dList)
    
public  voidsetDestinationListCellRenderer(ListCellRenderer cellRenderer)
    
public  voidsetSourceList(Collection sList)
    
public  voidsetSourceListCellRenderer(ListCellRenderer cellRenderer)
    
public  voidvalueChanged(ListSelectionEvent e)
     Called whenever the value of the selection changes.

Field Detail
LBL_ADD
final public static String LBL_ADD(Code)
Indicates addition of item(s).



LBL_ADD_ALL
final public static String LBL_ADD_ALL(Code)
Indicates addition of all source items.



LBL_ALL
final public static String LBL_ALL(Code)
Label indicating that all elements should be moved.



LBL_DEST_MSG
final public static String LBL_DEST_MSG(Code)
Describes destination list



LBL_REMOVE
final public static String LBL_REMOVE(Code)
Indicates removal of item(s).



LBL_REMOVE_ALL
final public static String LBL_REMOVE_ALL(Code)
Indicates removal of all destination items.



LBL_SOURCE_MSG
final public static String LBL_SOURCE_MSG(Code)
Describes source list and user task.



MAXIMUM_VISIBLE
final public static int MAXIMUM_VISIBLE(Code)
Maximum number of visible items in lists



MINIMUM_VISIBLE
final public static int MINIMUM_VISIBLE(Code)
Minimum number of visible items in lists



TIP_ADD
final public static String TIP_ADD(Code)
Tooltip to describe addition of selected item(s).



TIP_ADD_ALL
final public static String TIP_ADD_ALL(Code)
Tooltip to describe addition of all source items.



TIP_REMOVE
final public static String TIP_REMOVE(Code)
Tooltip to describe addition of selected item(s).



TIP_REMOVE_ALL
final public static String TIP_REMOVE_ALL(Code)
Tooltip to describe removal of all destination items.




Constructor Detail
ListTransferPanel
public ListTransferPanel(String sLabelStr, String dLabelStr, Collection sCollection, Collection dCollection)(Code)




Method Detail
actionPerformed
public void actionPerformed(ActionEvent e)(Code)
Invoked whenever one of the transfer buttons is clicked.
Parameters:
  e - ActionEvent to handle



addChangeListener
public void addChangeListener(ChangeListener l)(Code)
Add a ChangeListener to this model.
Parameters:
  l - ChangeListener to add



addToDestination
public void addToDestination(Object item)(Code)



addToSource
public void addToSource(Object item)(Code)



enableButton
public void enableButton(boolean enable)(Code)



fireChangeEvent
public void fireChangeEvent()(Code)
Fires a ChangeEvent to all interested listeners to indicate a state change in one or more UI components.



getDestinationJList
public JList getDestinationJList()(Code)



getDestinationList
public List getDestinationList()(Code)
Gets copy of current contents of destination list List of current destination list contents



getSourceJList
public JList getSourceJList()(Code)



getSourceList
public List getSourceList()(Code)
Gets copy of current contents of source list List of current source list contents



removeChangeListener
public void removeChangeListener(ChangeListener l)(Code)
Remove a ChangeListener from this model.
Parameters:
  l - ChangeListener to remove



removeFromDestination
public void removeFromDestination(Object item)(Code)



removeFromSource
public void removeFromSource(Object item)(Code)



reset
public void reset()(Code)



setDestinationList
public void setDestinationList(Collection dList)(Code)
set the destination list
Parameters:
  dList - destination list



setDestinationListCellRenderer
public void setDestinationListCellRenderer(ListCellRenderer cellRenderer)(Code)
set the target list cell renderer
Parameters:
  cellRenderer - list cell renderer



setSourceList
public void setSourceList(Collection sList)(Code)
set the source list
Parameters:
  sList - source list



setSourceListCellRenderer
public void setSourceListCellRenderer(ListCellRenderer cellRenderer)(Code)
set the source list cell renderer
Parameters:
  cellRenderer - list cell renderer



valueChanged
public void valueChanged(ListSelectionEvent e)(Code)
Called whenever the value of the selection changes.
Parameters:
  e - the event that characterizes the change.



Methods inherited from javax.swing.JPanel
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public PanelUI getUI()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void setUI(PanelUI ui)(Code)(Java Doc)
public void updateUI()(Code)(Java Doc)

w___w___w__._j_a___v_a2s___._c_o__m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.