|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--java.beans.beancontext.BeanContextChildSupport | +--java.beans.beancontext.BeanContextSupport
ÀÌ ÇïÆÛ Ŭ·¡½º´Â java.beans.beancontext.BeanContext ÀÎÅÍÆäÀ̽ºÀÇ À¯Æ¿¸®Æ¼ÀÇ ±¸ÇöÀ» Á¦°øÇÕ´Ï´Ù.
ÀÌ Å¬·¡½º´Â BeanContext ÀÎÅÍÆäÀ̽º¸¦ Á÷Á¢ ±¸ÇöÇϱâ À§ÇØ(¶§¹®¿¡), ÀÌ ±¸ÇöÀ» ¼ºê Ŭ·¡½ºÈÇÏ´Â °Í¿¡ ÀÇÇØ, ȤÀº ´Ù¸¥ ÀνºÅϽº·ÎºÎÅÍ ÀÌ Å¬·¡½ºÀÇ ÀνºÅϽºÀÇ Æ¯º°ÇÑ delegateÀ» °³°Í¿¡ ÀÇÇØ »ç¿ëµÇ´Â °ÍÀ» ¸ñÀûÀ¸·Î Çϰí ÀÖ½À´Ï´Ù.
ÁßøµÈ Ŭ·¡½ºÀÇ °³¿ä | |
protected class |
BeanContextSupport.BCSChild
protected nested class containing per child information, an instance of which is associated with each child in the "children" hashtable. |
protected static class |
BeanContextSupport.BCSIterator
¹Ýº¹ÀÚ¸¦ ĸ½¶ÈÇØ, ¹«Á¶ÀÛÀÇ remove() ¸Þ¼Òµå¸¦ ±¸ÇöÇÏ´Â protected final ¼ºê Ŭ·¡½ºÀÔ´Ï´Ù. |
ÇʵåÀÇ °³¿ä | |
protected ArrayList |
bcmListeners
protected ArrayList bcmListeners Çʵ忡ÀÇ ¸ðµç ¾×¼¼½º´Â ±× ¿ÀºêÁ§Æ®¿¡ µ¿±âÈ µË´Ï´Ù. |
protected HashMap |
children
protected HashMap children Çʵ忡ÀÇ ¸ðµç ¾×¼¼½º´Â ±× ¿ÀºêÁ§Æ®¿¡ µ¿±âÈ µË´Ï´Ù. |
protected boolean |
designTime
ÀÌ ¿ÀºêÁ§Æ®°¡ ÇöÀç, ¼³°è½Ã ¸ðµåÀΰ¡ ¾î¶²°¡¸¦ ³ªÅ¸³»´Â boolean ÀÔ´Ï´Ù. |
protected Locale |
locale
BeanContext ÀÇ ÇöÀçÀÇ ·ÎÄÉÀÏÀÔ´Ï´Ù. |
protected boolean |
okToUseGui
ÀÌ ÀνºÅϽº°¡ GUI ¸¦ Ç¥Çö ÇÒ ¼ö ÀÖÀ»Áö ¾î¶³Áö¸¦ ³ªÅ¸³»´Â boolean ÀÔ´Ï´Ù. |
Ŭ·¡½º java.beans.beancontext. BeanContextChildSupport ¿¡¼ »ó¼Ó¹ÞÀº Çʵå |
beanContext , beanContextChildPeer , pcSupport , rejectedSetBCOnce , vcSupport |
ÀÎÅÍÆäÀ̽º java.beans.beancontext. BeanContext ¿¡¼ »ó¼Ó¹ÞÀº Çʵå |
globalHierarchyLock |
ÀÎÅÍÆäÀ̽º java.beans. DesignMode ¿¡¼ »ó¼Ó¹ÞÀº Çʵå |
PROPERTYNAME |
»ý¼ºÀÚÀÇ °³¿ä | |
BeanContextSupport ()
´Ù¸¥ ¿ÀºêÁ§Æ®ÀÇ Delegate°¡ ¾Æ´Ñ ÀνºÅϽº¸¦ »ý¼ºÇÕ´Ï´Ù. |
|
BeanContextSupport (BeanContext peer)
µðÆúÆ®ÀÇ ·ÎÄÉÀÏÀ» »ç¿ëÇØ ÀνºÅϽº¸¦ »ý¼ºÇÕ´Ï´Ù. |
|
BeanContextSupport (BeanContext peer,
Locale lcle)
ÁöÁ¤µÈ ·ÎÄÉÀÏÀ» »ç¿ëÇØ ÀνºÅϽº¸¦ »ý¼ºÇÕ´Ï´Ù. |
|
BeanContextSupport (BeanContext peer,
Locale lcle,
boolean dtime)
ÁöÁ¤µÈ ·ÎÄÉÀÏÀ» »ç¿ëÇØ ¼³°è ¸ðµå·Î ÀνºÅϽº¸¦ »ý¼ºÇÕ´Ï´Ù. |
|
BeanContextSupport (BeanContext peer,
Locale lcle,
boolean dTime,
boolean visible)
BeanContextSupport ÀÇ ÀνºÅϽº¸¦ »ý¼ºÇÕ´Ï´Ù. |
¸Þ¼ÒµåÀÇ °³¿ä | |
boolean |
add (Object targetChild)
ÀÌ BeanContext ³»¿¡ ¾ÆÀ̸¦ Ãß°¡, Áï »óÀÚ·Î ÇÕ´Ï´Ù. |
boolean |
addAll (Collection c)
Children ¼¼Æ®¿¡ Collection ¸¦ Ãß°¡ÇÕ´Ï´Ù (¼Æ÷Æ®µÇ¾î ÀÖÁö ¾Ê´Ù). |
void |
addBeanContextMembershipListener (BeanContextMembershipListener bcml)
BeanContextMembershipListener ¸¦ Ãß°¡ÇÕ´Ï´Ù. |
boolean |
avoidingGui ()
BeanContext ÀÇ ¾ÆÀ̰¡ GUI ÀÇ »ç¿ëÀ» ÇÇÇÒÁö ¾î¶³Áö ÆÇ´ÜÇϴµ¥ »ç¿ëµË´Ï´Ù. |
protected Iterator |
bcsChildren ()
ÀÌ BeanContext ÀÇ ¾ÆÀÌ ¸ðµç ¹Ýº¹ÀÚ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
protected void |
bcsPreDeserializationHook (ObjectInputStream ois)
defaultReadObject()ÀÇ µÚ, ¾ÆÀÌÀÇ Á÷·ÄÈ º¹¿øÀ» ½Ç½ÃÇϱâ Àü¿¡ readObject ¿¡ ÀÇÇØ ºÒ·Á °©´Ï´Ù. |
protected void |
bcsPreSerializationHook (ObjectOutputStream oos)
defaultWriteObject()ÀÇ µÚ, ÇöÀç Á÷·ÄÈ °¡´ÉÇÑ ¾ÆÀÌÀÇ Á÷·Äȸ¦ ½Ç½ÃÇϱâ Àü¿¡ writeObject ¿¡ ÀÇÇØ ºÒ·Á °©´Ï´Ù. |
protected void |
childDeserializedHook (Object child,
BeanContextSupport.BCSChild bcsc)
»õ·Ó°í Á÷·ÄÈ º¹¿øµÈ ¾ÆÀÌ ¹× BCSChild ¸¦ »ç¿ëÇØ readObject ¿¡ ÀÇÇØ ºÒ·Á °©´Ï´Ù. |
protected void |
childJustAddedHook (Object child,
BeanContextSupport.BCSChild bcsc)
¼ºê Ŭ·¡½º´Â ÀÌ ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵å(override) ÇØ, ¾ÆÀ̰¡ Ãß°¡µÇ¾î, À̺¥Æ® ÅëÁö°¡ ¹ß»ýÇϱâ Àü¿¡, °£´ÜÇÏ°Ô add() ½Ã¸àƽ½º¸¦ È®ÀåÇÒ ¼ö ÀÖ½À´Ï´Ù. |
protected void |
childJustRemovedHook (Object child,
BeanContextSupport.BCSChild bcsc)
¼ºê Ŭ·¡½º´Â ÀÌ ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵å(override) ÇØ, ¾ÆÀ̰¡ »èÁ¦µÇ¾î, À̺¥Æ® ÅëÁö°¡ ¹ß»ýÇϱâ Àü¿¡, °£´ÜÇÏ°Ô remove() ½Ã¸àƽ½º¸¦ È®ÀåÇÒ ¼ö ÀÖ½À´Ï´Ù. |
protected static boolean |
classEquals (Class first,
Class second)
2 °³ÀÇ Å¬·¡½º ¿ÀºêÁ§Æ® ¶Ç´Â ±×·¯ÇÑ À̸§ÀÌ °°Àº°¡ ¾î¶²°¡¸¦ ÆÇÁ¤ÇÕ´Ï´Ù. |
void |
clear ()
¾ÆÀ̸¦ Ŭ¸®¾î ÇÕ´Ï´Ù (¼Æ÷Æ®µÇ¾î ÀÖÁö ¾Ê´Ù). |
boolean |
contains (Object o)
ÁöÁ¤µÈ ¿ÀºêÁ§Æ®°¡ ÀÌ BeanContext ³»¿¡ ÀÖÀ»Áö ¾î¶³Áö¸¦ ÆÇÁ¤ÇÕ´Ï´Ù. |
boolean |
containsAll (Collection c)
ÁöÁ¤µÇ°í ÀÖ´Â Collection ÀÇ ¸ðµç ¿ÀºêÁ§Æ®°¡, ÀÌ BeanContext ÀÇ ¾ÆÀÌÀΰ¡ ¾î¶²°¡¸¦ ÆÇÁ¤ÇÕ´Ï´Ù. |
boolean |
containsKey (Object o)
ÁöÁ¤µÈ ¿ÀºêÁ§Æ®°¡ ÀÌ BeanContext ³»¿¡ ÀÖÀ»Áö ¾î¶³Áö¸¦ ÆÇÁ¤ÇÕ´Ï´Ù. |
protected Object [] |
copyChildren ()
ÀÌ BeanContext ÀÇ ¾ÆÀÌÀÇ Ä«ÇǸ¦ ÃëµæÇÕ´Ï´Ù. |
protected BeanContextSupport.BCSChild |
createBCSChild (Object targetChild,
Object peer)
¼ºê Ŭ·¡½º´Â ÀÌ ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵å(override) ÇÏ´Â °ÍÀ¸·Î½á, ¼¼Æ®¿¡ ¾ÆÀ̸¦ Ãß°¡ÇÏ´Â add() ¸Þ¼Òµå³ª ´Ù¸¥ Collection ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵å(override) ÇÏ´Â ÀÏ ¾øÀÌ, Child ÀÇ µ¶ÀÚÀûÀÎ ¼ºê Ŭ·¡½º¸¦ »ðÀÔÇÒ ¼ö°¡ ÀÖ½À´Ï´Ù. |
protected void |
deserialize (ObjectInputStream ois,
Collection coll)
ÄÝ·º¼ÇÀ» Á÷·ÄÈ º¹¿øÇϱâ À§Çؼ(¶§¹®¿¡) readObject ¿¡ ÀÇÇØ »ç¿ëµË´Ï´Ù. |
void |
dontUseGui ()
ÀÌ ÀνºÅϽº¿¡ GUI ¸¦ Ç¥Çö ÇÒ ¼ö ¾ø´Â °ÍÀ» ÅëÁöÇÕ´Ï´Ù. |
protected void |
fireChildrenAdded (BeanContextMembershipEvent bcme)
BeanContextMembershipListener ÀÎÅÍÆäÀ̽ºÀÇ BeanContextshipEvent ¸¦ ¹æ¾Æ¼è ÇÕ´Ï´Ù. |
protected void |
fireChildrenRemoved (BeanContextMembershipEvent bcme)
BeanContextMembershipListener ÀÎÅÍÆäÀ̽ºÀÇ BeanContextshipEvent ¸¦ ¹æ¾Æ¼è ÇÕ´Ï´Ù. |
BeanContext |
getBeanContextPeer ()
ÀÌ ¿ÀºêÁ§Æ®°¡ ±¸ÇöÀ» Á¦°øÇÏ´Â BeanContext ÀÇ ÀνºÅϽº¸¦ ÃëµæÇÕ´Ï´Ù. |
protected static BeanContextChild |
getChildBeanContextChild (Object child)
ÁöÁ¤µÈ ¾ÆÀÌÀÇ BeanContextChild (Á¸ÀçÇÏ´Â °æ¿ì)¸¦ ÃëµæÇÕ´Ï´Ù. |
protected static BeanContextMembershipListener |
getChildBeanContextMembershipListener (Object child)
ÁöÁ¤µÈ ¾ÆÀÌÀÇ BeanContextMembershipListener (Á¸ÀçÇÏ´Â °æ¿ì)¸¦ ÃëµæÇÕ´Ï´Ù. |
protected static PropertyChangeListener |
getChildPropertyChangeListener (Object child)
ÁöÁ¤µÈ ¾ÆÀÌÀÇ PropertyChangeListener (Á¸ÀçÇÏ´Â °æ¿ì)¸¦ ÃëµæÇÕ´Ï´Ù. |
protected static Serializable |
getChildSerializable (Object child)
ÁöÁ¤µÈ Child ¿¡ °ü·ÃÇÑ Serializable (Á¸ÀçÇÏ´Â °æ¿ì)¸¦ ÃëµæÇÕ´Ï´Ù. |
protected static VetoableChangeListener |
getChildVetoableChangeListener (Object child)
ÁöÁ¤µÈ ¾ÆÀÌÀÇ VetoableChangeListener (Á¸ÀçÇÏ´Â °æ¿ì)¸¦ ÃëµæÇÕ´Ï´Ù. |
protected static Visibility |
getChildVisibility (Object child)
ÁöÁ¤µÈ ¾ÆÀÌ¿¡°Ô °ü·ÃÇÑ Component (Á¸ÀçÇÏ´Â °æ¿ì)¸¦ ÃëµæÇÕ´Ï´Ù. |
Locale |
getLocale ()
ÀÌ BeanContext ÀÇ ·ÎÄÉÀÏÀ» ÃëµæÇÕ´Ï´Ù. |
URL |
getResource (String name,
BeanContextChild bcc)
java.lang.ClassLoader.getResource() ¿Í °°ÀÌ, ÀÌ ¸Þ¼Òµå¿¡ ÀÇÇØ BeanContext ±¸ÇöÀÌ ¾ÆÀÌ Component ¿Í ±âº»ÀûÀÎ ClassLoader ¿ÍÀÇ »çÀÌ¿¡ µ¿ÀÛÀ» »ðÀÔÇÒ ¼ö°¡ ÀÖ½À´Ï´Ù. |
InputStream |
getResourceAsStream (String name,
BeanContextChild bcc)
java.lang.ClassLoader.getResourceAsStream() ¿Í °°ÀÌ, ÀÌ ¸Þ¼Òµå¿¡ ÀÇÇØ BeanContext ±¸ÇöÀÌ ¾ÆÀÌ Component ¿Í ±âº»ÀûÀÎ ClassLoader ¿ÍÀÇ »çÀÌ¿¡ µ¿ÀÛÀ» »ðÀÔÇÒ ¼ö°¡ ÀÖ½À´Ï´Ù. |
protected void |
initialize ()
BeanContextSupport ÀνºÅϽºÀÇ ÀϽÃÀûÀÎ »óŸ¦ ÃʱâÈÇϱâ À§ÇØ(¶§¹®¿¡), constructor °ú readObject ¿¡ ºÒ·Á °¡´Â protected ¸Þ¼ÒµåÀÔ´Ï´Ù. |
Object |
instantiateChild (String beanName)
instantiateChild ¸Þ¼Òµå´Â Bean ¸¦ »óÀÚ·Î ÇØ BeanContext ¿¡ ÀνºÅϽº¸¦ »ý¼ºÇϴ ó¸®¸¦ ´Ü¼øÈ ÇÏ´Â BeanContext ÀÇ °£ÀÌ ÈÅÀÔ´Ï´Ù. |
boolean |
isDesignTime ()
ÀÌ ¿ÀºêÁ§Æ®°¡ ÇöÀç, ¼³°è½Ã ¸ðµåÀΰ¡ ¾î¶²°¡¸¦ º¸°íÇÕ´Ï´Ù. |
boolean |
isEmpty ()
ÀÌ BeanContext °¡ ÇÏ´ÃÀΰ¡ ¾î¶²°¡ º¸°íÇÕ´Ï´Ù. |
boolean |
isSerializing ()
ÀÌ BeanContext ´Â Á÷·ÄÈÀÇ Ã³¸®ÁßÀΰ¡ |
Iterator |
iterator ()
ÀÌ BeanContext ·Î »óÀÚ°¡ µÈ JavaBean ¶Ç´Â BeanContext ÀÇ ÀνºÅϽº¸¦ ÃëµæÇÕ´Ï´Ù. |
boolean |
needsGui ()
Åë»ó, ÀÌ ¸Þ¼Òµå´Â ±¸ÇöÃøÀÌ GUI ¸¦ ÇÊ¿ä·Î Çϰí ÀÖ´ÂÁö ¾î¶²Áö¸¦ ÆÇ´ÜÇϱâ À§Çؼ(¶§¹®¿¡), ȯ°æÀ¸·ÎºÎÅÍ ºÒ·Á °©´Ï´Ù. |
void |
okToUseGui ()
ÀÌ ÀνºÅϽº¿¡ GUI ¸¦ Ç¥Çö ÇÒ ¼ö ÀÖ´Â °ÍÀ» ÅëÁöÇÕ´Ï´Ù. |
void |
propertyChange (PropertyChangeEvent pce)
¼ºê Ŭ·¡½º´Â ¾ÆÀÌÀÇ ÇÁ·ÎÆÛƼÀÇ º¯°æÀ» °¨½ÃÇϱâ À§Çؼ Æ÷°ýÇÏ´Â ÀÏÀÌ ÀÖ½À´Ï´Ù. |
void |
readChildren (ObjectInputStream ois)
ÀÌ Å¬·¡½ºÀÇ ÀνºÅϽº°¡ BeanContext ÇÁ·ÎÅäÄÝ ( ¹× ±× ¼ºê ÇÁ·ÎÅäÄÝ)ÀÇ ±¸ÇöÀÇ delegateÀ¸·Î¼ »ç¿ëµÉ ¶§´Â Á÷·ÄÈ º¹¿ø ½Ã¿¡ ¡¸´ßÀÌ ¾ÕÀ̳ª ¾ËÀÌ ¾ÕÀΰ¡¡¹ÀÇ ¹®Á¦°¡ ÀϾ´Ï´Ù. |
boolean |
remove (Object targetChild)
ÀÌ BeanContext ·ÎºÎÅÍ ¾ÆÀ̸¦ »èÁ¦ÇÕ´Ï´Ù. |
protected boolean |
remove (Object targetChild,
boolean callChildSetBC)
¿¹±âÄ¡ ¾ÊÀº setBeanContext ȤÀº remove() È£Ãâ·Î »èÁ¦µÇ´Â °æ¿ì, ³»ºÎ »èÁ¦°¡ »ç¿ëµË´Ï´Ù. |
boolean |
removeAll (Collection c)
ÁöÁ¤µÈ ¸ðµç ¾ÆÀ̸¦ »èÁ¦ÇÕ´Ï´Ù (¼Æ÷Æ®µÇ¾î ÀÖÁö ¾Ê´Ù). |
void |
removeBeanContextMembershipListener (BeanContextMembershipListener bcml)
BeanContextMembershipListener ¸¦ »èÁ¦ÇÕ´Ï´Ù. |
boolean |
retainAll (Collection c)
ÁöÁ¤µÈ ¾ÆÀ̸¸À» º¸°ü À¯ÁöÇÕ´Ï´Ù (¼Æ÷Æ®µÇ¾î ÀÖÁö ¾Ê´Ù). |
protected void |
serialize (ObjectOutputStream oos,
Collection coll)
ÄÝ·º¼ÇÀ» Á÷·ÄÈÇϱâ À§Çؼ(¶§¹®¿¡) writeObject ¿¡ ÀÇÇØ »ç¿ëµË´Ï´Ù. |
void |
setDesignTime (boolean dTime)
ÀÌ BeanContext ¿¡ »õ·Î¿î ¼³°è½Ã ¸ðµå¸¦ ¼³Á¤ÇÕ´Ï´Ù. |
void |
setLocale (Locale newLocale)
ÀÌ BeanContext ÀÇ ·ÎÄÉÀÏÀ» ¼³Á¤ÇÕ´Ï´Ù. |
int |
size ()
ÀÌ BeanContext ·Î »óÀÚ°¡ µÈ ÇöÀçÀÇ ¾ÆÀÌÀÇ °³¼ö¸¦ ÃëµæÇÕ´Ï´Ù. |
Object [] |
toArray ()
ÀÌ BeanContext ·Î »óÀÚ°¡ µÈ JavaBean ¶Ç´Â BeanContext ÀÇ ÀνºÅϽº¸¦ ÃëµæÇÕ´Ï´Ù. |
Object [] |
toArray (Object [] arry)
ÀÌ ¹è¿³»¿¡ ÀÖ´Â ÇüÅÂ¿Í ÀÏÄ¡ÇÏ´Â BeanContext ÀÇ ¸ðµç ¾ÆÀ̸¦ Æ÷ÇÔÇÑ ¹è¿À» ÃëµæÇÕ´Ï´Ù. |
protected boolean |
validatePendingAdd (Object targetChild)
ÀÌ Å¬·¡½ºÀÇ ¼ºê Ŭ·¡½º´Â ÀÌ ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵å(override) ¶Ç´Â Æ÷°ýÇØ, BeanContext ¿¡ Ãß°¡µÇ±â Á÷Àü¿¡, BeanContext °¡ ¾ÆÀÌ ¿ÀºêÁ§Æ®¸¦ Á¶»çÇϱâ À§ÇÑ °ËÁõ µ¿ÀÛÀ» Ãß°¡ÇÒ ¼ö ÀÖ½À´Ï´Ù. |
protected boolean |
validatePendingRemove (Object targetChild)
ÀÌ Å¬·¡½ºÀÇ ¼ºê Ŭ·¡½º´Â ÀÌ ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵å(override) ¶Ç´Â Æ÷°ýÇØ, BeanContext ·ÎºÎÅÍ »èÁ¦µÇ±â Á÷Àü¿¡, BeanContext °¡ ¾ÆÀÌ ¿ÀºêÁ§Æ®¸¦ Á¶»çÇϱâ À§ÇÑ °ËÁõ µ¿ÀÛÀ» Ãß°¡ÇÒ ¼ö ÀÖ½À´Ï´Ù. |
void |
vetoableChange (PropertyChangeEvent pce)
¼ºê Ŭ·¡½º´Â ¾ÆÀÌÀÇ °ÅºÎ ÇÁ·ÎÆÛƼÀÇ º¯°æÀ» °¨½ÃÇϱâ À§Çؼ Æ÷°ýÇÏ´Â ÀÏÀÌ ÀÖ½À´Ï´Ù. |
void |
writeChildren (ObjectOutputStream oos)
ÀÌ BeanContext ÀÇ ¾ÆÀÌ ¸ðµç °ÍÀ» Á÷·ÄÈÇϴµ¥ »ç¿ëµË´Ï´Ù. |
Ŭ·¡½º java.beans.beancontext. BeanContextChildSupport ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
addPropertyChangeListener , addVetoableChangeListener , firePropertyChange , fireVetoableChange , getBeanContext , getBeanContextChildPeer , initializeBeanContextResources , isDelegated , releaseBeanContextResources , removePropertyChangeListener , removeVetoableChangeListener , serviceAvailable , serviceRevoked , setBeanContext , validatePendingSetBeanContext |
Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
ÀÎÅÍÆäÀ̽º java.beans.beancontext. BeanContextChild ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
addPropertyChangeListener , addVetoableChangeListener , getBeanContext , removePropertyChangeListener , removeVetoableChangeListener , setBeanContext |
ÀÎÅÍÆäÀ̽º java.util. Collection ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
equals , hashCode |
ÇʵåÀÇ »ó¼¼ |
protected transient HashMap children
protected HashMap children
Çʵ忡ÀÇ ¸ðµç ¾×¼¼½º´Â ±× ¿ÀºêÁ§Æ®¿¡ µ¿±âÈ µË´Ï´Ù.
protected transient ArrayList bcmListeners
protected ArrayList bcmListeners
Çʵ忡ÀÇ ¸ðµç ¾×¼¼½º´Â ±× ¿ÀºêÁ§Æ®¿¡ µ¿±âÈ µË´Ï´Ù.
protected Locale locale
protected boolean okToUseGui
protected boolean designTime
»ý¼ºÀÚÀÇ »ó¼¼ |
public BeanContextSupport(BeanContext peer, Locale lcle, boolean dTime, boolean visible)
peer
- ±¸ÇöÀÇ Á¦°øÃ³°¡ µÇ´Â ÇǾî BeanContext. ÀÌ ¿ÀºêÁ§Æ®°¡ µ¶ÀÚÀûÀÎ ÇǾîÀÎ °æ¿ì´Â nulllcle
- BeanContext ÀÇ ÇöÀçÀÇ Locale. lcle °¡ null ÀÇ °æ¿ì´Â µðÆúÆ®ÀÇ ·ÎÄÉÀÏÀÌ BeanContext ÀνºÅϽº¿¡ ÇÒ´çÇÒ ¼ö ÀÖ´Âvisible
- Ãʱ⠻óÅ¿¡¼ÀÇ °¡½Ã¼ºLocale.getDefault()
,
Locale.setDefault(java.util.Locale)
public BeanContextSupport(BeanContext peer, Locale lcle, boolean dtime)
peer
- ±¸ÇöÀÇ Á¦°øÃ³°¡ µÇ´Â ÇǾî BeanContext. ÀÌ ¿ÀºêÁ§Æ®°¡ µ¶ÀÚÀûÀÎ ÇǾîÀÎ °æ¿ì´Â nulllcle
- BeanContext ÀÇ ÇöÀçÀÇ Locale. lcle °¡ null ÀÇ °æ¿ì´Â µðÆúÆ®ÀÇ ·ÎÄÉÀÏÀÌ BeanContext ÀνºÅϽº¿¡ ÇÒ´çÇÒ ¼ö ÀÖ´Âdtime
- Ãʱ⠻óÅÂ. ¼³°è ¸ðµåÀÇ °æ¿ì´Â true, ½ÇÇà½Ã ¸ðµåÀÇ °æ¿ì´Â falseLocale.getDefault()
,
Locale.setDefault(java.util.Locale)
public BeanContextSupport(BeanContext peer, Locale lcle)
peer
- ±¸ÇöÀÇ Á¦°øÃ³°¡ µÇ´Â ÇǾî BeanContext. ÀÌ ¿ÀºêÁ§Æ®°¡ µ¶ÀÚÀûÀÎ ÇǾîÀÎ °æ¿ì´Â nulllcle
- BeanContext ÀÇ ÇöÀçÀÇ Locale. lcle °¡ null ÀÇ °æ¿ì´Â µðÆúÆ®ÀÇ ·ÎÄÉÀÏÀÌ BeanContext ÀνºÅϽº¿¡ ÇÒ´çÇÒ ¼ö ÀÖ´ÂLocale.getDefault()
,
Locale.setDefault(java.util.Locale)
public BeanContextSupport(BeanContext peer)
peer
- ±¸ÇöÀÇ Á¦°øÃ³°¡ µÇ´Â ÇǾî BeanContext. ÀÌ ¿ÀºêÁ§Æ®°¡ µ¶ÀÚÀûÀÎ ÇǾîÀÎ °æ¿ì´Â nullpublic BeanContextSupport()
¸Þ¼ÒµåÀÇ »ó¼¼ |
public BeanContext getBeanContextPeer()
public Object instantiateChild(String beanName) throws IOException , ClassNotFoundException
instantiateChild ¸Þ¼Òµå´Â Bean ¸¦ »óÀÚ·Î ÇØ BeanContext ¿¡ ÀνºÅϽº¸¦ »ý¼ºÇϴ ó¸®¸¦ ´Ü¼øÈ ÇÏ´Â BeanContext ÀÇ °£ÀÌ ÈÅÀÔ´Ï´Ù.
beanName ÆÄ¶ó¹ÌÅÍÀÇ ½Ã¸àƽ½º´Â java.beans.Beans.instantate ¿¡ ÀÇÇØ Á¤Àǵ˴ϴÙ.
BeanContext
³»ÀÇ instantiateChild
beanName
- ÀÌ BeanContext ³»¿¡¼ ÀνºÅϽº¸¦ »ý¼ºÇÏ´Â Bean ÀÇ À̸§
IOException
- bean ÀÇ Á÷·ÄÈ º¹¿øÁß¿¡ ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì
ClassNotFoundException
- beanName ÆÄ¶ó¹ÌÅÍ¿¡ ÀÇÇØ ½Äº°µÈ Ŭ·¡½º°¡ ¹ß°ßµÇÁö ¾Ê´Â °æ¿ìpublic int size()
Collection
³»ÀÇ size
public boolean isEmpty()
Collection
³»ÀÇ isEmpty
public boolean contains(Object o)
Collection
³»ÀÇ contains
o
- ÇØ´çÇÏ´Â ¿ÀºêÁ§Æ®
public boolean containsKey(Object o)
o
- ÇØ´çÇÏ´Â ¿ÀºêÁ§Æ®
public Iterator iterator()
Collection
³»ÀÇ iterator
public Object [] toArray()
Collection
³»ÀÇ toArray
public Object [] toArray(Object [] arry)
Collection
³»ÀÇ toArray
arry
- ´ë»óÀÌ µÇ´Â ¿ÀºêÁ§Æ®ÇüÀÇ ¹è¿
protected BeanContextSupport.BCSChild createBCSChild(Object targetChild, Object peer)
¼ºê Ŭ·¡½º´Â ÀÌ ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵å(override) ÇÏ´Â °ÍÀ¸·Î½á, ¼¼Æ®¿¡ ¾ÆÀ̸¦ Ãß°¡ÇÏ´Â add() ¸Þ¼Òµå³ª ´Ù¸¥ Collection ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵å(override) ÇÏ´Â ÀÏ ¾øÀÌ, Child ÀÇ µ¶ÀÚÀûÀÎ ¼ºê Ŭ·¡½º¸¦ »ðÀÔÇÒ ¼ö°¡ ÀÖ½À´Ï´Ù.
targetChild
- Child ¸¦ ÀÛ¼ºÇÏ´Â ¾ÆÀÌpeer
- targetChild ¹× ÇǾ BeanContextProxy ¿¡ ÀÇÇØ °ü·ÃÁöÀ» ¼ö ÀÖ°í ÀÖ´Â °æ¿ì´Â ±× ÇǾîpublic boolean add(Object targetChild)
java.beans.Beans.instantiate()ÀÇ ºÎÀÛ¿ëÀ¸·Î¼ ºÒ·Á °©´Ï´Ù. ¾ÆÀÌ ¿ÀºêÁ§Æ®¸¦ Ãß°¡Çϴ ó¸®°¡ Á¤´çÇÏÁö ¾ÊÀº °æ¿ì, ÀÌ ¸Þ¼Òµå´Â IllegalStateException ¸¦ ½½·Î¿ì ÇÕ´Ï´Ù.
Collection
³»ÀÇ add
targetChild
- ÀÌ BeanContext ³»¿¡¼ »óÀÚ°¡ µÇ´Â ¾ÆÀÌ ¿ÀºêÁ§Æ®
validatePendingAdd(java.lang.Object)
public boolean remove(Object targetChild)
Collection
³»ÀÇ remove
targetChild
- »èÁ¦µÇ´Â ¾ÆÀÌ ¿ÀºêÁ§Æ®
validatePendingRemove(java.lang.Object)
protected boolean remove(Object targetChild, boolean callChildSetBC)
targetChild
- »èÁ¦µÇ´Â JavaBean, BeanContext ¹× ObjectcallChildSetBC
- ÀÚ°¡ ÀÌ BeanContext ¿¡ »óÀÚ´Â ¾Æ´Ï¸é ÅëÁöÇÒ Çʿ䰡 ÀÖ´Â °ÍÀ» ³ªÅ¸³»´Âµ¥ »ç¿ëÇÏ´Â °æ¿ìpublic boolean containsAll(Collection c)
Collection
³»ÀÇ containsAll
c
- ÁöÁ¤µÇ°í ÀÖ´Â Collection
Collection.contains(Object)
public boolean addAll(Collection c)
Collection
³»ÀÇ addAll
c
- ÄÝ·º¼Ç¿¡ »ðÀԵǴ ¿ä¼Ò
UnsupportedOperationException
Collection.add(Object)
public boolean removeAll(Collection c)
Collection
³»ÀÇ removeAll
c
- ÄÝ·º¼ÇÀ¸·ÎºÎÅÍ »èÁ¦µÇ´Â ¿ä¼Ò
UnsupportedOperationException
Collection.remove(Object)
,
Collection.contains(Object)
public boolean retainAll(Collection c)
Collection
³»ÀÇ retainAll
c
- ÄÝ·º¼ÇÀ¸·Î º¸°ü À¯ÁöµÇ´Â ¿ä¼Ò
UnsupportedOperationException
Collection.remove(Object)
,
Collection.contains(Object)
public void clear()
Collection
³»ÀÇ clear
UnsupportedOperationException
public void addBeanContextMembershipListener(BeanContextMembershipListener bcml)
BeanContext
³»ÀÇ addBeanContextMembershipListener
bcml
- Ãß°¡µÇ´Â BeanContextMembershipListenerpublic void removeBeanContextMembershipListener(BeanContextMembershipListener bcml)
BeanContext
³»ÀÇ removeBeanContextMembershipListener
bcml
- »èÁ¦ÇÏ´Â BeanContextMembershipListenerpublic InputStream getResourceAsStream(String name, BeanContextChild bcc)
BeanContext
ÀÇ ±â¼ú: java.lang.ClassLoader.getResourceAsStream()
¿Í °°ÀÌ, ÀÌ ¸Þ¼Òµå¿¡ ÀÇÇØ BeanContext
±¸ÇöÀÌ ¾ÆÀÌ Component
¿Í ±âº»ÀûÀÎ ClassLoader
¿ÍÀÇ »çÀÌ¿¡ µ¿ÀÛÀ» »ðÀÔÇÒ ¼ö°¡ ÀÖ½À´Ï´Ù.
BeanContext
³»ÀÇ getResourceAsStream
name
- ¿ä±¸µÈ ¸®¼Ò½ºÀÇ À̸§bcc
- ÁöÁ¤µÈ ¾ÆÀÌ
public URL getResource(String name, BeanContextChild bcc)
BeanContext
ÀÇ ±â¼ú: java.lang.ClassLoader.getResource()
°ú °°ÀÌ, ÀÌ ¸Þ¼Òµå¿¡ ÀÇÇØ BeanContext
±¸ÇöÀÌ ¾ÆÀÌ Component
¿Í ±âº»ÀûÀÎ ClassLoader
¿ÍÀÇ »çÀÌ¿¡ µ¿ÀÛÀ» »ðÀÔÇÒ ¼ö°¡ ÀÖ½À´Ï´Ù.
BeanContext
³»ÀÇ getResource
name
- ¿ä±¸µÈ ¸®¼Ò½ºÀÇ À̸§bcc
- ÁöÁ¤µÈ ¾ÆÀÌ
public void setDesignTime(boolean dTime)
DesignMode
³»ÀÇ setDesignTime
dTime
- ½Å±Ô designTime Ä¡BeanContext
,
BeanContextMembershipListener
,
PropertyChangeEvent
public boolean isDesignTime()
DesignMode
³»ÀÇ isDesignTime
public void setLocale(Locale newLocale) throws PropertyVetoException
newLocale
- ½Å±Ô ·ÎÄÉÀÏ. NewLocale °¡ null
ÀÇ °æ¿ì, ÀÌ ¸Þ¼Òµå È£Ãâ¿¡ È¿°ú´Â ¾ø´Ù
PropertyVetoException
- ½Å±Ô ·ÎÄÉÀÏÀÌ °ÅºÎµÇ¾úÀ» °æ¿ìpublic Locale getLocale()
public boolean needsGui()
Åë»ó, ÀÌ ¸Þ¼Òµå´Â ±¸ÇöÃøÀÌ GUI ¸¦ ÇÊ¿ä·Î Çϰí ÀÖ´ÂÁö ¾î¶²Áö¸¦ ÆÇ´ÜÇϱâ À§Çؼ(¶§¹®¿¡), ȯ°æÀ¸·ÎºÎÅÍ ºÒ·Á °©´Ï´Ù.
¿©±â¼ »ç¿ëµÇ°í ÀÖ´Â ¾Ë°í¸®ÁòÀº BeanContextPeer ¿Í ÇöÀçÀÇ ¾ÆÀ̰¡ ÀÚ½ÅÀ» Containers, Components ÀÇ ¾î´À ÂÊÀÎÁö¸¦ ÆÇ´ÜÇÏ´Â °ÍÀ» Å×½ºÆ®ÇÕ´Ï´Ù. Visibility ¸¦ ±¸ÇöÇϰí ÀÖ´Â °æ¿ì´Â needsGui() == true ¸¦ µ¹·ÁÁÝ´Ï´Ù.
Visibility
³»ÀÇ needsGui
public void dontUseGui()
Visibility
³»ÀÇ dontUseGui
public void okToUseGui()
Visibility
³»ÀÇ okToUseGui
public boolean avoidingGui()
Visibility
³»ÀÇ avoidingGui
Visibility
public boolean isSerializing()
protected Iterator bcsChildren()
protected void bcsPreSerializationHook(ObjectOutputStream oos) throws IOException
IOException
protected void bcsPreDeserializationHook(ObjectInputStream ois) throws IOException , ClassNotFoundException
IOException
ClassNotFoundException
protected void childDeserializedHook(Object child, BeanContextSupport.BCSChild bcsc)
child
- »õ·Ó°Ô Á÷·ÄÈ º¹¿øµÈ ¾ÆÀÌbcsc
- »õ·Ó°Ô Á÷·ÄÈ º¹¿øµÈ BCSChildprotected final void serialize(ObjectOutputStream oos, Collection coll) throws IOException
oos
- Á÷·ÄÈÁß¿¡ »ç¿ëÇÏ´Â ObjectOutputStreamcoll
- Á÷·ÄÈÇÏ´Â Collection
IOException
- Á÷·ÄÈ¿¡ ½ÇÆÐÇßÀ» °æ¿ìprotected final void deserialize(ObjectInputStream ois, Collection coll) throws IOException , ClassNotFoundException
ois
- »ç¿ëÇÏ´Â ObjectInputStreamcoll
- ÄÝ·º¼Ç
IOException
ClassNotFoundException
public final void writeChildren(ObjectOutputStream oos) throws IOException
oos
- Á÷·ÄÈÁß¿¡ »ç¿ëÇÏ´Â ObjectOutputStream
IOException
- Á÷·ÄÈ¿¡ ½ÇÆÐÇßÀ» °æ¿ìpublic final void readChildren(ObjectInputStream ois) throws IOException , ClassNotFoundException
IOException
ClassNotFoundException
public void vetoableChange(PropertyChangeEvent pce) throws PropertyVetoException
VetoableChangeListener
³»ÀÇ vetoableChange
pce
- À̺¥Æ® ¼Ò½º ¹× º¯°æÇÑ ÇÁ·ÎÆÛƼ¸¦ ±â¼úÇÏ´Â PropertyChangeEvent
¿ÀºêÁ§Æ®
PropertyVetoException
- ¼öÃëÇÏ´Â ÃøÀ¸·Î ÇÁ·ÎÆÛƼ º¯°æÀÇ ·Ñ¹é(rollback)¸¦ ÁöÁ¤Çϰí ÀÖ´Â °æ¿ìpublic void propertyChange(PropertyChangeEvent pce)
PropertyChangeListener
³»ÀÇ propertyChange
pce
- À̺¥Æ® ¼Ò½º ¹× º¯°æÇÑ ÇÁ·ÎÆÛƼ¸¦ ±â¼úÇÏ´Â PropertyChangeEvent ¿ÀºêÁ§Æ®protected boolean validatePendingAdd(Object targetChild)
ÀÌ Å¬·¡½ºÀÇ ¼ºê Ŭ·¡½º´Â ÀÌ ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵å(override) ¶Ç´Â Æ÷°ýÇØ, BeanContext ¿¡ Ãß°¡µÇ±â Á÷Àü¿¡, BeanContext °¡ ¾ÆÀÌ ¿ÀºêÁ§Æ®¸¦ Á¶»çÇϱâ À§ÇÑ °ËÁõ µ¿ÀÛÀ» Ãß°¡ÇÒ ¼ö ÀÖ½À´Ï´Ù.
protected boolean validatePendingRemove(Object targetChild)
ÀÌ Å¬·¡½ºÀÇ ¼ºê Ŭ·¡½º´Â ÀÌ ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵å(override) ¶Ç´Â Æ÷°ýÇØ, BeanContext ·ÎºÎÅÍ »èÁ¦µÇ±â Á÷Àü¿¡, BeanContext °¡ ¾ÆÀÌ ¿ÀºêÁ§Æ®¸¦ Á¶»çÇϱâ À§ÇÑ °ËÁõ µ¿ÀÛÀ» Ãß°¡ÇÒ ¼ö ÀÖ½À´Ï´Ù.
protected void childJustAddedHook(Object child, BeanContextSupport.BCSChild bcsc)
protected void childJustRemovedHook(Object child, BeanContextSupport.BCSChild bcsc)
protected static final Visibility getChildVisibility(Object child)
child
- ÁöÁ¤µÈ ¾ÆÀÌ
protected static final Serializable getChildSerializable(Object child)
child
- ÁöÁ¤µÈ ¾ÆÀÌ
protected static final PropertyChangeListener getChildPropertyChangeListener(Object child)
child
- ÁöÁ¤µÈ ¾ÆÀÌ
protected static final VetoableChangeListener getChildVetoableChangeListener(Object child)
child
- ÁöÁ¤µÈ ¾ÆÀÌ
protected static final BeanContextMembershipListener getChildBeanContextMembershipListener(Object child)
child
- ÁöÁ¤µÈ ¾ÆÀÌ
protected static final BeanContextChild getChildBeanContextChild(Object child)
child
- ÁöÁ¤µÈ ¾ÆÀÌ
protected final void fireChildrenAdded(BeanContextMembershipEvent bcme)
protected final void fireChildrenRemoved(BeanContextMembershipEvent bcme)
protected void initialize()
protected final Object [] copyChildren()
protected static final boolean classEquals(Class first, Class second)
first
- ÃÖÃÊÀÇ ¿ÀºêÁ§Æ®second
- 2 ¹øÂ°ÀÇ ¿ÀºêÁ§Æ®
|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
Java, Java 2 D, ¹× JDBC ´Â ¹Ì±¹ ¹× ±× ¿ÜÀÇ ³ª¶ó¿¡ ÀÖ¾î¼ÀÇ ¹Ì±¹ Sun Microsystems, Inc. ÀÇ »óÇ¥ ȤÀº µî·Ï»óÇ¥ÀÔ´Ï´Ù.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.