Java Doc for DesignerPaneOperator.java in  » IDE-Netbeans » visualweb.api.designer » org » netbeans » modules » visualweb » gravy » designer » 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 » visualweb.api.designer » org.netbeans.modules.visualweb.gravy.designer 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.modules.visualweb.gravy.designer.DesignerPaneOperator

DesignerPaneOperator
public class DesignerPaneOperator extends JComponentOperator (Code)
This class implements test functionality for the Design View of a project web-page.

Inner Class :public static class DesignerPaneChooser implements ComponentChooser

Field Summary
protected  StringcurrentPalette
    
protected static  StringdefaultPalette
    

Constructor Summary
public  DesignerPaneOperator(ContainerOperator cont)
    
public  DesignerPaneOperator(ContainerOperator cont, int index)
    
public  DesignerPaneOperator()
    

Method Summary
public  voidaddComponent(String component, int x, int y)
     Adds a component on Design View.
public  voidaddComponent(String component, int x, int y, String id, String value)
     Adds a component on Design View.
public  voidaddComponentFromPalette(String component, int x, int y, String id, String value, String palName)
     Adds a component on Design View.
public  voidclickForPopup(String comp_id)
     Invokes a popup menu, related to a component, placed on Design View.
public  voidclickMouse(String comp_id, int clickCount)
     Clicks mouse on a component, placed on Design View.
public  PointgetComponentCenter(String comp_id)
     Returns a center coordinate of component, placed on Design View.
public  PointgetComponentLocation(String componentID)
     Returns a coordinate of component top-left corner, placed on Design View.
public  RectanglegetComponentRectangle(String componentID)
     Returns measurements of a component, placed on Design View.
public  PointgetCoords()
     Extracts and returns a coordinate of a component from a window "Properties".
public  ContainerOperatorgetDesignerView()
     Returns a Design View of a project web-page.
public  voidmakeComponentVisible()
    
public  voidselect(String comp_id)
     Selects a component on Design View.
public  voidsetBraveHeartPalette()
     Sets a component palette "BraveHeart" as a current palette.
public static  voidsetDefaultBraveHeartPalette()
     Sets a component palette "BraveHeart" as a default palette.
public static  voidsetDefaultPalette(String palName)
     Sets a component palette used by default.
public static  voidsetDefaultStandardPalette()
     Sets a component palette "Standard" as a default palette.
public  voidsetImage(String componentID, String imagePath)
     Sets an image to a component via Image customizer.
public  voidsetImage(int x, int y, String imagePath)
     Sets an image to a component via Image customizer.
public  voidsetPalette(String palName)
     Sets a current component palette.
public  voidsetStandardPalette()
     Sets a component palette "Standard" as a current palette.
public static  voidswitchToDesignerPane()
     Switch to Design View of web-page.
public static  voidswitchToJSPSource()
     Switch to JSP Editor of web-page.
public static  voidswitchToJavaSource()
     Switch to Java Editor of web-page.

Field Detail
currentPalette
protected String currentPalette(Code)



defaultPalette
protected static String defaultPalette(Code)




Constructor Detail
DesignerPaneOperator
public DesignerPaneOperator(ContainerOperator cont)(Code)
Creates a new instance of this class
Parameters:
  cont - an object ContainerOperator related to container, which includes window of web-page.



DesignerPaneOperator
public DesignerPaneOperator(ContainerOperator cont, int index)(Code)
Creates a new instance of this class
Parameters:
  cont - an object ContainerOperator related to container, which includes window of web-page.
Parameters:
  index - a number of desired component if container includes severalsimilar components



DesignerPaneOperator
public DesignerPaneOperator()(Code)
Creates a new instance of this class




Method Detail
addComponent
public void addComponent(String component, int x, int y)(Code)
Adds a component on Design View.
Parameters:
  component - a component name
Parameters:
  x - coordinate x of top-left component corner on Design View
Parameters:
  y - coordinate y of top-left component corner on Design View



addComponent
public void addComponent(String component, int x, int y, String id, String value)(Code)
Adds a component on Design View.
Parameters:
  component - a component name
Parameters:
  x - coordinate x of top-left component corner on Design View
Parameters:
  y - coordinate y of top-left component corner on Design View
Parameters:
  id - a name of modified component property
Parameters:
  value - a value of modified component property



addComponentFromPalette
public void addComponentFromPalette(String component, int x, int y, String id, String value, String palName)(Code)
Adds a component on Design View.
Parameters:
  component - a component name
Parameters:
  x - coordinate x of top-left component corner on Design View
Parameters:
  y - coordinate y of top-left component corner on Design View
Parameters:
  id - a name of modified component property
Parameters:
  value - a value of modified component property
Parameters:
  palName - a palette name



clickForPopup
public void clickForPopup(String comp_id)(Code)
Invokes a popup menu, related to a component, placed on Design View.
Parameters:
  comp_id - a component identifier



clickMouse
public void clickMouse(String comp_id, int clickCount)(Code)
Clicks mouse on a component, placed on Design View.
Parameters:
  comp_id - a component identifier
Parameters:
  clickCount - a number of clicks



getComponentCenter
public Point getComponentCenter(String comp_id)(Code)
Returns a center coordinate of component, placed on Design View.
Parameters:
  comp_id - a component identifier an object Point



getComponentLocation
public Point getComponentLocation(String componentID)(Code)
Returns a coordinate of component top-left corner, placed on Design View.
Parameters:
  componentID - a component identifier an object Point



getComponentRectangle
public Rectangle getComponentRectangle(String componentID)(Code)
Returns measurements of a component, placed on Design View.
Parameters:
  componentID - a component identifier an object Rectangle



getCoords
public Point getCoords()(Code)
Extracts and returns a coordinate of a component from a window "Properties". an object Point



getDesignerView
public ContainerOperator getDesignerView()(Code)
Returns a Design View of a project web-page. an object ContainerOperator



makeComponentVisible
public void makeComponentVisible()(Code)



select
public void select(String comp_id)(Code)
Selects a component on Design View.
Parameters:
  comp_id - a component identifier



setBraveHeartPalette
public void setBraveHeartPalette()(Code)
Sets a component palette "BraveHeart" as a current palette.



setDefaultBraveHeartPalette
public static void setDefaultBraveHeartPalette()(Code)
Sets a component palette "BraveHeart" as a default palette.



setDefaultPalette
public static void setDefaultPalette(String palName)(Code)
Sets a component palette used by default.
Parameters:
  palName - a palette name



setDefaultStandardPalette
public static void setDefaultStandardPalette()(Code)
Sets a component palette "Standard" as a default palette.



setImage
public void setImage(String componentID, String imagePath)(Code)
Sets an image to a component via Image customizer.
Parameters:
  componentID - a component identifier
Parameters:
  imagePath - a path to an image file



setImage
public void setImage(int x, int y, String imagePath)(Code)
Sets an image to a component via Image customizer.
Parameters:
  x - coordinate x of top-left component corner on Design View
Parameters:
  y - coordinate y of top-left component corner on Design View
Parameters:
  imagePath - a path to an image file



setPalette
public void setPalette(String palName)(Code)
Sets a current component palette.
Parameters:
  palName - a palette name



setStandardPalette
public void setStandardPalette()(Code)
Sets a component palette "Standard" as a current palette.



switchToDesignerPane
public static void switchToDesignerPane()(Code)
Switch to Design View of web-page.



switchToJSPSource
public static void switchToJSPSource()(Code)
Switch to JSP Editor of web-page.



switchToJavaSource
public static void switchToJavaSource()(Code)
Switch to Java Editor of web-page.



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