|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--javax.swing.plaf.basic.BasicOptionPaneUI.ButtonAreaLayout
ButtonAreaLayout
´Â FlowLayout
¿Í °°Àº µ¿ÀÛÀ» ÇÕ´Ï´Ù. ¸ðµç ÄÄÆÛ³ÍÆ®¸¦ ¿ÞÂÊ¿¡¼ ¿À¸¥ÂÊ¿¡ ¹èÄ¡ÇÕ´Ï´Ù. syncAllWidths
°¡ true ÀÇ °æ¿ì, °¢ ÄÄÆÛ³ÍÆ®ÀÇ ÆøÀº ÀûÀýÇÑ ÃÖ´ë »çÀÌÁîÆøÀ¸·Î ¼³Á¤µË´Ï´Ù. ÀÌ ³»ºÎ Ŭ·¡½º´Â ÄÄÆÄÀÏ·¯ÀÇ ¹ö±×À̱⠶§¹®¿¡, "public" ¿Í ±â·ÏµË´Ï´Ù. ÀÌ Å¬·¡½º´Â "protected" ³»ºÎ Ŭ·¡½º·Î¼ Ãë±ÞÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù. BasicOptionPaneUI ÀÇ ¼ºê Ŭ·¡½º³»¿¡¼¸¸ ÀνºÅϽºÈÇØ ÁÖ¼¼¿ä.
ÇʵåÀÇ °³¿ä | |
protected boolean |
centersChildren
true ÀÇ °æ¿ì, ¾ÆÀÌ´Â ºÎ¸ðÁß¿¡ Çѵ¢¾î¸®·Î µË´Ï´Ù. |
protected int |
padding
|
protected boolean |
syncAllWidths
|
»ý¼ºÀÚÀÇ °³¿ä | |
BasicOptionPaneUI.ButtonAreaLayout (boolean syncAllWidths,
int padding)
|
¸Þ¼ÒµåÀÇ °³¿ä | |
void |
addLayoutComponent (String string,
Component comp)
·¹À̾ƿô ¸Å´ÏÀú°¡ ÄÄÆÛ³ÍÆ®¸¶´ÙÀÇ Ä³¸¯ÅÍ ¶óÀÎÀ» »ç¿ëÇÏ´Â °æ¿ì, ·¹À̾ƿô¿¡ ÄÄÆÛ³ÍÆ®ÀÇ comp ¸¦ Ãß°¡ÇØ,name ¿¡ ÀÇÇØ ÁöÁ¤µÈ ij¸¯ÅÍ ¶óÀο¡ °ü·ÃÁþ½À´Ï´Ù. |
boolean |
getCentersChildren ()
|
int |
getPadding ()
|
boolean |
getSyncAllWidths ()
|
void |
layoutContainer (Container container)
ÁöÁ¤µÈ ÄÁÅ×À̳ʸ¦ ¹èÄ¡ÇÕ´Ï´Ù. |
Dimension |
minimumLayoutSize (Container c)
ÁöÁ¤µÈ ÄÁÅ×À̳ÊÀÇ ÃÖ¼Ò »çÀÌÁîÀÇ Ä¡¼ö¸¦ °è»êÇÕ´Ï´Ù. |
Dimension |
preferredLayoutSize (Container c)
ÁöÁ¤µÈ ÄÁÅ×À̳ÊÀÇ Ãßõ »çÀÌÁîÀÇ Ä¡¼ö¸¦ °è»êÇÕ´Ï´Ù. |
void |
removeLayoutComponent (Component c)
ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®¸¦ ·¹À̾ƿôÀ¸·ÎºÎÅÍ »èÁ¦ÇÕ´Ï´Ù. |
void |
setCentersChildren (boolean newValue)
|
void |
setPadding (int newPadding)
|
void |
setSyncAllWidths (boolean newValue)
|
Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
ÇʵåÀÇ »ó¼¼ |
protected boolean syncAllWidths
protected int padding
protected boolean centersChildren
»ý¼ºÀÚÀÇ »ó¼¼ |
public BasicOptionPaneUI.ButtonAreaLayout(boolean syncAllWidths, int padding)
¸Þ¼ÒµåÀÇ »ó¼¼ |
public void setSyncAllWidths(boolean newValue)
public boolean getSyncAllWidths()
public void setPadding(int newPadding)
public int getPadding()
public void setCentersChildren(boolean newValue)
public boolean getCentersChildren()
public void addLayoutComponent(String string, Component comp)
LayoutManager
ÀÇ ±â¼ú: comp
¸¦ Ãß°¡ÇØ,name
¿¡ ÀÇÇØ ÁöÁ¤µÈ ij¸¯ÅÍ ¶óÀο¡ °ü·ÃÁþ½À´Ï´Ù.
LayoutManager
³»ÀÇ addLayoutComponent
string
- ÄÄÆÛ³ÍÆ®¿¡ °ü·ÃÁöÀ» ¼ö ÀÖ¾ú´ø ij¸¯ÅÍ ¶óÀÎcomp
- Ãß°¡µÇ´Â ÄÄÆÛ³ÍÆ®public void layoutContainer(Container container)
LayoutManager
ÀÇ ±â¼ú:
LayoutManager
³»ÀÇ layoutContainer
container
- ¹èÄ¡µÇ´Â ÄÁÅ×À̳Êpublic Dimension minimumLayoutSize(Container c)
LayoutManager
ÀÇ ±â¼ú:
LayoutManager
³»ÀÇ minimumLayoutSize
c
- ¹èÄ¡µÇ´Â ÄÄÆÛ³ÍÆ®LayoutManager.preferredLayoutSize(java.awt.Container)
public Dimension preferredLayoutSize(Container c)
LayoutManager
ÀÇ ±â¼ú:
LayoutManager
³»ÀÇ preferredLayoutSize
c
- ¹èÄ¡µÇ´Â ÄÁÅ×À̳ÊLayoutManager.minimumLayoutSize(java.awt.Container)
public void removeLayoutComponent(Component c)
LayoutManager
ÀÇ ±â¼ú:
LayoutManager
³»ÀÇ removeLayoutComponent
c
- »èÁ¦µÇ´Â ÄÄÆÛ³ÍÆ®
|
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.