|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
| ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
| °³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå | ||||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.AbstractButton
|
+--javax.swing.JMenuItem
|
+--javax.swing.JRadioButtonMenuItem
¶óµð¿À ¹öư ¸Þ´º Ç׸ñÀÇ ±¸ÇöÀÔ´Ï´Ù. JRadioButtonMenuItem ´Â ¸Þ´º Ç׸ñÀÇ ±×·ìÀÇ ÀϺΰ¡ µÇ´Â ¸Þ´º Ç׸ñÀ¸·Î, ±×·ì³»¿¡¼´Â Ç׸ñÀ» 1 °³¸¸ ¼±ÅÃÇÒ ¼ö ÀÖ½À´Ï´Ù. ¼±ÅÃµÈ Ç׸ñÀº ¼±Åà »óŸ¦ Ç¥½ÃÇÕ´Ï´Ù. ¶Ç, ÀÌ °á°ú, ¼±Åõǰí ÀÖ´ø ´Ù¸¥ Ç׸ñÀº ¼±ÅÃ ÇØÁ¦ »óÅ¿¡ ¹Ù²ò´Ï´Ù. ¶óµð¿À ¹öư ¸Þ´º Ç׸ñÀÇ ±×·ìÀÇ ¼±Åà »óŸ¦ Á¦¾îÇÏ·Á¸é ,ButtonGroup ¿ÀºêÁ§Æ®¸¦ »ç¿ëÇÕ´Ï´Ù.
»ó¼¼¿Í »ç¿ë¿¹¿¡ ´ëÇØ¼´Â ¡¸The Java Tutorial¡¹ÀÇ¡¸How to Use Menus¡¹¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä. Ç¥ÁØÀÇ Look & Feel (L&F) Ç¥ÇöÀ¸·Î ÀÌ ÄÄÆÛ³ÍÆ®°¡ »ç¿ëÇϴ Űº¸µåÀÇ Å°¿¡ ´ëÇØ¼´Â ¡¸JRadioButtonMenuItem ÀÇ Å° ÇÒ´çÇÏ°í¡¹¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä.
°æ°í:
ÀÌ Å¬·¡½ºÀÇ Á÷·ÄÈ µÈ ¿ÀºêÁ§Æ®´Â ÇâÈÄÀÇ Swing ¸±¸®½º¿Í ȣȯÀº ¾Æ´Ï°Ô µÉ ¿¹Á¤ÀÔ´Ï´Ù. ÇöÀçÀÇ Á÷·ÄÈÀÇ ¼Æ÷Æ®´Â ´Ü±â°£ÀÇ ¿î¿ëÀ̳ª, °°Àº ¹öÁ¯ÀÇ Swing ¸¦ ½ÇÇàÇÏ´Â ¾îÇø®ÄÉÀ̼ǰ£ÀÇ RMI ¿¡ ÀûÀýÇϰí ÀÖ½À´Ï´Ù. JDK ¹öÁ¯ 1.4 ÀÌÈÄ, ¸ðµç JavaBeansTM ÀÇ Àå±â°£ÀÇ ¿î¿ë ¼Æ÷Æ®´Â java.beans ÆÐŰÁö¿¡ Ãß°¡µÇ°í ÀÖ½À´Ï´Ù. ÀÚ¼¼ÇÑ °ÍÀº XMLEncoder ¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä.
ButtonGroup | ÁßøµÈ Ŭ·¡½ºÀÇ °³¿ä | |
protected class |
JRadioButtonMenuItem.AccessibleJRadioButtonMenuItem
ÀÌ Å¬·¡½º´Â JRadioButtonMenuItem Ŭ·¡½º¿ëÀÇ À¯Àú º¸Á¶ ±â´ÉÀÇ ¼Æ÷Æ®¸¦ ±¸ÇöÇϰí ÀÖ½À´Ï´Ù. |
| Ŭ·¡½º javax.swing. JMenuItem À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
|
| Ŭ·¡½º javax.swing. AbstractButton À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
AbstractButton.ButtonChangeListener |
| Ŭ·¡½º javax.swing. JComponent À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
|
| Ŭ·¡½º java.awt. Container À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
|
| Ŭ·¡½º java.awt. Component À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
Component.BltBufferStrategy , Component.FlipBufferStrategy |
| ÇʵåÀÇ °³¿ä |
| Ŭ·¡½º javax.swing. JComponent ¿¡¼ »ó¼Ó¹ÞÀº Çʵå |
accessibleContext , listenerList , TOOL_TIP_TEXT_KEY , ui , UNDEFINED_CONDITION , WHEN_ANCESTOR_OF_FOCUSED_COMPONENT , WHEN_FOCUSED , WHEN_IN_FOCUSED_WINDOW |
| Ŭ·¡½º java.awt. Component ¿¡¼ »ó¼Ó¹ÞÀº Çʵå |
BOTTOM_ALIGNMENT , CENTER_ALIGNMENT , LEFT_ALIGNMENT , RIGHT_ALIGNMENT , TOP_ALIGNMENT |
| ÀÎÅÍÆäÀ̽º javax.swing. SwingConstants ¿¡¼ »ó¼Ó¹ÞÀº Çʵå |
BOTTOM , CENTER , EAST , HORIZONTAL , LEADING , LEFT , NEXT , NORTH , NORTH_EAST , NORTH_WEST , PREVIOUS , RIGHT , SOUTH , SOUTH_EAST , SOUTH_WEST , TOP , TRAILING , VERTICAL , WEST |
| ÀÎÅÍÆäÀ̽º java.awt.image. ImageObserver ¿¡¼ »ó¼Ó¹ÞÀº Çʵå |
ABORT , ALLBITS , ERROR , FRAMEBITS , HEIGHT , PROPERTIES , SOMEBITS , WIDTH |
| »ý¼ºÀÚÀÇ °³¿ä | |
JRadioButtonMenuItem ()
ÅØ½ºÆ® ¹× ¾ÆÀÌÄÜÀ» ÁöÁ¤ÇÏÁö ¾Ê°í JRadioButtonMenuItem ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
JRadioButtonMenuItem (Action a)
ÁöÁ¤µÈ Action ·ÎºÎÅÍ ÇÁ·ÎÆÛƼ¸¦ ÃëµæÇÏ´Â ¶óµð¿À ¹öư ¸Þ´º Ç׸ñÀ» ÀÛ¼ºÇÕ´Ï´Ù. |
|
JRadioButtonMenuItem (Icon icon)
¾ÆÀÌÄÜÀ» ÁöÁ¤ÇØ JRadioButtonMenuItem ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
JRadioButtonMenuItem (Icon icon,
boolean selected)
¶óµð¿À ¹öư ¸Þ´º Ç׸ñÀ», À̹ÌÁö ¹× ¼±Åà »óŸ¦ ÁöÁ¤ÇØ, ÅØ½ºÆ®¸¦ ÁöÁ¤ÇÏÁö ¾Ê°í ÀÛ¼ºÇÕ´Ï´Ù. |
|
JRadioButtonMenuItem (String text)
ÅØ½ºÆ®¸¦ ÁöÁ¤ÇØ JRadioButtonMenuItem ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
JRadioButtonMenuItem (String text,
boolean selected)
¶óµð¿À ¹öư ¸Þ´º Ç׸ñÀ», ¼±Åà »óÅÂ¿Í ÅØ½ºÆ®¸¦ ÁöÁ¤ÇØ ÀÛ¼ºÇÕ´Ï´Ù. |
|
JRadioButtonMenuItem (String text,
Icon icon)
¶óµð¿À ¹öư ¸Þ´º Ç׸ñÀ», Icon ¿Í ÅØ½ºÆ®¸¦ ÁöÁ¤ÇØ ÀÛ¼ºÇÕ´Ï´Ù. |
|
JRadioButtonMenuItem (String text,
Icon icon,
boolean selected)
¶óµð¿À ¹öư ¸Þ´º Ç׸ñÀ», ÅØ½ºÆ®, À̹ÌÁö ¹× ¼±Åà »óŸ¦ ÁöÁ¤ÇØ ÀÛ¼ºÇÕ´Ï´Ù. |
|
| ¸Þ¼ÒµåÀÇ °³¿ä | |
AccessibleContext |
getAccessibleContext ()
ÀÌ JRadioButtonMenuItem ¿¡ °ü·ÃÇÑ AccessibleContext ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
String |
getUIClassID ()
ÀÌ ÄÄÆÛ³ÍÆ®¸¦ Ç¥Çö ÇÏ´Â L&F Ŭ·¡½ºÀÇ À̸§À» µ¹·ÁÁÝ´Ï´Ù. |
protected String |
paramString ()
ÀÌ JRadioButtonMenuItem ÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇöÀ» µ¹·ÁÁÝ´Ï´Ù. |
| Ŭ·¡½º java.awt. Container ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
add , add , add , add , add , addContainerListener , addImpl , applyComponentOrientation , areFocusTraversalKeysSet , countComponents , deliverEvent , doLayout , findComponentAt , findComponentAt , getComponent , getComponentAt , getComponentAt , getComponentCount , getComponents , getContainerListeners , getFocusTraversalKeys , getFocusTraversalPolicy , getLayout , insets , invalidate , isAncestorOf , isFocusCycleRoot , isFocusCycleRoot , isFocusTraversalPolicySet , layout , list , list , locate , minimumSize , paintComponents , preferredSize , printComponents , processContainerEvent , processEvent , remove , remove , removeAll , removeContainerListener , setFocusCycleRoot , setFocusTraversalKeys , setFocusTraversalPolicy , setLayout , transferFocusBackward , transferFocusDownCycle , validate , validateTree |
| Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
| »ý¼ºÀÚÀÇ »ó¼¼ |
public JRadioButtonMenuItem()
JRadioButtonMenuItem ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
public JRadioButtonMenuItem(Icon icon)
JRadioButtonMenuItem ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
icon - JRadioButtonMenuItem ¿¡ Ç¥½ÃÇÏ´Â Iconpublic JRadioButtonMenuItem(String text)
JRadioButtonMenuItem ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
text - JRadioButtonMenuItem ÀÇ ÅØ½ºÆ®public JRadioButtonMenuItem(Action a)
Action ·ÎºÎÅÍ ÇÁ·ÎÆÛƼ¸¦ ÃëµæÇÏ´Â ¶óµð¿À ¹öư ¸Þ´º Ç׸ñÀ» ÀÛ¼ºÇÕ´Ï´Ù.
a - ¶óµð¿À ¹öư ¸Þ´º Ç׸ñÀÇ º£À̽º°¡ µÇ´Â Action
public JRadioButtonMenuItem(String text,
Icon icon)
Icon ¿Í ÅØ½ºÆ®¸¦ ÁöÁ¤ÇØ ÀÛ¼ºÇÕ´Ï´Ù.
text - JRadioButtonMenuItem ÀÇ ÅØ½ºÆ®icon - JRadioButtonMenuItem ¿¡ Ç¥½ÃÇÏ´Â ¾ÆÀÌÄÜ
public JRadioButtonMenuItem(String text,
boolean selected)
text - CheckBoxMenuItem ÀÇ ÅØ½ºÆ®selected - CheckBoxMenuItem ÀÇ ¼±Åà »óÅÂ
public JRadioButtonMenuItem(Icon icon,
boolean selected)
icon - ¹öưÀ¸·Î Ç¥½ÃÇÏ´Â À̹ÌÁöselected - true ÀÇ °æ¿ì´Â ¹öưÀÌ Ãʱ⠻óÅ·Π¼±ÅÃµÇ¾î ±×·¸Áö ¾ÊÀº °æ¿ì´Â ¹öưÀÌ Ãʱ⠻óÅ·Π¼±ÅÃ ÇØÁ¦µÈ´Ù
public JRadioButtonMenuItem(String text,
Icon icon,
boolean selected)
text - ¶óµð¿À ¹öư¿¡ Ç¥½ÃÇϴ ij¸¯ÅÍ ¶óÀÎicon - ¹öưÀ¸·Î Ç¥½ÃÇÏ´Â À̹ÌÁö| ¸Þ¼ÒµåÀÇ »ó¼¼ |
public String getUIClassID()
JMenuItem ³»ÀÇ getUIClassID JComponent.getUIClassID() ,
UIDefaults.getUI(javax.swing.JComponent) protected String paramString()
JRadioButtonMenuItem ÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇöÀ» µ¹·ÁÁÝ´Ï´Ù. ÀÌ ¸Þ¼Òµå´Â µð¹ö±× Àü¿ëÀ̸ç, µ¹·ÁÁÖ¾îÁö´Â ij¸¯ÅÍ ¶óÀÎÀÇ ³»¿ë ¹× Çü½ÄÀº ±¸Çö¿¡ µû¶ó¼ ´Ù¸¨´Ï´Ù. µ¹·ÁÁÖ¾îÁö´Â ij¸¯ÅÍ ¶óÀÎÀº ºñ¾úÀ» °æ¿ì°¡ ÀÖ½À´Ï´Ù¸¸,null ·Î´Â µÇÁö ¾Ê½À´Ï´Ù.
JMenuItem ³»ÀÇ paramString JRadioButtonMenuItem ÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇöpublic AccessibleContext getAccessibleContext()
Accessible ³»ÀÇ getAccessibleContext JMenuItem ³»ÀÇ getAccessibleContext
|
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.