Java Doc for SourceDesignBean.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)
java.lang
.Object
org.netbeans.modules.visualweb.insync.live
.SourceDesignBean
All known Subclasses:
org.netbeans.modules.visualweb.insync.live
.BeansDesignBean
,
org.netbeans.modules.visualweb.insync.live
.SourceLiveRoot
,
SourceDesignBean
abstract
public
class SourceDesignBean implements
DesignBean
,
TreeNode
,
PropertyChangeListener
(Code)
Abstract base partial implementation of a DesignBean. Handles management of the BeanInfo and DesignInfo, as well as the live instance.
author:
Joe Nuxoll
author:
Carl Quinn
Inner Class :
public
static class ClipImage
Field Summary
final
public
static
SourceDesignBean
[]
EMPTY_ARRAY
final
protected
BeanInfo
beanInfo
protected
ArrayList
children
protected
ArrayList
contextItems
protected
ArrayList
events
protected
Object
instance
protected
ArrayList
lblList
final
protected
DesignInfo
liveBeanInfo
protected
SourceDesignBean
parent
protected
ArrayList
properties
protected
HashMap
propertyHash
protected
boolean
ready
final
protected
LiveUnit
unit
Constructor Summary
protected
SourceDesignBean
(
LiveUnit
unit,
BeanInfo
beanInfo,
DesignInfo
liveBeanInfo,
SourceDesignBean
parent,
Object
instance)
Method Summary
public
void
addContextItem
(
DisplayAction
item)
public
void
addDesignBeanListener
(
DesignBeanListener
beanListener)
public
void
addLiveChild
(
SourceDesignBean
lbean,
Position
pos)
public
boolean
canSetInstanceName
()
public
Enumeration
children
()
public
void
clearLiveChildren
()
protected
String
clzName
()
public
SourceDesignBean
findLiveChild
(
String
name)
protected
void
fireDesignBeanChanged
()
protected
void
fireDesignBeanInstanceNameChanged
(
String
oldInstanceName)
protected
void
fireDesignEventChanged
(
DesignEvent
event)
protected
void
fireDesignPropertyChanged
(
DesignProperty
prop,
Object
oldValue)
public
boolean
getAllowsChildren
()
public
BeanInfo
getBeanInfo
()
public
DesignBean
getBeanParent
()
public
TreeNode
getChildAt
(int childIndex)
public
DesignBean
getChildBean
(int index)
public
int
getChildBeanCount
()
public
DesignBean
[]
getChildBeans
()
public
int
getChildCount
()
public
ClipImage
getClipImage
()
public
DisplayAction
[]
getContextItems
()
public
DesignBeanListener
[]
getDesignBeanListeners
()
public
DesignContext
getDesignContext
()
public
DesignInfo
getDesignInfo
()
public
DesignEvent
getEvent
(
String
eventName)
public
DesignEvent
getEvent
(
EventSetDescriptor
eventSet,
MethodDescriptor
event)
public
DesignEvent
getEvent
(
EventDescriptor
event)
public
DesignEvent
[]
getEvents
()
public
DesignEvent
[]
getEvents
(
EventSetDescriptor
eventSet)
public
int
getIndex
(
TreeNode
node)
public
Object
getInstance
()
public
String
getInstanceName
()
DesignBeanNode
getNode
()
public
TreeNode
getParent
()
public
DesignProperty
[]
getProperties
()
public
DesignProperty
getProperty
(
PropertyDescriptor
property)
public
DesignProperty
getProperty
(
String
propertyName)
public
void
invokeCleanupMethod
()
public
boolean
isContainer
()
public
boolean
isLeaf
()
protected
void
loadEvents
()
final
public
void
loadProperties
()
abstract
protected
SourceDesignEvent
newDesignEvent
(
EventDescriptor
descriptor)
abstract
protected
SourceDesignProperty
newDesignProperty
(
PropertyDescriptor
descriptor)
public
void
propertyChange
(
PropertyChangeEvent
e)
public
void
removeContextItem
(
DisplayAction
item)
public
void
removeDesignBeanListener
(
DesignBeanListener
beanListener)
public
void
removeLiveChild
(
SourceDesignBean
lbean)
protected
void
setChildCapable
()
public
void
setInstance
(
Object
instance)
public
boolean
setInstanceName
(
String
name)
public
boolean
setInstanceName
(
String
name, boolean autoNumber)
public
String
toString
()
public
void
toString
(
StringBuffer
sb)
Field Detail
EMPTY_ARRAY
final
public
static
SourceDesignBean
[] EMPTY_ARRAY
(Code)
beanInfo
final
protected
BeanInfo
beanInfo
(Code)
children
protected
ArrayList
children
(Code)
contextItems
protected
ArrayList
contextItems
(Code)
events
protected
ArrayList
events
(Code)
instance
protected
Object
instance
(Code)
lblList
protected
ArrayList
lblList
(Code)
liveBeanInfo
final
protected
DesignInfo
liveBeanInfo
(Code)
parent
protected
SourceDesignBean
parent
(Code)
properties
protected
ArrayList
properties
(Code)
propertyHash
protected
HashMap
propertyHash
(Code)
ready
protected
boolean ready
(Code)
unit
final
protected
LiveUnit
unit
(Code)
Constructor Detail
SourceDesignBean
protected
SourceDesignBean(
LiveUnit
unit,
BeanInfo
beanInfo,
DesignInfo
liveBeanInfo,
SourceDesignBean
parent,
Object
instance)
(Code)
Parameters:
unit -
Parameters:
beanInfo -
Parameters:
liveBeanInfo -
Parameters:
parent -
Parameters:
instance -
Method Detail
addContextItem
public
void addContextItem(
DisplayAction
item)
(Code)
addDesignBeanListener
public
void addDesignBeanListener(
DesignBeanListener
beanListener)
(Code)
addLiveChild
public
void addLiveChild(
SourceDesignBean
lbean,
Position
pos)
(Code)
For use by LiveUnit during normal creation
Parameters:
lbean -
canSetInstanceName
public
boolean canSetInstanceName()
(Code)
children
public
Enumeration
children()
(Code)
clearLiveChildren
public
void clearLiveChildren()
(Code)
clzName
protected
String
clzName()
(Code)
Utility function for debugging--return the name part of this object's class name
findLiveChild
public
SourceDesignBean
findLiveChild(
String
name)
(Code)
fireDesignBeanChanged
protected
void fireDesignBeanChanged()
(Code)
fireDesignBeanInstanceNameChanged
protected
void fireDesignBeanInstanceNameChanged(
String
oldInstanceName)
(Code)
fireDesignEventChanged
protected
void fireDesignEventChanged(
DesignEvent
event)
(Code)
fireDesignPropertyChanged
protected
void fireDesignPropertyChanged(
DesignProperty
prop,
Object
oldValue)
(Code)
getAllowsChildren
public
boolean getAllowsChildren()
(Code)
getBeanInfo
public
BeanInfo
getBeanInfo()
(Code)
getBeanParent
public
DesignBean
getBeanParent()
(Code)
getChildAt
public
TreeNode
getChildAt(int childIndex)
(Code)
getChildBean
public
DesignBean
getChildBean(int index)
(Code)
getChildBeanCount
public
int getChildBeanCount()
(Code)
getChildBeans
public
DesignBean
[] getChildBeans()
(Code)
getChildCount
public
int getChildCount()
(Code)
getClipImage
public
ClipImage getClipImage()
(Code)
getContextItems
public
DisplayAction
[] getContextItems()
(Code)
getDesignBeanListeners
public
DesignBeanListener
[] getDesignBeanListeners()
(Code)
getDesignContext
public
DesignContext
getDesignContext()
(Code)
getDesignInfo
public
DesignInfo
getDesignInfo()
(Code)
getEvent
public
DesignEvent
getEvent(
String
eventName)
(Code)
getEvent
public
DesignEvent
getEvent(
EventSetDescriptor
eventSet,
MethodDescriptor
event)
(Code)
getEvent
public
DesignEvent
getEvent(
EventDescriptor
event)
(Code)
getEvents
public
DesignEvent
[] getEvents()
(Code)
getEvents
public
DesignEvent
[] getEvents(
EventSetDescriptor
eventSet)
(Code)
getIndex
public
int getIndex(
TreeNode
node)
(Code)
getInstance
public
Object
getInstance()
(Code)
getInstanceName
public
String
getInstanceName()
(Code)
getNode
DesignBeanNode
getNode()
(Code)
getParent
public
TreeNode
getParent()
(Code)
getProperties
public
DesignProperty
[] getProperties()
(Code)
getProperty
public
DesignProperty
getProperty(
PropertyDescriptor
property)
(Code)
getProperty
public
DesignProperty
getProperty(
String
propertyName)
(Code)
invokeCleanupMethod
public
void invokeCleanupMethod()
(Code)
Invoke the registered cleanup method for the bean's instance
isContainer
public
boolean isContainer()
(Code)
isLeaf
public
boolean isLeaf()
(Code)
loadEvents
protected
void loadEvents()
(Code)
loadProperties
final
public
void loadProperties()
(Code)
newDesignEvent
abstract
protected
SourceDesignEvent
newDesignEvent(
EventDescriptor
descriptor)
(Code)
newDesignProperty
abstract
protected
SourceDesignProperty
newDesignProperty(
PropertyDescriptor
descriptor)
(Code)
propertyChange
public
void propertyChange(
PropertyChangeEvent
e)
(Code)
Propagate a regular JavaBean propertyChange out to our listeners by firing a live propertyChanged event
removeContextItem
public
void removeContextItem(
DisplayAction
item)
(Code)
removeDesignBeanListener
public
void removeDesignBeanListener(
DesignBeanListener
beanListener)
(Code)
removeLiveChild
public
void removeLiveChild(
SourceDesignBean
lbean)
(Code)
setChildCapable
protected
void setChildCapable()
(Code)
setInstance
public
void setInstance(
Object
instance)
(Code)
Internal mutator for synthetic liveBean updates
Parameters:
instance -
setInstanceName
public
boolean setInstanceName(
String
name)
(Code)
setInstanceName
public
boolean setInstanceName(
String
name, boolean autoNumber)
(Code)
toString
public
String
toString()
(Code)
toString
public
void toString(
StringBuffer
sb)
(Code)
Methods inherited from
java.lang.Object
native
protected
Object
clone() throws
CloneNotSupportedException
(Code)
(Java Doc)
public
boolean equals(
Object
obj)
(Code)
(Java Doc)
protected
void finalize() throws
Throwable
(Code)
(Java Doc)
final native
public
Class
> getClass()
(Code)
(Java Doc)
native
public
int hashCode()
(Code)
(Java Doc)
final native
public
void notify()
(Code)
(Java Doc)
final native
public
void notifyAll()
(Code)
(Java Doc)
public
String
toString()
(Code)
(Java Doc)
final native
public
void wait(long timeout) throws
InterruptedException
(Code)
(Java Doc)
final
public
void wait(long timeout, int nanos) throws
InterruptedException
(Code)
(Java Doc)
final
public
void wait() throws
InterruptedException
(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.