javax.swing
ÀÎÅÍÆäÀ̽º UIDefaults.LazyValue
- ¾Ë·ÁÁø ±¸Çö Ŭ·¡½º ¸ñ·Ï:
- UIDefaults.LazyInputMap,
UIDefaults.ProxyLazyValue
- Æ÷ÇԵǾî Àִ Ŭ·¡½º:
- UIDefaults
public static interface UIDefaults.LazyValue
ÀÌ Å¬·¡½º¸¦ »ç¿ëÇϸé, getXXX(key)
¸Þ¼µå·Î óÀ½À¸·Î ·è ¾÷ µÉ ¶§±îÁö ±¸ÃàµÇÁö ¾Ê´Â µðÆúÆ®ÀÇ Å×ÀÌºí¿¡ ¿£Æ®¸®¸¦ Æ÷ÇÔÇÒ ¼ö ÀÖ½À´Ï´Ù. Áö¿¬Ä¡´Â ±¸ÃàÇϴµ¥ ºÎÇϰ¡ Å©±âµµ Çϰí, Á»Ã³·³ ²¨³»ÁöÁö ¾ÊÀº µðÆúÆ®·Î µµ¿òÀÌ µË´Ï´Ù. LazyValue
¸¦ óÀ½À¸·Î ²¨³»¸é, ±× ¡¸½Ç¼öÄ¡¡¹°¡ LazyValue.createValue()
¸¦ È£ÃâÇÏ´Â °Í¿¡ ÀÇÇØ °è»êµÇ¾î ½Ç¼öÄ¡¸¦ »ç¿ëÇØ UIDefaults
Å×À̺íÀÇ LazyValue
¸¦ ¿Å°Ü³õ½À´Ï´Ù. °°Àº ۸¦ ³ªÁß¿¡ ·è ¿Ã¶ó°¥ ¶§¸¶´Ù, ½Ç¼ö°ªÀÌ ¸®Åϵ˴ϴÙ
. ´ÙÀ½¿¡
Border
¸¦ ±¸ÃàÇÏ´Â LazyValue
¿¹¸¦ ³ªÅ¸³À´Ï´Ù.
Object borderLazyValue = new UIDefaults.LazyValue() {
public Object createValue(UIDefaults table) {
return new BorderFactory.createLoweredBevelBorder();
}
};
uiDefaultsTable.put("MyBorder", borderLazyValue);
- °ü·Ã Ç׸ñ:
UIDefaults.get(java.lang.Object)
createValue
Object createValue(UIDefaults table)
UIDefaults
Å×ÀÌºí¿¡¼ ²¨³»Áø ½ÇÈ¿°¡¸¦ »ý¼ºÇÕ´Ï´Ù. ÀÌ ÀÎÅÍÆäÀ̽º¸¦ ±¸ÇöÇÏ´Â °´Ã¼°¡ Å×ÀÌºí¿¡¼ ²¨³»Á³À» °æ¿ì, ÀÌ ¸Þ¼µå°¡ ½Ç¼öÄ¡¸¦ »ý¼ºÇϱâ À§Çؼ »ç¿ëµÇ¾î »ý¼ºµÈ °ªÀº Å×ÀÌºí¿¡ Æ÷ÇÔ ÈÄ, È£ÃâÃøÀÇ ¸Þ¼µå¿¡ ¸®Åϵ˴ϴÙ
.
- ÆÄ¶ó¹ÌÅÍ:
table
- UIDefaults
Å×À̺í
- ¹Ýȯ°ª:
- ÀÛ¼ºµÈ
Object
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ
ÂüÁ¶ÇϽʽÿÀ.