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


org.netbeans.modules.visualweb.insync.live.DesignBeanNode

DesignBeanNode
public class DesignBeanNode extends AbstractNode implements DesignBeanListener(Code)
The netbeans node associated with a live bean, either a container or a leaf
author:
   Carl Quinn

Inner Class :interface ActionProvider
Inner Class :public static class IdLink extends Node.Property
Inner Class :public static class PropLink extends Node.Property
Inner Class :public static class EventLink extends Node.Property
Inner Class :public static class BeanChildren extends Children.Keys implements DesignContextListener,Index

Field Summary
final public static  StringACTION_KEY_PAGE_BEAN_ONLY
     XXX #94118 Hack to differenciate the presence of the actions in the popup. There should be different types for the different nodes.
final static  StringCutFlavorMime
    
final public static  StringEVENTS
    
final public static  StringEVENTS_HINT
    
final public static  StringGENERAL
    
final public static  StringGENERAL_HINT
    
final public static  StringPROPERTY_ID
    
final public static  StringPROPERTY_ID_DISPLAY
    
protected  Classcustomizer
    
final static  DataFlavorcutFlavor
    
static  DesignTimeTransferDataCreatordataCreator
    
protected  DataObjectdataObject
    
 DataFlavordisplayItemDataFlavor
    
final protected  DesignBeanliveBean
    
protected  Customizer2liveCustomizer
    


Method Summary
public  voidbeanChanged(DesignBean bean)
    
public  voidbeanContextActivated(DesignBean designBean)
    
public  voidbeanContextDeactivated(DesignBean designBean)
    
public  booleancanCopy()
    
public  booleancanCut()
    
public  booleancanDestroy()
    
public  booleancanRename()
    
public  TransferableclipboardCopy()
    
public  TransferableclipboardCut()
    
protected  voidcreatePasteTypes(Transferable t, List s)
    
protected  SheetcreateSheet()
     Creates properties.
public  voiddestroy()
    
public  voideventChanged(DesignEvent event)
    
public  Action[]getActions(boolean context)
    
public  Node.CookiegetCookie(Class cl)
     Get a cookie.
 Customizer2getCustomizer2()
    
public  DesignBeangetDesignBean()
    
final public  StringgetDisplayName()
     XXX Bad design.
public  PasteTypegetDropType(Transferable t, int action, int index)
    
public  HelpCtxgetHelpCtx()
    
public  ImagegetIcon(int type)
    
static  DesignBeanNodegetInstance(DesignBean liveBean)
    
public  NewType[]getNewTypes()
    
public  ImagegetOpenedIcon(int type)
    
public  ActiongetPreferredAction()
    
protected  SetgetSheetSet(Sheet sheet, String name, String descr)
    
public  voidinstanceNameChanged(DesignBean designBean, String oldInstanceName)
    
public  voidinvokeCustomizer()
     If the bean has a Customizer2, invoke it; otherwise, do nothing.
public static  booleanisValueBindingExpression(String s, boolean containsOk)
     XXX Copied from designer/FacesSupport. Return true if the given String represents a value binding expression.
Parameters:
  s - The string to check
Parameters:
  containsOk - Iff true, consider a String which has a value bindingexpression embedded anywhere as a value binding expression.
protected  voidniceFirePropertyChange(String name, Object o, Object n)
     Fire a propertychange event, making sure it is delivered in the Swing event dispatch thread so that NB doesn't FREAK out.
public  voidpropertyChanged(DesignProperty prop, Object oldValue)
    
public  StringtoString()
    

Field Detail
ACTION_KEY_PAGE_BEAN_ONLY
final public static String ACTION_KEY_PAGE_BEAN_ONLY(Code)
XXX #94118 Hack to differenciate the presence of the actions in the popup. There should be different types for the different nodes.



CutFlavorMime
final static String CutFlavorMime(Code)



EVENTS
final public static String EVENTS(Code)



EVENTS_HINT
final public static String EVENTS_HINT(Code)



GENERAL
final public static String GENERAL(Code)
Name of property set for general properties



GENERAL_HINT
final public static String GENERAL_HINT(Code)



PROPERTY_ID
final public static String PROPERTY_ID(Code)



PROPERTY_ID_DISPLAY
final public static String PROPERTY_ID_DISPLAY(Code)



customizer
protected Class customizer(Code)



cutFlavor
final static DataFlavor cutFlavor(Code)



dataCreator
static DesignTimeTransferDataCreator dataCreator(Code)



dataObject
protected DataObject dataObject(Code)



displayItemDataFlavor
DataFlavor displayItemDataFlavor(Code)



liveBean
final protected DesignBean liveBean(Code)



liveCustomizer
protected Customizer2 liveCustomizer(Code)





Method Detail
beanChanged
public void beanChanged(DesignBean bean)(Code)



beanContextActivated
public void beanContextActivated(DesignBean designBean)(Code)



beanContextDeactivated
public void beanContextDeactivated(DesignBean designBean)(Code)



canCopy
public boolean canCopy()(Code)
Can this node be copied? true



canCut
public boolean canCut()(Code)
Can this node be cut? false



canDestroy
public boolean canDestroy()(Code)



canRename
public boolean canRename()(Code)



clipboardCopy
public Transferable clipboardCopy() throws IOException(Code)



clipboardCut
public Transferable clipboardCut() throws IOException(Code)



createPasteTypes
protected void createPasteTypes(Transferable t, List s)(Code)
Don't allow pastes



createSheet
protected Sheet createSheet()(Code)
Creates properties.



destroy
public void destroy() throws IOException(Code)



eventChanged
public void eventChanged(DesignEvent event)(Code)



getActions
public Action[] getActions(boolean context)(Code)



getCookie
public Node.Cookie getCookie(Class cl)(Code)
Get a cookie. Call super first, but if null, delegate to the associated data object (if any). The delegated to data object is generally the file representing the container for the bean.



getCustomizer2
Customizer2 getCustomizer2()(Code)



getDesignBean
public DesignBean getDesignBean()(Code)
Return the live bean that this node is representing



getDisplayName
final public String getDisplayName()(Code)
XXX Bad design. Getter shouldn't be overriden, instead there should be listening on changes of the bean name, but they are missing. The nodes should display the component name. This ensures that when you're looking at the node in the tray for example (an explorer which shows the node names) you see the instance name.)



getDropType
public PasteType getDropType(Transferable t, int action, int index)(Code)



getHelpCtx
public HelpCtx getHelpCtx()(Code)



getIcon
public Image getIcon(int type)(Code)



getInstance
static DesignBeanNode getInstance(DesignBean liveBean)(Code)



getNewTypes
public NewType[] getNewTypes()(Code)



getOpenedIcon
public Image getOpenedIcon(int type)(Code)



getPreferredAction
public Action getPreferredAction()(Code)



getSheetSet
protected Set getSheetSet(Sheet sheet, String name, String descr)(Code)



instanceNameChanged
public void instanceNameChanged(DesignBean designBean, String oldInstanceName)(Code)



invokeCustomizer
public void invokeCustomizer()(Code)
If the bean has a Customizer2, invoke it; otherwise, do nothing.



isValueBindingExpression
public static boolean isValueBindingExpression(String s, boolean containsOk)(Code)
XXX Copied from designer/FacesSupport. Return true if the given String represents a value binding expression.
Parameters:
  s - The string to check
Parameters:
  containsOk - Iff true, consider a String which has a value bindingexpression embedded anywhere as a value binding expression. For example,"You are #{Session1.age} years old" will return true for this methodif containsOk is set, and false otherwise. If false, only considerStrings that begin with a value binding expression as beinga value binding expression. True iff the given expression is a value binding expressionaccording to the type indicated by containsOk.



niceFirePropertyChange
protected void niceFirePropertyChange(String name, Object o, Object n)(Code)
Fire a propertychange event, making sure it is delivered in the Swing event dispatch thread so that NB doesn't FREAK out.
Parameters:
  name -
Parameters:
  o -
Parameters:
  n -



propertyChanged
public void propertyChanged(DesignProperty prop, Object oldValue)(Code)



toString
public String toString()(Code)



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