Java Doc for PropertySheetOperator.java in  » IDE-Netbeans » jellytools » org » netbeans » jellytools » properties » 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 » jellytools » org.netbeans.jellytools.properties 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.jellytools.TopComponentOperator
   org.netbeans.jellytools.properties.PropertySheetOperator

PropertySheetOperator
public class PropertySheetOperator extends TopComponentOperator (Code)
Handles org.openide.explorer.propertysheet.PropertySheet which represents IDE property sheet TopComponent. It includes JTable with properties and optional description area. Use Property class or its descendants to work with properties.

Usage:

 PropertySheetOperator pso = new PropertySheetOperator("Properties of MyClass");
 new Property(pso, "Arguments").setValue("arg1 arg2");
 pso.sortByName();
 System.out.println("Number of properties="+pso.tblSheet().getRowCount());
 pso.sortByCategory();
 

author:
   Jiri.Skrivanek@sun.com
See Also:   Property
See Also:   PropertiesAction
See Also:   SortByCategoryAction
See Also:   SortByNameAction
See Also:   ShowDescriptionAreaAction
See Also:   HelpAction


Field Summary
final public static  intMODE_NO_PROPERTIES
     "No Properties" property sheet.
final public static  intMODE_PROPERTIES_OF_MULTIPLE_OBJECTS
     "Properties of Multiple Objects" property sheet.
final public static  intMODE_PROPERTIES_OF_ONE_OBJECT
     "Properties of" property sheet.

Constructor Summary
public  PropertySheetOperator(JComponent sheet)
    
public  PropertySheetOperator()
     Waits for property sheet anywhere in IDE.
public  PropertySheetOperator(int mode)
     Waits for property sheet with name according to given mode ("No Properties", "Properties of" or "Properties of Multiple Objects").
public  PropertySheetOperator(int mode, String objectName)
     Waits for property sheet with name according to given mode ("No Properties", "Properties of" or "Properties of Multiple Objects") plus objectName in case of one object property sheet.
public  PropertySheetOperator(String sheetName)
     Waits for property sheet with given name.
public  PropertySheetOperator(ContainerOperator contOper, String sheetName)
     Waits for property sheet with given name in specified container.
Parameters:
  contOper - where to find
Parameters:
  sheetName - name of sheet to find (e.g.
public  PropertySheetOperator(ContainerOperator contOper)
     Waits for property sheet in specified ContainerOperator.
public  PropertySheetOperator(ContainerOperator contOper, int index)
     Waits for index-th property sheet in specified ContainerOperator.

Method Summary
public  JButtonOperatorbtHelp()
     Returns JButtonOperator representing help button of description area.
public  voidclose()
     Closes this property sheet and waits until it is not closed.
public  StringgetDescription()
     Gest description from description area.
public  StringgetDescriptionHeader()
     Gets text of header from description area.
public  voidhelp()
     Shows help by calling popup menu on property sheet.
public static  PropertySheetOperatorinvoke()
     Invokes properties by default action on currently selected object.
public  JLabelOperatorlblDescriptionHeader()
     Returns JLabelOperator representing header of description area.
public  voidshowDescriptionArea()
     Shows or hides description area depending on whether it is already shown or not.
public  voidsortByCategory()
     Sorts properties by category by calling of popup menu on property sheet.
public  voidsortByName()
     Sorts properties by name by calling of popup menu on property sheet.
public  JTableOperatortblSheet()
     Returns JTableOperator representing SheetTable of this property sheet.
public  JEditorPaneOperatortxtDescription()
     Returns JTextAreaOperator representing text from description area.
public  voidverify()
    

Field Detail
MODE_NO_PROPERTIES
final public static int MODE_NO_PROPERTIES(Code)
"No Properties" property sheet.



MODE_PROPERTIES_OF_MULTIPLE_OBJECTS
final public static int MODE_PROPERTIES_OF_MULTIPLE_OBJECTS(Code)
"Properties of Multiple Objects" property sheet.



MODE_PROPERTIES_OF_ONE_OBJECT
final public static int MODE_PROPERTIES_OF_ONE_OBJECT(Code)
"Properties of" property sheet.




Constructor Detail
PropertySheetOperator
public PropertySheetOperator(JComponent sheet)(Code)
Generic constructor
Parameters:
  sheet - instance of PropertySheet



PropertySheetOperator
public PropertySheetOperator()(Code)
Waits for property sheet anywhere in IDE.



PropertySheetOperator
public PropertySheetOperator(int mode)(Code)
Waits for property sheet with name according to given mode ("No Properties", "Properties of" or "Properties of Multiple Objects").
Parameters:
  mode - type of shown properties
See Also:   PropertySheetOperator.MODE_NO_PROPERTIES
See Also:   PropertySheetOperator.MODE_PROPERTIES_OF_ONE_OBJECT
See Also:   PropertySheetOperator.MODE_PROPERTIES_OF_MULTIPLE_OBJECTS



PropertySheetOperator
public PropertySheetOperator(int mode, String objectName)(Code)
Waits for property sheet with name according to given mode ("No Properties", "Properties of" or "Properties of Multiple Objects") plus objectName in case of one object property sheet. In case of usage new PropertySheetOperator(PropertySheetOperator.MODE_PROPERTIES_OF_ONE_OBJECT, "MyClass"); will be searched property sheet with name "Properties of MyClass" (on English locale).
Parameters:
  mode - type of shown properties
Parameters:
  objectName - name of object for that properties are shown (e.g. "MyClass")
See Also:   PropertySheetOperator.MODE_NO_PROPERTIES
See Also:   PropertySheetOperator.MODE_PROPERTIES_OF_ONE_OBJECT
See Also:   PropertySheetOperator.MODE_PROPERTIES_OF_MULTIPLE_OBJECTS



PropertySheetOperator
public PropertySheetOperator(String sheetName)(Code)
Waits for property sheet with given name. Typically sheet name is used as window title.
Parameters:
  sheetName - name of sheet to find (e.g. "Properties of MyClass")



PropertySheetOperator
public PropertySheetOperator(ContainerOperator contOper, String sheetName)(Code)
Waits for property sheet with given name in specified container.
Parameters:
  contOper - where to find
Parameters:
  sheetName - name of sheet to find (e.g. "Properties of MyClass")



PropertySheetOperator
public PropertySheetOperator(ContainerOperator contOper)(Code)
Waits for property sheet in specified ContainerOperator. It is for example PropertySheet in Options window.
Parameters:
  contOper - where to find



PropertySheetOperator
public PropertySheetOperator(ContainerOperator contOper, int index)(Code)
Waits for index-th property sheet in specified ContainerOperator.
Parameters:
  contOper - where to find
Parameters:
  index - int index




Method Detail
btHelp
public JButtonOperator btHelp()(Code)
Returns JButtonOperator representing help button of description area. instance of JButtonOperator



close
public void close()(Code)
Closes this property sheet and waits until it is not closed. In fact it closes container in which this property sheet is placed. It can be a TopComponent in the main window or in a separate frame, or a dialog.



getDescription
public String getDescription()(Code)
Gest description from description area. description from description area.



getDescriptionHeader
public String getDescriptionHeader()(Code)
Gets text of header from description area. text of header from description area



help
public void help()(Code)
Shows help by calling popup menu on property sheet.



invoke
public static PropertySheetOperator invoke()(Code)
Invokes properties by default action on currently selected object. instance of PropertySheetOperator
See Also:   org.netbeans.jellytools.actions.PropertiesAction



lblDescriptionHeader
public JLabelOperator lblDescriptionHeader()(Code)
Returns JLabelOperator representing header of description area. instance of JLabelOperator



showDescriptionArea
public void showDescriptionArea()(Code)
Shows or hides description area depending on whether it is already shown or not. It just invokes Show description area popup menu item.



sortByCategory
public void sortByCategory()(Code)
Sorts properties by category by calling of popup menu on property sheet.



sortByName
public void sortByName()(Code)
Sorts properties by name by calling of popup menu on property sheet.



tblSheet
public JTableOperator tblSheet()(Code)
Returns JTableOperator representing SheetTable of this property sheet. instance of JTableOperator



txtDescription
public JEditorPaneOperator txtDescription()(Code)
Returns JTextAreaOperator representing text from description area. instance of JTextAreaOperator



verify
public void verify()(Code)
Performs verification by accessing all sub-components



Methods inherited from org.netbeans.jellytools.TopComponentOperator
public void attachTo(String targetTopComponentName, String side)(Code)(Java Doc)
public void attachTo(TopComponentOperator targetTopComponentOperator, String side)(Code)(Java Doc)
public void cloneDocument()(Code)(Java Doc)
public void close()(Code)(Java Doc)
public void closeAllDocuments()(Code)(Java Doc)
public void closeDiscard()(Code)(Java Doc)
public void closeWindow()(Code)(Java Doc)
protected TopComponentOperator findParentTopComponent()(Code)(Java Doc)
public static JComponent findTopComponent(String name, int index)(Code)(Java Doc)
protected static JComponent findTopComponent(ContainerOperator cont, String name, int index, ComponentChooser subchooser)(Code)(Java Doc)
public boolean isModified()(Code)(Java Doc)
protected boolean isOpened()(Code)(Java Doc)
public void makeComponentVisible()(Code)(Java Doc)
public void maximize()(Code)(Java Doc)
public void pushMenuOnTab(String popupPath)(Code)(Java Doc)
public void restore()(Code)(Java Doc)
public void save()(Code)(Java Doc)
public void saveDocument()(Code)(Java Doc)
public void setUnmodified()(Code)(Java Doc)
public void waitClosed()(Code)(Java Doc)
protected static JComponent waitTopComponent(String name, int index)(Code)(Java Doc)
protected static JComponent waitTopComponent(ContainerOperator cont, String name, int index, ComponentChooser subchooser)(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.