|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjava.beans.beancontext.BeanContextChildSupport
java.beans.beancontext.BeanContextSupport
public class BeanContextSupport
ÀÌ ÇïÆÛ Ŭ·¡½º´Â java.beans.beancontext.BeanContext ÀÎÅÍÆäÀ̽ºÀÇ À¯Æ¿¸®Æ¼ÀÇ ±¸ÇöÀ» Á¦°øÇÕ´Ï´Ù.
ÀÌ Å¬·¡½º´Â BeanContext ÀÎÅÍÆäÀ̽º¸¦ Á÷Á¢ ±¸ÇöÇϱâ À§ÇØ, ÀÌ ±¸ÇöÀ» »ó¼ÓÇÏ´Â °Í¿¡ÀÇÇØ ȤÀº ´Ù¸¥ ÀνºÅϽº·ÎºÎÅÍ ÀÌ Å¬·¡½ºÀÇ ÀνºÅϽºÀÇ Æ¯º°ÇÑ À§¾çÀ» °³°Í¿¡ ÀÇÇØ »ç¿ëµÇ´Â °ÍÀ» ¸ñÀûÀ¸·Î Çϰí ÀÖ½À´Ï´Ù.
Áßø(Nested) Ŭ·¡½º °³¿ä | |
---|---|
protected class |
BeanContextSupport.BCSChild
|
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)
defaultWriteObject()ÀÇµÚ ÀÚ½ÄÀ» Á÷·ÄÈÇϱâ ÀüÀÇ 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 ÀνºÅϽºÀÇ ÀϽÃÀûÀÎ »óŸ¦ ÃʱâÈÇϱâ À§Çؼ »ý¼ºÀÚ ¹× 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 ÇÁ·ÎÅäÄÝ ( ¹× ±× ¼ºê ÇÁ·ÎÅäÄÝ)ÀÇ ±¸ÇöÀÇ À§¾çÀ¸·Î¼ »ç¿ëµÉ ¶§´Â Á÷·ÄÈ º¹¿ø ½Ã¿¡ ¡¸´ßÀÌ ¾ÕÀΰ¡ ¾ËÀÌ ¾ÕÀΰ¡¡¹ÀÇ ¹®Á¦°¡ ÀϾ´Ï´Ù. |
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.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 ÀνºÅϽº¿¡´Â µðÆúÆ®ÀÇ ·ÎÄÉÀÏÀ» ÇÒ´çÇÒ ¼ö ÀÖ´ÂdTime
- Ãʱ⠻óÅÂ. ¼³°è ¸ðµåÀÇ °æ¿ì´Â true, ½ÇÇà½Ã ¸ðµåÀÇ °æ¿ì´Â falsevisible
- Ãʱ⠻óÅ¿¡¼ÀÇ °¡½Ã¼º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()
Iterable
³»ÀÇ 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À» Throw ÇÕ´Ï´Ù.
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
- Ãß°¡µÇ´Â BeanContextMembershipListener
NullPointerException
- public void removeBeanContextMembershipListener(BeanContextMembershipListener bcml)
BeanContext
³»ÀÇ removeBeanContextMembershipListener
bcml
- »èÁ¦ÇÏ´Â BeanContextMembershipListener
NullPointerException
- public InputStream getResourceAsStream(String name, BeanContextChild bcc)
BeanContext
񃬣: java.lang.ClassLoader.getResourceAsStream()
¿Í
°°ÀÌ, ÀÌ ¸Þ¼µå¿¡ ÀÇÇØ BeanContext
±¸ÇöÀÌÀÚ½Ä
Component
¿Í
±âº»ÀûÀÎ ClassLoader
¿Í
ÀÇ »çÀÌ¿¡ µ¿ÀÛÀ» »ðÀÔÇÒ ¼ö ÀÖ½À´Ï´Ù
.
BeanContext
³»ÀÇ getResourceAsStream
name
- ¿ä±¸µÈ ÀÚ¿øÀÇ À̸§bcc
- ¿ä±¸¸¦ ½Ç½ÃÇÏ´ÂÀÚ½Ä
°´Ã¼
NullPointerException
- 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
- ÁöÁ¤µÈÀÚ½Ä
IllegalArgumentException
- ÀÚ°¡ BeanContextChild ¹× BeanContextProxy
¾çÂÊ ¸ðµÎ¸¦ ±¸ÇöÇϰí ÀÖ´Â °æ¿ì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 Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.