JavaTM 2
Platform
Std.  Ed.  v1. 4.0

javax.swing
Ŭ·¡½º JSeparator

java.lang.Object 
  |
  +--java.awt.Component 
        |
        +--java.awt.Container 
              |
              +--javax.swing.JComponent 
                    |
                    +--javax.swing.JSeparator
¸ðµç ±¸Çö ÀÎÅÍÆäÀ̽º:
Accessible , ImageObserver , MenuContainer , Serializable , SwingConstants
Á÷°èÀÇ ±âÁ¸ÀÇ ¼­ºê Ŭ·¡½º:
JPopupMenu.Separator , JToolBar.Separator

public class JSeparator
extends JComponent
implements SwingConstants , Accessible

JSeparator ´Â ´Ü¶ô¼±À» ±¸ÇöÇϱâ À§ÇÑ ¹ü¿ëÀûÀÎ ÄÄÆÛ³ÍÆ®¸¦ Á¦°øÇÕ´Ï´Ù. ¹«¾ùº¸´Ù ÀϹÝÀûÀ¸·Î´Â ¸Þ´º Ç׸ñÀ» ³í¸®ÀûÀÎ ±×·ìÀ¸·Î ³ª´©±â À§ÇÑ ´Ü¶ô¼±À¸·Î¼­ »ç¿ëµË´Ï´Ù. Á÷Á¢ JSeparator ¸¦ »ç¿ëÇÏÁö ¾Ê°í ,JMenu ¶Ç´Â JPopupMenu ÀÇ addSeparator ¸Þ¼Òµå¸¦ »ç¿ëÇØ, separator¸¦ ÀÛ¼ºÇØ, Ãß°¡ÇÒ ¼ö ÀÖ½À´Ï´Ù. ¶Ç,JSeparator ´Â ½Ã°¢ÀûÀÎ ´Ü¶ôÁö¾î ¼±ÀÌ À¯È¿ÇÑ GUI ¿¡¼­´Â ¾îµð¿¡¼­¶óµµ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.

¿¹ ¹× »ó¼¼ÇÑ °Í¿¡ ´ëÇÏ¿©´Â ¡¸The Java Tutorial¡¹ÀÇ¡¸How to Use Menus¡¹¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä.

°æ°í: ÀÌ Å¬·¡½ºÀÇ Á÷·ÄÈ­ µÈ ¿ÀºêÁ§Æ®´Â ÇâÈÄÀÇ Swing ¸±¸®½º¿Í ȣȯÀº ¾Æ´Ï°Ô µÉ ¿¹Á¤ÀÔ´Ï´Ù. ÇöÀçÀÇ Á÷·ÄÈ­ÀÇ ¼­Æ÷Æ®´Â ´Ü±â°£ÀÇ ¿î¿ëÀ̳ª, °°Àº ¹öÁ¯ÀÇ Swing ¸¦ ½ÇÇàÇÏ´Â ¾îÇø®ÄÉÀ̼ǰ£ÀÇ RMI ¿¡ ÀûÀýÇϰí ÀÖ½À´Ï´Ù. JDK ¹öÁ¯ 1.4 ÀÌÈÄ, ¸ðµç JavaBeansTM ÀÇ Àå±â°£ÀÇ ¿î¿ë ¼­Æ÷Æ®´Â java.beans ÆÐŰÁö¿¡ Ãß°¡µÇ°í ÀÖ½À´Ï´Ù. ÀÚ¼¼ÇÑ °ÍÀº XMLEncoder ¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä.


ÁßøµÈ Ŭ·¡½ºÀÇ °³¿ä
protected  class JSeparator.AccessibleJSeparator
          ÀÌ Å¬·¡½º´Â JSeparator Ŭ·¡½º¿ëÀÇ À¯Àú º¸Á¶ ±â´ÉÀÇ ¼­Æ÷Æ®¸¦ ±¸ÇöÇϰí ÀÖ½À´Ï´Ù.
 
Ŭ·¡½º 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
 
»ý¼ºÀÚÀÇ °³¿ä
JSeparator ()
          ¼öÆò separator¸¦ »õ·Ó°Ô ÀÛ¼ºÇÕ´Ï´Ù.
JSeparator (int orientation)
          ¼öÆò ¶Ç´Â ¼öÁ÷ ¹æÇâÀ» ÁöÁ¤ÇØ separator¸¦ »õ·Ó°Ô ÀÛ¼ºÇÕ´Ï´Ù.
 
¸Þ¼ÒµåÀÇ °³¿ä
 AccessibleContext getAccessibleContext ()
          ÀÌ JSeparator ¿¡ °ü·ÃÇÑ AccessibleContext ¸¦ µ¹·ÁÁÝ´Ï´Ù.
 int getOrientation ()
          ÀÌ separatorÀÇ ¹æÇâÀ» µ¹·ÁÁÝ´Ï´Ù.
 SeparatorUI getUI ()
          ÀÌ ÄÄÆÛ³ÍÆ®¸¦ Ç¥Çö ÇÏ´Â L&F ¿ÀºêÁ§Æ®¸¦ µ¹·ÁÁÝ´Ï´Ù.
 String getUIClassID ()
          ÀÌ ÄÄÆÛ³ÍÆ®¸¦ Ç¥Çö ÇÏ´Â L&F Ŭ·¡½ºÀÇ À̸§À» µ¹·ÁÁÝ´Ï´Ù.
protected  String paramString ()
          ÀÌ JSeparator ÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇöÀ» µ¹·ÁÁÝ´Ï´Ù.
 void setOrientation (int orientation)
          separatorÀÇ ¹æÇâÀ» ¼³Á¤ÇÕ´Ï´Ù.
 void setUI (SeparatorUI  ui)
          ÀÌ ÄÄÆÛ³ÍÆ®¸¦ Ç¥Çö ÇÏ´Â L&F ¿ÀºêÁ§Æ®¸¦ ¼³Á¤ÇÕ´Ï´Ù.
 void updateUI ()
          ÇöÀçÀÇ Look & Feel ·ÎºÎÅÍÀÇ °ª¿¡ UI ÇÁ·ÎÆÛƼ¸¦ ¸®¼ÂÆ® ÇÕ´Ï´Ù.
 
Ŭ·¡½º javax.swing. JComponent ¿¡¼­ »ó¼Ó¹ÞÀº ¸Þ¼Òµå
addAncestorListener , addNotify , addPropertyChangeListener , addPropertyChangeListener , addVetoableChangeListener , computeVisibleRect , contains , createToolTip , disable , enable , firePropertyChange , firePropertyChange , firePropertyChange , firePropertyChange , firePropertyChange , firePropertyChange , firePropertyChange , firePropertyChange , firePropertyChange , fireVetoableChange , getActionForKeyStroke , getActionMap , getAlignmentX , getAlignmentY , getAncestorListeners , getAutoscrolls , getBorder , getBounds , getClientProperty , getComponentGraphics , getConditionForKeyStroke , getDebugGraphicsOptions , getDefaultLocale , getGraphics , getHeight , getInputMap , getInputMap , getInputVerifier , getInsets , getInsets , getListeners , getLocation , getMaximumSize , getMinimumSize , getNextFocusableComponent , getPreferredSize , getPropertyChangeListeners , getPropertyChangeListeners , getRegisteredKeyStrokes , getRootPane , getSize , getToolTipLocation , getToolTipText , getToolTipText , getTopLevelAncestor , getTransferHandler , getVerifyInputWhenFocusTarget , getVetoableChangeListeners , getVisibleRect , getWidth , getX , getY , grabFocus , isDoubleBuffered , isLightweightComponent , isManagingFocus , isMaximumSizeSet , isMinimumSizeSet , isOpaque , isOptimizedDrawingEnabled , isPaintingTile , isPreferredSizeSet , isRequestFocusEnabled , isValidateRoot , paint , paintBorder , paintChildren , paintComponent , paintImmediately , paintImmediately , print , printAll , printBorder , printChildren , printComponent , processComponentKeyEvent , processKeyBinding , processKeyEvent , processMouseMotionEvent , putClientProperty , registerKeyboardAction , registerKeyboardAction , removeAncestorListener , removeNotify , removePropertyChangeListener , removePropertyChangeListener , removeVetoableChangeListener , repaint , repaint , requestDefaultFocus , requestFocus , requestFocus , requestFocusInWindow , requestFocusInWindow , resetKeyboardActions , reshape , revalidate , scrollRectToVisible , setActionMap , setAlignmentX , setAlignmentY , setAutoscrolls , setBackground , setBorder , setDebugGraphicsOptions , setDefaultLocale , setDoubleBuffered , setEnabled , setFont , setForeground , setInputMap , setInputVerifier , setMaximumSize , setMinimumSize , setNextFocusableComponent , setOpaque , setPreferredSize , setRequestFocusEnabled , setToolTipText , setTransferHandler , setUI , setVerifyInputWhenFocusTarget , setVisible , unregisterKeyboardAction , update
 
Ŭ·¡½º 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.awt. Component ¿¡¼­ »ó¼Ó¹ÞÀº ¸Þ¼Òµå
action , add , addComponentListener , addFocusListener , addHierarchyBoundsListener , addHierarchyListener , addInputMethodListener , addKeyListener , addMouseListener , addMouseMotionListener , addMouseWheelListener , bounds , checkImage , checkImage , coalesceEvents , contains , createImage , createImage , createVolatileImage , createVolatileImage , disableEvents , dispatchEvent , enable , enableEvents , enableInputMethods , getBackground , getBounds , getColorModel , getComponentListeners , getComponentOrientation , getCursor , getDropTarget , getFocusCycleRootAncestor , getFocusListeners , getFocusTraversalKeysEnabled , getFont , getFontMetrics , getForeground , getGraphicsConfiguration , getHierarchyBoundsListeners , getHierarchyListeners , getIgnoreRepaint , getInputContext , getInputMethodListeners , getInputMethodRequests , getKeyListeners , getLocale , getLocation , getLocationOnScreen , getMouseListeners , getMouseMotionListeners , getMouseWheelListeners , getName , getParent , getPeer , getSize , getToolkit , getTreeLock , gotFocus , handleEvent , hasFocus , hide , imageUpdate , inside , isBackgroundSet , isCursorSet , isDisplayable , isEnabled , isFocusable , isFocusOwner , isFocusTraversable , isFontSet , isForegroundSet , isLightweight , isShowing , isValid , isVisible , keyDown , keyUp , list , list , list , location , lostFocus , mouseDown , mouseDrag , mouseEnter , mouseExit , mouseMove , mouseUp , move , nextFocus , paintAll , postEvent , prepareImage , prepareImage , processComponentEvent , processFocusEvent , processHierarchyBoundsEvent , processHierarchyEvent , processInputMethodEvent , processMouseEvent , processMouseWheelEvent , remove , removeComponentListener , removeFocusListener , removeHierarchyBoundsListener , removeHierarchyListener , removeInputMethodListener , removeKeyListener , removeMouseListener , removeMouseMotionListener , removeMouseWheelListener , repaint , repaint , repaint , resize , resize , setBounds , setBounds , setComponentOrientation , setCursor , setDropTarget , setFocusable , setFocusTraversalKeysEnabled , setIgnoreRepaint , setLocale , setLocation , setLocation , setName , setSize , setSize , show , show , size , toString , transferFocus , transferFocusUpCycle
 
Ŭ·¡½º java.lang. Object ¿¡¼­ »ó¼Ó¹ÞÀº ¸Þ¼Òµå
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait
 

»ý¼ºÀÚÀÇ »ó¼¼

JSeparator

public JSeparator()
¼öÆò separator¸¦ »õ·Ó°Ô ÀÛ¼ºÇÕ´Ï´Ù.


JSeparator

public JSeparator(int orientation)
¼öÆò ¶Ç´Â ¼öÁ÷ ¹æÇâÀ» ÁöÁ¤ÇØ separator¸¦ »õ·Ó°Ô ÀÛ¼ºÇÕ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
orientation - SwingConstants.HORIZONTAL ¶Ç´Â SwingConstants.VERTICAL ¸¦ ÁöÁ¤ÇÏ´Â int Ä¡
¿¹¿Ü:
IllegalArgumentException - orientation °¡ SwingConstants.HORIZONTAL ¶Ç´Â SwingConstants.VERTICAL ÀÇ ¸ÓÁö¾Ê¾Æµµ ¾Æ´Ñ °æ¿ì
¸Þ¼ÒµåÀÇ »ó¼¼

getUI

public SeparatorUI  getUI()
ÀÌ ÄÄÆÛ³ÍÆ®¸¦ Ç¥Çö ÇÏ´Â L&F ¿ÀºêÁ§Æ®¸¦ µ¹·ÁÁÝ´Ï´Ù.

¹Ýȯ°ª:
ÀÌ ÄÄÆÛ³ÍÆ®¸¦ Ç¥Çö ÇÏ´Â SeparatorUI ¿ÀºêÁ§Æ®

setUI

public void setUI(SeparatorUI  ui)
ÀÌ ÄÄÆÛ³ÍÆ®¸¦ Ç¥Çö ÇÏ´Â L&F ¿ÀºêÁ§Æ®¸¦ ¼³Á¤ÇÕ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
ui - SeparatorUI L&F ¿ÀºêÁ§Æ®
°ü·Ã Ç׸ñ:
UIDefaults.getUI(javax.swing.JComponent)

updateUI

public void updateUI()
ÇöÀçÀÇ Look & Feel ·ÎºÎÅÍÀÇ °ª¿¡ UI ÇÁ·ÎÆÛƼ¸¦ ¸®¼ÂÆ® ÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º JComponent ³»ÀÇ updateUI
°ü·Ã Ç׸ñ:
JComponent.updateUI()

getUIClassID

public String  getUIClassID()
ÀÌ ÄÄÆÛ³ÍÆ®¸¦ Ç¥Çö ÇÏ´Â L&F Ŭ·¡½ºÀÇ À̸§À» µ¹·ÁÁÝ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º JComponent ³»ÀÇ getUIClassID
¹Ýȯ°ª:
ij¸¯ÅÍ ¶óÀÎÀÇ SeparatorUI
°ü·Ã Ç׸ñ:
JComponent.getUIClassID() , UIDefaults.getUI(javax.swing.JComponent)

getOrientation

public int getOrientation()
ÀÌ separatorÀÇ ¹æÇâÀ» µ¹·ÁÁÝ´Ï´Ù.

¹Ýȯ°ª:
¹æÇâ ÇÁ·ÎÆÛƼÀÇ °ª. SwingConstants ·Î Á¤Àǵǰí ÀÖ´Â Á¤¼ö (VERTICAL ¶Ç´Â HORIZONTAL)
°ü·Ã Ç׸ñ:
SwingConstants , setOrientation(int)

setOrientation

public void setOrientation(int orientation)
separatorÀÇ ¹æÇâÀ» ¼³Á¤ÇÕ´Ï´Ù. ÀÌ ÇÁ·ÎÆÛƼÀÇ µðÆúÆ®ÀÇ °ªÀº HORIZONTAL ÀÔ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
orientation - SwingConstants.HORIZONTAL ¶Ç´Â SwingConstants.VERTICAL
¿¹¿Ü:
IllegalArgumentException - orientation °¡ SwingConstants.HORIZONTAL ¶Ç´Â SwingConstants.VERTICAL ÀÇ ¸ÓÁö¾Ê¾Æµµ ¾Æ´Ñ °æ¿ì
°ü·Ã Ç׸ñ:
SwingConstants , getOrientation()

paramString

protected String  paramString()
ÀÌ JSeparator ÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇöÀ» µ¹·ÁÁÝ´Ï´Ù. ÀÌ ¸Þ¼Òµå´Â µð¹ö±× Àü¿ëÀ̸ç, µ¹·ÁÁÖ¾îÁö´Â ij¸¯ÅÍ ¶óÀÎÀÇ ³»¿ë ¹× Çü½ÄÀº ±¸Çö¿¡ µû¶ó¼­ ´Ù¸¨´Ï´Ù. µ¹·ÁÁÖ¾îÁö´Â ij¸¯ÅÍ ¶óÀÎÀº ºñ¾úÀ» °æ¿ì°¡ ÀÖ½À´Ï´Ù¸¸,null ·Î´Â µÇÁö ¾Ê½À´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º JComponent ³»ÀÇ paramString
¹Ýȯ°ª:
ÀÌ JSeparator ÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇö

getAccessibleContext

public AccessibleContext  getAccessibleContext()
ÀÌ JSeparator ¿¡ °ü·ÃÇÑ AccessibleContext ¸¦ µ¹·ÁÁÝ´Ï´Ù. separatorÀÇ °æ¿ì, AccessibleContext ´Â AccessibleJSeparator ÀÇ Çü½ÄÀ» ÃëÇÕ´Ï´Ù. Çʿ信 µû¶ó¼­ ½Å±ÔÀÇ AccessibleJSeparator ÀνºÅϽº°¡ ÀÛ¼ºµË´Ï´Ù.

Á¤ÀÇ:
ÀÎÅÍÆäÀ̽º Accessible ³»ÀÇ getAccessibleContext
¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º JComponent ³»ÀÇ getAccessibleContext
¹Ýȯ°ª:
ÀÌ JSeparator ÀÇ AccessibleContext ·Î¼­ ±â´ÉÇÏ´Â AccessibleJSeparator

JavaTM 2
Platform
Std.  Ed.  v1. 4.0

¹ö±×ÀÇ º¸°í¿Í ±â´ÉÀÇ ¸®Äù½ºÆ®
ÀÌ¿ÜÀÇ API ·¹ÆÛ·±½º ¹× °³¹ßÀÚ¿ë ¹®¼­¿¡ ´ëÇØ¼­´Â Java 2 SDK SE °³¹ßÀÚ¿ë ¹®¼­¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä. °³¹ßÀÚÀü¿ëÀÇ »ó¼¼ÇÑ ÇØ¼³, °³³äÀÇ °³¿ä, ¿ë¾îÀÇ Á¤ÀÇ, ¹ö±×ÀÇ È¸ÇÇÃ¥, ¹× ÄÚµå ½Ç·Ê°¡ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù.

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.