|
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.JMenu
¸Þ´ºÀÇ ±¸ÇöÀ̸ç, À¯Àú°¡ JMenuBar ·Î Ç׸ñÀ» ¼±ÅÃÇÑ´Ù°í Ç¥½ÃµÇ´Â JMenuItem ¸¦ º¸°ü À¯ÁöÇÏ´Â pop-up À©µµ¿ìÀÔ´Ï´Ù. JMenuItem ¿Ü¿¡,JMenu ¿¡´Â JSeparator µµ Æ÷ÇÔÇÒ ¼ö°¡ ÀÖ½À´Ï´Ù.
¸Þ´º¶ó°í ÇÏ´Â °ÍÀº ½ÇÁúÀûÀ¸·Î´Â JPopupMenu ¸¦ ÇÒ´çÇÒ ¼ö ÀÖ¾ú´ø ¹öưÀÔ´Ï´Ù. ¡¸¹öư¡¹ÀÌ ¹Ð¸®¸é(ÀÚ) JPopupMenu °¡ Ç¥½ÃµË´Ï´Ù. ¡¸¹öư¡¹ÀÌ JMenuBar »ó¿¡ ÀÖÀ¸¸é, ±× ¸Þ´º´Â Åé ·¹º§ À©µµ¿ìÀÔ´Ï´Ù. ¡¸¹öư¡¹ÀÌ ´Ù¸¥ ¸Þ´º Ç׸ñÀ̸é JPopupMenu ´Â ¡¸ÇÁ¸£¶óÀÌÆ®¡¹¸Þ´ºÀÔ´Ï´Ù.
¸Þ´ºÀÇ »ç¿ë¿¡ °üÇÑ »ó¼¼¿Í ¿¹¿¡ ´ëÇØ¼´Â ¡¸The Java Tutorial¡¹ÀÇ¡¸How to Use Menus¡¹¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä. Ç¥ÁØÀÇ Look & Feel (L&F) Ç¥ÇöÀ¸·Î ÀÌ ÄÄÆÛ³ÍÆ®°¡ »ç¿ëÇϴ Űº¸µåÀÇ Å°¿¡ ´ëÇØ¼´Â ¡¸JMenu ÀÇ Å° ÇÒ´çÇÏ°í¡¹¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä.
°æ°í:
ÀÌ Å¬·¡½ºÀÇ Á÷·ÄÈ µÈ ¿ÀºêÁ§Æ®´Â ÇâÈÄÀÇ Swing ¸±¸®½º¿Í ȣȯÀº ¾Æ´Ï°Ô µÉ ¿¹Á¤ÀÔ´Ï´Ù. ÇöÀçÀÇ Á÷·ÄÈÀÇ ¼Æ÷Æ®´Â ´Ü±â°£ÀÇ ¿î¿ëÀ̳ª, °°Àº ¹öÁ¯ÀÇ Swing ¸¦ ½ÇÇàÇÏ´Â ¾îÇø®ÄÉÀ̼ǰ£ÀÇ RMI ¿¡ ÀûÀýÇϰí ÀÖ½À´Ï´Ù. 1.4 ¿¡¼´Â ¸ðµç JavaBeansTM ÀÇ Àå±â°£ÀÇ ¿î¿ë¿¡ ´ëÇÑ ¼Æ÷Æ®°¡ java.beans ÆÐŰÁö¿¡ Ãß°¡µÇ¾ú½À´Ï´Ù. XMLEncoder ¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä.
JMenuItem ,
JSeparator ,
JMenuBar ,
JPopupMenu | ÁßøµÈ Ŭ·¡½ºÀÇ °³¿ä | |
protected class |
JMenu.AccessibleJMenu
ÀÌ Å¬·¡½º´Â JMenu Ŭ·¡½º¿ëÀÇ À¯Àú º¸Á¶ ±â´ÉÀÇ ¼Æ÷Æ®¸¦ ±¸ÇöÇϰí ÀÖ½À´Ï´Ù. |
protected class |
JMenu.WinListener
pop-up À©µµ¿ì°¡ ´ÝÇôÁö´Â °ÍÀ» °¨½ÃÇϴ ûÃëÀÚ Å¬·¡½ºÀÔ´Ï´Ù. |
| Ŭ·¡½º javax.swing. JMenuItem À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
|
| Ŭ·¡½º javax.swing. AbstractButton À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
AbstractButton.ButtonChangeListener |
| Ŭ·¡½º javax.swing. JComponent À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
|
| Ŭ·¡½º java.awt. Container À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
|
| Ŭ·¡½º java.awt. Component À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
Component.BltBufferStrategy , Component.FlipBufferStrategy |
| ÇʵåÀÇ °³¿ä | |
protected JMenu.WinListener |
popupListener
pop-up¿ëÀÇ, À©µµ¿ì¸¦ ´Ý±â À§ÇÑ Ã»ÃëÀÚÀÔ´Ï´Ù. |
| Ŭ·¡½º 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 |
| »ý¼ºÀÚÀÇ °³¿ä | |
JMenu ()
ÅØ½ºÆ®°¡ ¾ø´Â »õ·Î¿î JMenu ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
JMenu (Action a)
ÁöÁ¤µÈ Action ·ÎºÎÅÍ ÇÁ·ÎÆÛƼ¸¦ ÃëµæÇÏ´Â ¸Þ´º¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
JMenu (String s)
ÁöÁ¤µÈ ij¸¯ÅÍ ¶óÀÎÀ» ÅØ½ºÆ®·Î¼ °¡Áö´Â »õ·Î¿î JMenu ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
JMenu (String s,
boolean b)
ÁöÁ¤µÈ ij¸¯ÅÍ ¶óÀÎÀ» ÅØ½ºÆ®·Î¼ °¡Á®, Ƽ¾Æ¿ÀÈĸ޴ºÀΰ¡ ¾î¶²°¡¸¦ ÁöÁ¤µÈ, »õ·Î¿î JMenu ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
|
| ¸Þ¼ÒµåÀÇ °³¿ä | |
JMenuItem |
add (Action a)
ÁöÁ¤µÈ Action ¿ÀºêÁ§Æ®¿¡ ¼ÓÇÏ´Â »õ·Î¿î ¸Þ´º Ç׸ñÀ» ÀÛ¼ºÇØ, ±×°ÍÀ» ÀÌ ¸Þ´ºÀÇ ¸»¹Ì¿¡ Ãß°¡ÇÕ´Ï´Ù. |
Component |
add (Component c)
ÀÌ ¸Þ´ºÀÇ ¸¶Áö¸·¿¡ ÄÄÆÛ³ÍÆ®¸¦ Ãß°¡ÇÕ´Ï´Ù. |
Component |
add (Component c,
int index)
ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®¸¦ ÀÌ ÄÁÅ×À̳ÊÀÇ ÁöÁ¤µÈ À§Ä¡¿¡ Ãß°¡ÇÕ´Ï´Ù. |
JMenuItem |
add (JMenuItem menuItem)
ÀÌ ¸Þ´ºÀÇ ¸¶Áö¸·¿¡ ¸Þ´º Ç׸ñÀ» Ãß°¡ÇÕ´Ï´Ù. |
JMenuItem |
add (String s)
ÁöÁ¤µÈ ÅØ½ºÆ®¸¦ °¡Áö´Â »õ·Î¿î ¸Þ´º Ç׸ñÀ» ÀÛ¼ºÇØ, ÀÌ ¸Þ´ºÀÇ ¸»¹Ì¿¡ Ãß°¡ÇÕ´Ï´Ù. |
void |
addMenuListener (MenuListener l)
¸Þ´º À̺¥Æ®ÀÇ Ã»ÃëÀÚ¸¦ Ãß°¡ÇÕ´Ï´Ù. |
void |
addSeparator ()
¸Þ´ºÀÇ ¸¶Áö¸·¿¡ »õ·Î¿î separator¸¦ Ãß°¡ÇÕ´Ï´Ù. |
void |
applyComponentOrientation (ComponentOrientation o)
ÀÌ ¸Þ´º ¹× ÀÌ ¸Þ´º¿¡ Æ÷ÇԵǴ ¸ðµç ÄÄÆÛ³ÍÆ®ÀÇ ComponentOrientation ÇÁ·ÎÆÛƼ¸¦ ¼³Á¤ÇÕ´Ï´Ù. |
protected void |
configurePropertiesFromAction (Action a)
Action ÀνºÅϽºÀÇ °ª¿¡ µû¶ó ActionEvent ¼Ò½ºÀÇ ÇÁ·ÎÆÛƼ¸¦ ¼³Á¤ÇÏ´Â ÆÑÅ丮 ¸Þ¼ÒµåÀÔ´Ï´Ù. |
protected PropertyChangeListener |
createActionChangeListener (JMenuItem b)
Action ¿¡ ´ëÇÑ º¯°æÀÌ ¹ß»ýÇßÀ» °æ¿ì¿¡ ÄÁÆ®·ÑÀ» °»½ÅÇÑ´Ù, ÀûÀýÈ÷ ¼³Á¤µÈ PropertyChangeListener ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
protected JMenuItem |
createActionComponent (Action a)
JMenu ¿¡ Ãß°¡µÇ´Â Action ÀÇ JMenuItem ¸¦ ÀÛ¼ºÇÏ´Â ÆÑÅ丮 ¸Þ¼ÒµåÀÔ´Ï´Ù. |
protected JMenu.WinListener |
createWinListener (JPopupMenu p)
pop-upÀÇ À©µµ¿ì¸¦ ´Ý´Â ûÃëÀÚ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
void |
doClick (int pressTime)
¡¸Å¬¸¯¡¹À» ÇÁ·Î±×·¥»ó¿¡¼ ½ÇÇàÇÕ´Ï´Ù. |
protected void |
fireMenuCanceled ()
ÅëÁöÀÇ Àü´Þ ´ë»óÀ», ÁöÁ¤µÈ À̺¥Æ® ŸÀÔÀ¸·Î µî·ÏÇÑ ¸ðµç ûÃëÀÚ¿¡°Ô ÅëÁöÇÕ´Ï´Ù. |
protected void |
fireMenuDeselected ()
ÅëÁöÀÇ Àü´Þ ´ë»óÀ», ÁöÁ¤µÈ À̺¥Æ® ŸÀÔÀ¸·Î µî·ÏÇÑ ¸ðµç ûÃëÀÚ¿¡°Ô ÅëÁöÇÕ´Ï´Ù. |
protected void |
fireMenuSelected ()
ÅëÁöÀÇ Àü´Þ ´ë»óÀ», ÁöÁ¤µÈ À̺¥Æ® ŸÀÔÀ¸·Î µî·ÏÇÑ ¸ðµç ûÃëÀÚ¿¡°Ô ÅëÁöÇÕ´Ï´Ù. |
AccessibleContext |
getAccessibleContext ()
ÀÌ JMenu ¿¡ °ü·ÃÇÑ AccessibleContext ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
Component |
getComponent ()
ÀÌ MenuElement ¸¦ paint Çϴµ¥ »ç¿ëµÇ´Â java.awt.Component ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
getDelay ()
ºÎ¸Þ´º¸¦ Ç¥½Ã ¶Ç´Â ºñÇ¥½Ã·Î ÇÒ ¶§±îÁöÀÇ, Ãßõ µÇ´Â Áö¿¬ ½Ã°£À» ¹Ð¸® ¼¼ÄÁµå ´ÜÀ§·Î µ¹·ÁÁÝ´Ï´Ù. |
JMenuItem |
getItem (int pos)
ÁöÁ¤µÈ À§Ä¡ÀÇ JMenuItem ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
getItemCount ()
separator¸¦ Æ÷ÇÔÇÑ ¸Þ´º Ç׸ñ¼ö¸¦ µ¹·ÁÁÝ´Ï´Ù. |
Component |
getMenuComponent (int n)
n ÀÇ À§Ä¡¿¡ ÀÖ´Â ÄÄÆÛ³ÍÆ®¸¦ µ¹·ÁÁÝ´Ï´Ù. |
int |
getMenuComponentCount ()
¸Þ´ºÀÇ ÄÄÆÛ³ÍÆ®¼ö¸¦ µ¹·ÁÁÝ´Ï´Ù. |
Component [] |
getMenuComponents ()
¸Þ´ºÀÇ ¼ºê ÄÄÆÛ³ÍÆ®ÀÇ Component ÀÇ ¹è¿À» µ¹·ÁÁÝ´Ï´Ù. |
MenuListener [] |
getMenuListeners ()
ÀÌ JMenu ¿¡ addMenuListener()·Î Ãß°¡µÈ ¸ðµç MenuListener ÀÇ ¹è¿À» µ¹·ÁÁÝ´Ï´Ù. |
JPopupMenu |
getPopupMenu ()
ÀÌ ¸Þ´º¿¡ °ü·ÃÇÑ pop-up menu¸¦ µ¹·ÁÁÝ´Ï´Ù. |
protected Point |
getPopupMenuOrigin ()
JMenu ÀÇ pop-up menuÀÇ ¿øÁ¡À» °è»êÇÕ´Ï´Ù. |
MenuElement [] |
getSubElements ()
ÀÌ ¸Þ´º ÄÄÆÛ³ÍÆ®ÀÇ ºÎ¸Þ´º¸¦ ÀúÀåÇÏ´Â MenuElement ÀÇ ¹è¿À» µ¹·ÁÁÝ´Ï´Ù. |
String |
getUIClassID ()
ÀÌ ÄÄÆÛ³ÍÆ®¸¦ Ç¥Çö ÇÏ´Â L&F Ŭ·¡½ºÀÇ À̸§À» µ¹·ÁÁÝ´Ï´Ù. |
JMenuItem |
insert (Action a,
int pos)
ÁöÁ¤µÈ Action ¿ÀºêÁ§Æ®¿¡ ¼ÓÇÏ´Â »õ·Î¿î ¸Þ´º Ç׸ñÀ», ÁöÁ¤µÈ À§Ä¡¿¡ »ðÀÔÇÕ´Ï´Ù. |
JMenuItem |
insert (JMenuItem mi,
int pos)
ÁöÁ¤µÈ JMenuItem °¡ ÁöÁ¤µÈ À§Ä¡¿¡ »ðÀÔÇÕ´Ï´Ù. |
void |
insert (String s,
int pos)
ÁöÁ¤µÈ ÅØ½ºÆ®¸¦ °¡Áö´Â »õ·Î¿î ¸Þ´º Ç׸ñÀ», ÁöÁ¤µÈ À§Ä¡¿¡ »ðÀÔÇÕ´Ï´Ù. |
void |
insertSeparator (int index)
ÁöÁ¤µÈ À§Ä¡¿¡ separator¸¦ »ðÀÔÇÕ´Ï´Ù. |
boolean |
isMenuComponent (Component c)
ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®°¡ ºÎ¸Þ´º °èÃþ³»¿¡ ÀÖ´Â °æ¿ì¿¡ true ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
boolean |
isPopupMenuVisible ()
¸Þ´ºÀÇ pop-up À©µµ¿ì°¡ °¡½ÃÀÇ °æ¿ì¿¡ true ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
boolean |
isSelected ()
¸Þ´º°¡ ÇöÀç ¼±Åõǰí ÀÖ´Â (°Á¶ Ç¥½ÃµÇ°í ÀÖ´Ù) °æ¿ì¿¡ true ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
boolean |
isTearOff ()
¸Þ´º°¡ Ƽ¾Æ¿ÀÈÄ °¡´ÉÇÑ °æ¿ì¿¡ true ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
boolean |
isTopLevelMenu ()
¸Þ´º°¡ ¡¸Åé ·¹º§ ¸Þ´º¡¹ÀÇ °æ¿ì¿¡ true ¸¦ µ¹·ÁÁÝ´Ï´Ù. |
void |
menuSelectionChanged (boolean isIncluded)
ÀÌ ¸Þ´º¸¦ ¾×ƼºêÇÏ°Ô ÇÏ´ÂÁö ¾×ƼºêÇÏÁö ¾Ê°Ô Çϱâ À§Çؼ µµ±¸¸ðÀ½ÀÇ ¼±ÅÃÀÌ º¯°æµÇ¾úÀ» ¶§¿¡, ¸Þ¼¼Áö¸¦ º¸³À´Ï´Ù. |
protected String |
paramString ()
ÀÌ JMenu ÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇöÀ» µ¹·ÁÁÝ´Ï´Ù. |
protected void |
processKeyEvent (KeyEvent evt)
¹«¸ °üÀý ¸ð´ÖÅ©³ª °¡¼Ó±âµîÀÇ, Ű½ºÆ®·ÎÅ©(keystroke) À̺¥Æ®¸¦ ó¸®ÇÕ´Ï´Ù. |
void |
remove (Component c)
ÀÌ ¸Þ´º·ÎºÎÅÍ ÄÄÆÛ³ÍÆ® c ¸¦ »èÁ¦ÇÕ´Ï´Ù. |
void |
remove (int pos)
ÀÌ ¸Þ´º·ÎºÎÅÍ, ÁöÁ¤µÈ À妽º¿¡ ÀÖ´Â ¸Þ´º Ç׸ñÀ» »èÁ¦ÇÕ´Ï´Ù. |
void |
remove (JMenuItem item)
ÁöÁ¤µÈ ¸Þ´º¸¦ ÀÌ ¸Þ´º·ÎºÎÅÍ »èÁ¦ÇÕ´Ï´Ù. |
void |
removeAll ()
ÀÌ ¸Þ´º·ÎºÎÅÍ ¸Þ´º Ç׸ñÀ» ¸ðµÎ »èÁ¦ÇÕ´Ï´Ù. |
void |
removeMenuListener (MenuListener l)
¸Þ´º À̺¥Æ®ÀÇ Ã»ÃëÀÚ¸¦ »èÁ¦ÇÕ´Ï´Ù. |
void |
setAccelerator (KeyStroke keyStroke)
setAccelerator ´Â JMenu ¿¡´Â Á¤Àǵǰí ÀÖÁö ¾Ê½À´Ï´Ù. |
void |
setComponentOrientation (ComponentOrientation o)
ÀÌ ÄÄÆÛ³ÍÆ®³»ÀÇ ¿ä¼Ò ¶Ç´Â ÅØ½ºÆ®¸¦ Á¤·ÄÇϱâ À§Çؼ »ç¿ëÇÑ´Ù, ¾ð¾î¿¡ ÀÇÁ¸ÇÒ ¹æÇâÀ» ¼³Á¤ÇÕ´Ï´Ù. |
void |
setDelay (int d)
¸Þ´ºÀÇ PopupMenu ¸¦ Ç¥½Ã ¶Ç´Â ºñÇ¥½Ã·Î ÇÒ ¶§±îÁöÀÇ, Ãßõ µÇ´Â Áö¿¬ ½Ã°£À» ¹Ð¸® ¼¼ÄÁµå ´ÜÀ§·Î µ¹·ÁÁÝ´Ï´Ù. |
void |
setMenuLocation (int x,
int y)
pop-up ÄÄÆÛ³ÍÆ®ÀÇ À§Ä¡¸¦ ¼³Á¤ÇÕ´Ï´Ù. |
void |
setModel (ButtonModel newModel)
¡¸¸Þ´º ¹öư¡¹ÀÇ µ¥ÀÌÅÍ ¸ðµ¨À» ¼³Á¤ÇÕ´Ï´Ù. |
void |
setPopupMenuVisible (boolean b)
¸Þ´ºÀÇ pop-upÀÇ °¡½Ã¼ºÀ» ¼³Á¤ÇÕ´Ï´Ù. |
void |
setSelected (boolean b)
¸Þ´ºÀÇ ¼±Åà »óŸ¦ ¼³Á¤ÇÕ´Ï´Ù. |
void |
updateUI ()
ÇöÀçÀÇ Look & Feel ·ÎºÎÅÍÀÇ °ªÀ» °¡Áö´Â UI ÇÁ·ÎÆÛƼ¸¦ ¸®¼ÂÆ® ÇÕ´Ï´Ù. |
| Ŭ·¡½º java.awt. Container ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
add , add , add , addContainerListener , addImpl , 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 , removeContainerListener , setFocusCycleRoot , setFocusTraversalKeys , setFocusTraversalPolicy , setLayout , transferFocusBackward , transferFocusDownCycle , validate , validateTree |
| Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
| ÀÎÅÍÆäÀ̽º javax.swing. MenuElement ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
processKeyEvent , processMouseEvent |
| ÇʵåÀÇ »ó¼¼ |
protected JMenu.WinListener popupListener
JMenu.WinListener | »ý¼ºÀÚÀÇ »ó¼¼ |
public JMenu()
JMenu ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
public JMenu(String s)
JMenu ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
s - ¸Þ´º labelÀÇ ÅØ½ºÆ®public JMenu(Action a)
Action ·ÎºÎÅÍ ÇÁ·ÎÆÛƼ¸¦ ÃëµæÇÏ´Â ¸Þ´º¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
a - Action
public JMenu(String s,
boolean b)
JMenu ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
s - ¸Þ´º labelÀÇ ÅØ½ºÆ®b - ¸Þ´º¸¦ Ƽ¾Æ¿ÀÈÄ ÇÒ ¼ö ÀÖÀ»Áö ¾î¶³Áö ( ¾ÆÁ÷ ±¸ÇöµÇ¾î ÀÖÁö ¾Ê´Ù)| ¸Þ¼ÒµåÀÇ »ó¼¼ |
public void updateUI()
JMenuItem ³»ÀÇ updateUI JComponent.updateUI() public String getUIClassID()
JMenuItem ³»ÀÇ getUIClassID JComponent.getUIClassID() ,
UIDefaults.getUI(javax.swing.JComponent) public void setModel(ButtonModel newModel)
AbstractButton ³»ÀÇ setModel newModel - ButtonModelAbstractButton.getModel() public boolean isSelected()
AbstractButton ³»ÀÇ isSelected public void setSelected(boolean b)
AbstractButton ³»ÀÇ setSelected b - ¸Þ´º¸¦ ¼±ÅÃÇÏ´Â (°Á¶ Ç¥½ÃÇÑ´Ù) °æ¿ì´Â true, ¸Þ´º¸¦ ¼±ÅÃ ÇØÁ¦ÇÏ´Â °æ¿ì´Â falsepublic boolean isPopupMenuVisible()
public void setPopupMenuVisible(boolean b)
b - boolean Ä¡. ¸Þ´º¸¦ °¡½Ã·Î ÇÏ´Â °æ¿ì´Â true, ¼û±â´Â °æ¿ì´Â falseprotected Point getPopupMenuOrigin()
JMenu ÀÇ pop-up menuÀÇ ¿øÁ¡À» °è»êÇÕ´Ï´Ù. ÀÌ ¸Þ¼Òµå´Â pop-upÀÇ Á¤È®ÇÑ À§Ä¡¸¦ Á¶Á¤Çϱâ À§ÇØ(¶§¹®¿¡),Menu.menuPopupOffsetX,Menu.menuPopupOffsetY,Menu.submenuPopupOffsetX, ¹× Menu.submenuPopupOffsetY ¶ó´Â À̸§ÀÇ Look & Feel ÇÁ·ÎÆÛƼ¸¦ »ç¿ëÇÕ´Ï´Ù.
JMenu ÀÇ pop-up menuÀÇ ¿øÁ¡À¸·Î¼ »ç¿ëÇÏ´Â ¸Þ´ºÀÇ ÁÂÇ¥ °ø°£¿¡ ÀÖ´Â Pointpublic int getDelay()
delay ÇÁ·ÎÆÛƼ¸¦ °¨½ÃÇϱâ À§ÇÑ µ¶ÀÚÀûÀÎ Æú¸®½Ã¸¦ °áÁ¤ÇÒ ¼ö ÀÖ½À´Ï´Ù. ´ëºÎºÐÀÇ °æ¿ì, Åé ·¹º§ ¸Þ´ºÀÇ Áö¿¬, ȤÀº µå·¯±×ÁßÀÇ Áö¿¬Àº °¨½ÃµÇÁö ¾Ê½À´Ï´Ù. delay ÀÇ µðÆúÆ®´Â 0 ÀÔ´Ï´Ù. ÀÌ ¸Þ¼Òµå´Â Look & Feel ÄÚµåÀÇ ÇÁ·ÎÆÛƼÀ̸ç, ´Ù¾çÇÑ UI ±¸ÇöÀÇ Æ¯Â¡ÀÇ °ü¸®¿¡ »ç¿ëµË´Ï´Ù.
delay ÇÁ·ÎÆÛƼpublic void setDelay(int d)
PopupMenu ¸¦ Ç¥½Ã ¶Ç´Â ºñÇ¥½Ã·Î ÇÒ ¶§±îÁöÀÇ, Ãßõ µÇ´Â Áö¿¬ ½Ã°£À» ¹Ð¸® ¼¼ÄÁµå ´ÜÀ§·Î µ¹·ÁÁÝ´Ï´Ù. °¢ Look & Feel (L&F)´Â Áö¿¬ ÇÁ·ÎÆÛƼ¸¦ °¨½ÃÇϱâ À§ÇÑ µ¶ÀÚÀûÀÎ Æú¸®½Ã¸¦ °áÁ¤ÇÒ ¼ö ÀÖ½À´Ï´Ù. ´ëºÎºÐÀÇ °æ¿ì, Åé ·¹º§ ¸Þ´ºÀÇ Áö¿¬, ȤÀº µå·¯±×ÁßÀÇ Áö¿¬Àº °¨½ÃµÇÁö ¾Ê½À´Ï´Ù. ÀÌ ¸Þ¼Òµå´Â Look & Feel ÄÚµåÀÇ ÇÁ·ÎÆÛƼÀ̸ç, ´Ù¾çÇÑ UI ±¸ÇöÀÇ Æ¯Â¡À» °ü¸®Çϴµ¥ »ç¿ëµË´Ï´Ù.
d - Áö¿¬ÀÇ ¹Ð¸® ¼¼ÄÁµå¼ö
IllegalArgumentException - d °¡ 0 ¹Ì¸¸ÀÇ °æ¿ì
public void setMenuLocation(int x,
int y)
x - pop-up menuÀÇ »õ·Î¿î À§Ä¡ÀÇ x ÁÂÇ¥y - pop-up menuÀÇ »õ·Î¿î À§Ä¡ÀÇ y ÁÂÇ¥public JMenuItem add(JMenuItem menuItem)
menuItem - Ãß°¡ÇÏ´Â JMenuItem
JMenuItempublic Component add(Component c)
Container ³»ÀÇ add c - Ãß°¡ÇÏ´Â Component
ComponentContainer.addImpl(java.awt.Component, java.lang.Object, int)
public Component add(Component c,
int index)
index °¡ -1 ÀÇ °æ¿ì, ÄÄÆÛ³ÍÆ®´Â ¸»¹Ì¿¡ Ãß°¡µË´Ï´Ù.
Container ³»ÀÇ add c - Ãß°¡ÇÏ´Â Componentindex - ÄÄÆÛ³ÍÆ®¸¦ »ðÀÔÇÏ´Â À§Ä¡
Componentremove(javax.swing.JMenuItem) ,
Container.add(Component, int) public JMenuItem add(String s)
s - Ãß°¡µÇ´Â ¸Þ´º Ç׸ñÀÇ Ä³¸¯ÅÍ ¶óÀÎpublic JMenuItem add(Action a)
Action ¿ÀºêÁ§Æ®¿¡ ¼ÓÇÏ´Â »õ·Î¿î ¸Þ´º Ç׸ñÀ» ÀÛ¼ºÇØ, ±×°ÍÀ» ÀÌ ¸Þ´ºÀÇ ¸»¹Ì¿¡ Ãß°¡ÇÕ´Ï´Ù. 1.3 ÀÌÈÄ´Â À̰ÍÀº ÄÁÅ×À̳ʿ¡ Action ¸¦ Ãß°¡ÇÏ´Â ¸Þ¼Òµå·Î¼´Â ÃßõÇÏÁö ¾Ê½À´Ï´Ù. ´ë½Å¿¡,setAction ¸¦ »ç¿ëÇØ ¾×¼ÇÀ» °¡Áö´Â ÄÁÆ®·ÑÀ» ¼³Á¤ÇØ, ±× ÄÁÆ®·ÑÀ» Á÷Á¢ Container ¿¡ Ãß°¡ÇÏ´Â °ÍÀ» ÃßõÇÕ´Ï´Ù.
a - Ãß°¡µÇ´Â ¸Þ´º Ç׸ñÀÇ ActionAction protected JMenuItem createActionComponent(Action a)
JMenu ¿¡ Ãß°¡µÇ´Â Action ÀÇ JMenuItem ¸¦ ÀÛ¼ºÇÏ´Â ÆÑÅ丮 ¸Þ¼ÒµåÀÔ´Ï´Ù. 1.3 ÀÌÈÄ´Â ÀÌ ¸Þ¼Òµå´Â ÃßõÇÏÁö ¾Ê½À´Ï´Ù. ´ë½Å¿¡,setAction ¸¦ »ç¿ëÇØ ¾×¼ÇÀ» °¡Áö´Â ÄÁÆ®·ÑÀ» ¼³Á¤ÇØ, ±× ÄÁÆ®·ÑÀ» Á÷Á¢ Container ¿¡ Ãß°¡ÇÏ´Â °ÍÀ» ÃßõÇÕ´Ï´Ù.
a - Ãß°¡µÇ´Â ¸Þ´º Ç׸ñÀÇ Action
Action protected PropertyChangeListener createActionChangeListener(JMenuItem b)
Action ¿¡ ´ëÇÑ º¯°æÀÌ ¹ß»ýÇßÀ» °æ¿ì¿¡ ÄÁÆ®·ÑÀ» °»½ÅÇÑ´Ù, ÀûÀýÈ÷ ¼³Á¤µÈ PropertyChangeListener ¸¦ µ¹·ÁÁÝ´Ï´Ù. 1.3 ÀÌÈÄ´Â À̰ÍÀº Container ¿¡ Actions ¸¦ Ãß°¡ÇÏ´Â ¸Þ¼Òµå·Î¼´Â ÃßõÇÏÁö ¾Ê½À´Ï´Ù. ´ë½Å¿¡,setAction ¸¦ »ç¿ëÇØ ¾×¼ÇÀ» °¡Áö´Â ÄÁÆ®·ÑÀ» ¼³Á¤ÇØ, ±× ÄÁÆ®·ÑÀ» Á÷Á¢ Container ¿¡ Ãß°¡ÇÏ´Â °ÍÀ» ÃßõÇÕ´Ï´Ù.
public void addSeparator()
public void insert(String s,
int pos)
s - Ãß°¡ÇÏ´Â ¸Þ´º Ç׸ñÀÇ ÅØ½ºÆ®pos - »õ·Î¿î ¸Þ´º Ç׸ñÀ» Ãß°¡ÇÏ´Â À§Ä¡¸¦ ÁöÁ¤ÇÏ´Â Á¤¼ö
IllegalArgumentException - pos ÀÇ °ªÀÌ 0 º¸´Ù ÀÛÀº °æ¿ì
public JMenuItem insert(JMenuItem mi,
int pos)
JMenuItem °¡ ÁöÁ¤µÈ À§Ä¡¿¡ »ðÀÔÇÕ´Ï´Ù.
mi - Ãß°¡ÇÏ´Â JMenuItempos - »õ·Î¿î JMenuItem ¸¦ Ãß°¡ÇÏ´Â À§Ä¡¸¦ ÁöÁ¤ÇÏ´Â Á¤¼ö
IllegalArgumentException - pos ÀÇ °ªÀÌ 0 º¸´Ù ÀÛÀº °æ¿ì
public JMenuItem insert(Action a,
int pos)
Action ¿ÀºêÁ§Æ®¿¡ ¼ÓÇÏ´Â »õ·Î¿î ¸Þ´º Ç׸ñÀ», ÁöÁ¤µÈ À§Ä¡¿¡ »ðÀÔÇÕ´Ï´Ù.
a - Ãß°¡ÇÏ´Â ¸Þ´º Ç׸ñÀÇ Action ¿ÀºêÁ§Æ®pos - »õ·Î¿î ¸Þ´º Ç׸ñÀ» Ãß°¡ÇÏ´Â À§Ä¡¸¦ ÁöÁ¤ÇÏ´Â Á¤¼ö
IllegalArgumentException - pos ÀÇ °ªÀÌ 0 º¸´Ù ÀÛÀº °æ¿ìpublic void insertSeparator(int index)
index - ¸Þ´º separator¸¦ »ðÀÔÇÏ´Â À§Ä¡¸¦ ÁöÁ¤ÇÏ´Â Á¤¼ö
IllegalArgumentException - index ÀÇ °ªÀÌ 0 º¸´Ù ÀÛÀº °æ¿ìpublic JMenuItem getItem(int pos)
JMenuItem ¸¦ µ¹·ÁÁÝ´Ï´Ù. pos ÀÇ ÄÄÆÛ³ÍÆ®°¡ ¸Þ´º Ç׸ñÀÌ ¾Æ´Ñ °æ¿ì´Â null °¡ µ¹·ÁÁÖ¾îÁý´Ï´Ù. ÀÌ ¸Þ¼Òµå´Â AWT ÀÇ È£È¯¼ºÀ» À§Çؼ(¶§¹®¿¡) ÁغñµÇ¾î ÀÖ½À´Ï´Ù.
pos - À§Ä¡¸¦ ÁöÁ¤ÇÏ´Â Á¤¼ö
null
IllegalArgumentException - pos ÀÇ °ªÀÌ 0 º¸´Ù ÀÛÀº °æ¿ìpublic int getItemCount()
getMenuComponentCount() public boolean isTearOff()
Error - ºÒ·Á °¬À» °æ¿ì. ÀÌ ¸Þ¼Òµå´Â ¾ÆÁ÷ ±¸ÇöµÇ¾î ÀÖÁö ¾Ê´Ùpublic void remove(JMenuItem item)
item - ¸Þ´º·ÎºÎÅÍ »èÁ¦ÇÏ´Â JMenuItempublic void remove(int pos)
Container ³»ÀÇ remove pos - »èÁ¦µÇ´Â Ç׸ñÀÇ À§Ä¡
IllegalArgumentException - pos ÀÇ °ªÀÌ 0 º¸´Ù ÀÛÀºÁö pos °¡ ¸Þ´º Ç׸ñÀÇ ¼öº¸´Ù Å« °æ¿ìContainer.add(java.awt.Component) public void remove(Component c)
c ¸¦ »èÁ¦ÇÕ´Ï´Ù.
Container ³»ÀÇ remove c - »èÁ¦µÇ´Â ÄÄÆÛ³ÍÆ®Container.add(java.awt.Component) public void removeAll()
Container ³»ÀÇ removeAll Container.add(java.awt.Component) ,
Container.remove(int) public int getMenuComponentCount()
public Component getMenuComponent(int n)
n ÀÇ À§Ä¡¿¡ ÀÖ´Â ÄÄÆÛ³ÍÆ®¸¦ µ¹·ÁÁÝ´Ï´Ù.
n - µ¹·ÁÁÖ¾îÁö´Â ÄÄÆÛ³ÍÆ®ÀÇ À§Ä¡
nullpublic Component [] getMenuComponents()
Component ÀÇ ¹è¿À» µ¹·ÁÁÝ´Ï´Ù. separator¸¦ Æ÷ÇÔÇØ pop-up menu¿¡ ÀÖ´Â ¸ðµç Component ¸¦ µ¹·ÁÁÝ´Ï´Ù.
Component ÀÇ ¹è¿. pop-up menu°¡ ¾ø´Â °æ¿ì´Â ÇÏ´ÃÀÇ ¹è¿public boolean isTopLevelMenu()
public boolean isMenuComponent(Component c)
c - ÆÇÁ¤ ´ë»óÀÇ Component
Component °¡ Á¸ÀçÇÏ´Â °æ¿ì´Â true, ±×·¸Áö ¾ÊÀº °æ¿ì´Â falsepublic JPopupMenu getPopupMenu()
public void addMenuListener(MenuListener l)
l - Ãß°¡µÇ´Â ûÃëÀÚpublic void removeMenuListener(MenuListener l)
l - »èÁ¦µÇ´Â ûÃëÀÚpublic MenuListener [] getMenuListeners()
MenuListener ÀÇ ¹è¿À» µ¹·ÁÁÝ´Ï´Ù.
MenuListener. Ãß°¡µÈ ûÃëÀÚ°¡ ¾ø´Â °æ¿ì´Â ÇÏ´ÃÀÇ ¹è¿protected void fireMenuSelected()
Error - null ûÃëÀÚ°¡ Á¸ÀçÇÏ´Â °æ¿ìEventListenerList protected void fireMenuDeselected()
Error - null ûÃëÀÚ°¡ Á¸ÀçÇÏ´Â °æ¿ìEventListenerList protected void fireMenuCanceled()
Error - null ûÃëÀÚ°¡ Á¸ÀçÇÏ´Â °æ¿ìEventListenerList protected void configurePropertiesFromAction(Action a)
Action ÀνºÅϽºÀÇ °ª¿¡ µû¶ó ActionEvent ¼Ò½ºÀÇ ÇÁ·ÎÆÛƼ¸¦ ¼³Á¤ÇÏ´Â ÆÑÅ丮 ¸Þ¼ÒµåÀÔ´Ï´Ù. ¼³Á¤µÇ´Â ÇÁ·ÎÆÛƼ´Â ¼ºê Ŭ·¡½º¿¡ ÀÇÇØ ´Ù¸¨´Ï´Ù. µðÆúÆ®¿¡¼´Â ¼³Á¤µÇ´Â ÇÁ·ÎÆÛƼ´Â Text,Icon,Enabled,ToolTipText,ActionCommand, ¹× Mnemonic ÀÔ´Ï´Ù.
JMenuItem ³»ÀÇ configurePropertiesFromAction a - ÇÁ·ÎÆÛƼ¸¦ ÃëµæÇÏ´Â Action, ¶Ç´Â nullAction ,
AbstractButton.setAction(javax.swing.Action) protected JMenu.WinListener createWinListener(JPopupMenu p)
p - JPopupMenu
JMenu.WinListener public void menuSelectionChanged(boolean isIncluded)
JMenuItem.menuSelectionChanged ¸¦ ¿À¹ö¶óÀ̵å(override) ÇÕ´Ï´Ù.
MenuElement ³»ÀÇ menuSelectionChanged JMenuItem ³»ÀÇ menuSelectionChanged isIncluded - ÀÌ ¸Þ´º°¡ ¾×ƼºêÇÑ °æ¿ì´Â true, ±×·¸Áö ¾ÊÀº °æ¿ì´Â falseMenuSelectionManager.setSelectedPath(MenuElement[]) public MenuElement [] getSubElements()
MenuElement ÀÇ ¹è¿À» µ¹·ÁÁÝ´Ï´Ù. pop-up menu°¡ null ÀÇ °æ¿ì´Â ÇÏ´ÃÀÇ ¹è¿À» µ¹·ÁÁÝ´Ï´Ù. ÀÌ ¸Þ¼Òµå´Â MenuElement ÀÎÅÍÆäÀ̽º¿¡ ÀûÇÕÇϱâ À§Çؼ ÇÊ¿äÇÕ´Ï´Ù. JSeparator ´Â MenuElement ÀÎÅÍÆäÀ̽º¿¡ ÀûÇÕÇÏÁö ¾Ê±â ¶§¹®¿¡, ÀÌ ¹è¿¿¡´Â JMenuItem ¸¸ÀÌ Æ÷ÇԵ˴ϴÙ.
MenuElement ³»ÀÇ getSubElements JMenuItem ³»ÀÇ getSubElements MenuElement ¿ÀºêÁ§Æ®ÀÇ ¹è¿public Component getComponent()
MenuElement ¸¦ paint Çϴµ¥ »ç¿ëµÇ´Â java.awt.Component ¸¦ µ¹·ÁÁÝ´Ï´Ù. µ¹·ÁÁÖ¾îÁø ÄÄÆÛ³ÍÆ®´Â À̺¥Æ®¸¦ º¯È¯ÇØ, À̺¥Æ®°¡ ¹ß»ýÇÑ Àå¼Ò°¡ ¸Þ´º ÄÄÆÛ³ÍÆ®³»ÀÏÁö ¾î¶³Áö¸¦ °ËÃâÇϱâ À§Çؼ »ç¿ëµË´Ï´Ù.
MenuElement ³»ÀÇ getComponent JMenuItem ³»ÀÇ getComponent public void applyComponentOrientation(ComponentOrientation o)
ComponentOrientation ÇÁ·ÎÆÛƼ¸¦ ¼³Á¤ÇÕ´Ï´Ù. À̰Ϳ¡´Â getMenuComponents ¿¡ ÀÇÇØ µ¹·ÁÁÖ¾îÁø ¸ðµç ÄÄÆÛ³ÍÆ®°¡ Æ÷ÇԵ˴ϴÙ.
Container ³»ÀÇ applyComponentOrientation NullPointerException - orientation °¡ null ÀÇ °æ¿ìComponent.setComponentOrientation(java.awt.ComponentOrientation) ,
Component.getComponentOrientation() public void setComponentOrientation(ComponentOrientation o)
Component ÀÇ ±â¼ú: LayoutManager ¼ºê Ŭ·¡½º ¹× Component ¼ºê Ŭ·¡½º´Â ÀÌ ÇÁ·ÎÆÛƼ¸¦ »ç¿ëÇØ ÄÄÆÛ³ÍÆ®ÀÇ ¹èÄ¡ ¹æ¹ý ¹× Ç¥Çö ¹æ¹ýÀ» °áÁ¤ÇÕ´Ï´Ù.
±¸Ãà½Ã¿¡´Â ÄÄÆÛ³ÍÆ®ÀÇ ¹æÇâÀº ¸í½ÃÀûÀ¸·Î ÁöÁ¤µÇ¾î ÀÖÁö ¾ÊÀº °ÍÀ» ³ªÅ¸³»´Â ComponentOrientation.UNKNOWN À¸·Î ¼³Á¤µË´Ï´Ù. UNKNOWN ÀÇ ¹æÇâÀÇ µ¿ÀÛÀº ComponentOrientation.LEFT_TO_RIGHT ¿Í °°½À´Ï´Ù.
ÄÄÆÛ³ÍÆ®ÀÇ ¹æÇâ °áÁ¤À» ´Üµ¶À¸·Î ½Ç½ÃÇÏ´Â °æ¿ì´Â ÀÌ ¸Þ¼Òµå¸¦ »ç¿ëÇÕ´Ï´Ù. ÄÄÆÛ³ÍÆ® °èÃþ ÀüüÀÇ ¹æÇâÀ» °áÁ¤ÇÏ´Â °æ¿ì´Â applyComponentOrientation ¸¦ »ç¿ëÇÕ´Ï´Ù.
Component ³»ÀÇ setComponentOrientation ComponentOrientation public void setAccelerator(KeyStroke keyStroke)
setAccelerator ´Â JMenu ¿¡´Â Á¤Àǵǰí ÀÖÁö ¾Ê½À´Ï´Ù. ´ë½Å¿¡ setMnemonic ¸¦ »ç¿ëÇØ ÁÖ¼¼¿ä.
JMenuItem ³»ÀÇ setAccelerator keyStroke - ¸Þ´º °èÃþÀ» À̵¿ÇÏ´Â ÀÏ ¾øÀÌ JMenuItem ÀÇ ¾×¼Ç ûÃëÀÚ¸¦ È£ÃâÇϴ Ű½ºÆ®·ÎÅ©(keystroke)ÀÇ Æí¼º
Error - ºÒ·Á °¬À» °æ¿ì. ÀÌ ¸Þ¼Òµå´Â JMenu ¿¡´Â Á¤ÀǵǾî ÀÖÁö ¾Ê´Ù. ´ë½Å¿¡ setMnemonic ¸¦ »ç¿ëprotected void processKeyEvent(KeyEvent evt)
JComponent ³»ÀÇ processKeyEvent evt - ó¸®µÇ´Â Ű À̺¥Æ®KeyEvent ,
KeyListener ,
Component.addKeyListener(java.awt.event.KeyListener) ,
Component.enableEvents(long) ,
Component.isShowing() public void doClick(int pressTime)
AbstractButton.doClick ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵å(override) ÇÕ´Ï´Ù.
AbstractButton ³»ÀÇ doClick pressTime - ¹öưÀÌ ¹Ð¸° ¹Ð¸® ¼¼ÄÁµå¼öprotected String paramString()
JMenu ÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇöÀ» µ¹·ÁÁÝ´Ï´Ù. ÀÌ ¸Þ¼Òµå´Â µð¹ö±× Àü¿ëÀ̸ç, µ¹·ÁÁÖ¾îÁö´Â ij¸¯ÅÍ ¶óÀÎÀÇ ³»¿ë ¹× Çü½ÄÀº ±¸Çö¿¡ µû¶ó¼ ´Ù¸¨´Ï´Ù. µ¹·ÁÁÖ¾îÁö´Â ij¸¯ÅÍ ¶óÀÎÀº ºñ¾úÀ» °æ¿ì°¡ ÀÖ½À´Ï´Ù¸¸,null ·Î´Â µÇÁö ¾Ê½À´Ï´Ù.
JMenuItem ³»ÀÇ paramString 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.