|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--javax.swing.plaf.ComponentUI | +--javax.swing.plaf.TextUI | +--javax.swing.plaf.multi.MultiTextUI
TextUI
ÀÇ °áÇÕ¿¡ »ç¿ëÇÏ´Â ´ÙÁß UI ÀÔ´Ï´Ù.
ÀÌ ÆÄÀÏÀº AutoMulti ¿¡ ÀÇÇØ ÀÚµ¿ »ý¼ºµÈ °ÍÀÔ´Ï´Ù.
ÇʵåÀÇ °³¿ä | |
protected Vector |
uis
½ÇÁ¦ÀÇ UI °¡ ÀúÀåµÇ°í ÀÖ´Â º¤ÅÍÀÔ´Ï´Ù. |
»ý¼ºÀÚÀÇ °³¿ä | |
MultiTextUI ()
|
¸Þ¼ÒµåÀÇ °³¿ä | |
boolean |
contains (JComponent a,
int b,
int c)
ÀÌ ¿ÀºêÁ§Æ®°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î contains ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù. |
static ComponentUI |
createUI (JComponent a)
º¸Á¶ LookAndFeel ÀÇ ¾î¶² °ÍÀΰ¡°¡ ÀÌ UI ¸¦ ¼Æ÷Æ®ÇÏ´Â °æ¿ì´Â ´ÙÁß UI ÀνºÅϽº¸¦ µ¹·ÁÁÝ´Ï´Ù. |
void |
damageRange (JTextComponent a,
int b,
int c)
ÀÌ ¿ÀºêÁ§Æ®°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î damageRange ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù. |
void |
damageRange (JTextComponent a,
int b,
int c,
Position.Bias d,
Position.Bias e)
ÀÌ ¿ÀºêÁ§Æ®°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î damageRange ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù. |
Accessible |
getAccessibleChild (JComponent a,
int b)
ÀÌ ¿ÀºêÁ§Æ®°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î getAccessibleChild ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù. |
int |
getAccessibleChildrenCount (JComponent a)
ÀÌ ¿ÀºêÁ§Æ®°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î getAccessibleChildrenCount ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù. |
EditorKit |
getEditorKit (JTextComponent a)
ÀÌ ¿ÀºêÁ§Æ®°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î getEditorKit ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù. |
Dimension |
getMaximumSize (JComponent a)
ÀÌ ¿ÀºêÁ§Æ®°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î getMaximumSize ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù. |
Dimension |
getMinimumSize (JComponent a)
ÀÌ ¿ÀºêÁ§Æ®°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î getMinimumSize ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù. |
int |
getNextVisualPositionFrom (JTextComponent a,
int b,
Position.Bias c,
int d,
Position.Bias [] e)
ÀÌ ¿ÀºêÁ§Æ®°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î getNextVisualPositionFrom ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù. |
Dimension |
getPreferredSize (JComponent a)
ÀÌ ¿ÀºêÁ§Æ®°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î getPreferredSize ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù. |
View |
getRootView (JTextComponent a)
ÀÌ ¿ÀºêÁ§Æ®°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î getRootView ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù. |
String |
getToolTipText (JTextComponent a,
Point b)
ÀÌ ¿ÀºêÁ§Æ®°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î getToolTipText ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù. |
ComponentUI [] |
getUIs ()
ÀÌ ´ÙÁß UI ¿¡ °ü·ÃÁöÀ» ¼ö ÀÖ¾ú´ø UI ÀÇ ¸®½ºÆ®¸¦ µ¹·ÁÁÝ´Ï´Ù. |
void |
installUI (JComponent a)
ÀÌ ¿ÀºêÁ§Æ®°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î installUI ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù. |
Rectangle |
modelToView (JTextComponent a,
int b)
ÀÌ ¿ÀºêÁ§Æ®°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î modelToView ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù. |
Rectangle |
modelToView (JTextComponent a,
int b,
Position.Bias c)
ÀÌ ¿ÀºêÁ§Æ®°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î modelToView ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù. |
void |
paint (Graphics a,
JComponent b)
ÀÌ ¿ÀºêÁ§Æ®°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î paint ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù. |
void |
uninstallUI (JComponent a)
ÀÌ ¿ÀºêÁ§Æ®°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î uninstallUI ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù. |
void |
update (Graphics a,
JComponent b)
ÀÌ ¿ÀºêÁ§Æ®°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î update ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù. |
int |
viewToModel (JTextComponent a,
Point b)
ÀÌ ¿ÀºêÁ§Æ®°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î viewToModel ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù. |
int |
viewToModel (JTextComponent a,
Point b,
Position.Bias [] c)
ÀÌ ¿ÀºêÁ§Æ®°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î viewToModel ¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
ÇʵåÀÇ »ó¼¼ |
protected Vector uis
createUI
ÀÇ È£Ãâ¿¡ ÀÇÇØ ÀÛ¼ºµÇ¾îgetUIs
¸Þ¼Òµå¸¦ È£ÃâÇÏ´Â °ÍÀ¸·Î ÃëµæÇÒ ¼ö ÀÖ½À´Ï´Ù. ÃÖÃÊÀÇ ¿ä¼Ò´Â µðÆúÆ®ÀÇ Look & Feel ·ÎºÎÅÍ ¾òÀ» ¼ö ÀÖ´ø ½ÇÁ¦ÀÇ UI ÀÎ °ÍÀÌ ÇÁ·ÎÅØ¼ÇµË´Ï´Ù.
»ý¼ºÀÚÀÇ »ó¼¼ |
public MultiTextUI()
¸Þ¼ÒµåÀÇ »ó¼¼ |
public ComponentUI [] getUIs()
public String getToolTipText(JTextComponent a, Point b)
getToolTipText
¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù.
TextUI
³»ÀÇ getToolTipText
LookAndFeel
·ÎºÎÅÍ ÃëµæµÇ´Â UIJTextComponent.getToolTipText(java.awt.event.MouseEvent)
public Rectangle modelToView(JTextComponent a, int b) throws BadLocationException
modelToView
¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù.
TextUI
³»ÀÇ modelToView
b
- º¯È¯ ´ë»óÀÇ ¸ðµ¨³»¿¡¼ÀÇ ·ÎÄà À§Ä¡ >= 0
LookAndFeel
·ÎºÎÅÍ ÃëµæµÇ´Â UI
BadLocationException
- ÁöÁ¤µÈ À§Ä¡°¡, °ü·ÃÇÏ´Â ¹®¼³»ÀÇ À¯È¿ÇÑ À§Ä¡¸¦ ³ªÅ¸³»Áö ¾Ê´Â °æ¿ìpublic Rectangle modelToView(JTextComponent a, int b, Position.Bias c) throws BadLocationException
modelToView
¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù.
TextUI
³»ÀÇ modelToView
b
- º¯È¯ ´ë»óÀÇ ¸ðµ¨³»¿¡¼ÀÇ ·ÎÄà À§Ä¡ >= 0
LookAndFeel
·ÎºÎÅÍ ÃëµæµÇ´Â UI
BadLocationException
- ÁöÁ¤µÈ À§Ä¡°¡, °ü·ÃÇÏ´Â ¹®¼³»ÀÇ À¯È¿ÇÑ À§Ä¡¸¦ ³ªÅ¸³»Áö ¾Ê´Â °æ¿ìpublic int viewToModel(JTextComponent a, Point b)
viewToModel
¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù.
TextUI
³»ÀÇ viewToModel
b
- º¯È¯ ´ë»óÀÇ ºäÀÇ ÁÂÇ¥°è¿¡¼ÀÇ À§Ä¡. ÀÌ °æ¿ìÀÇ ÁÂÇ¥°è´Â ¸¶¿ì½º À̺¥Æ®¿Í °°Àº ÁÂÇ¥°è°¡ ¾Æ´Ï¸é ¾ÈµÈ´Ù
LookAndFeel
·ÎºÎÅÍ ÃëµæµÇ´Â UIpublic int viewToModel(JTextComponent a, Point b, Position.Bias [] c)
viewToModel
¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù.
TextUI
³»ÀÇ viewToModel
b
- º¯È¯ ´ë»óÀÇ ºäÀÇ ÁÂÇ¥°è¿¡¼ÀÇ À§Ä¡. ÀÌ °æ¿ìÀÇ ÁÂÇ¥°è´Â ¸¶¿ì½º À̺¥Æ®¿Í °°Àº ÁÂÇ¥°è°¡ ¾Æ´Ï¸é ¾ÈµÇ´Âc
- ÁöÁ¤µÈ Á¡ÀÌ ¸ðµ¨ÀÇ ÀüÀÇ Ä³¸¯ÅÍ, ȤÀº ´ÙÀ½ÀÇ Ä³¸¯ÅÍ¿¡ °¡±î¿î °ÍÀÎÁö¸¦ ³ªÅ¸³»±â À§Çؼ(¶§¹®¿¡), ÀÌ ¸Þ¼Òµå¿¡ ÀÇÇØ ±âÀÔÇØÁø´Ù
LookAndFeel
·ÎºÎÅÍ ÃëµæµÇ´Â UIpublic int getNextVisualPositionFrom(JTextComponent a, int b, Position.Bias c, int d, Position.Bias [] e) throws BadLocationException
getNextVisualPositionFrom
¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù.
TextUI
³»ÀÇ getNextVisualPositionFrom
b
- º¯È¯ ´ë»óÀÇ À§Ä¡ >>= 0d
- Űº¸µå»ó¿¡ Åë»ó ÀÖ´Â Ä¿¼ ۶ó°í º¼ ¼ö°¡ ÀÖ´Â ÇöÀçÀÇ À§Ä¡·ÎºÎÅÍÀÇ ¹æÇâ. SwingConstants.WEST, SwingConstants.EAST, SwingConstants.NORTH, ¶Ç´Â SwingConstants.SOUTH
LookAndFeel
·ÎºÎÅÍ ÃëµæµÇ´Â UI
BadLocationException
public void damageRange(JTextComponent a, int b, int c)
damageRange
¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù.
TextUI
³»ÀÇ damageRange
b
- ¹üÀ§ÀÇ ½ÃÁ¡ >>= 0c
- ¹üÀ§ÀÇ Á¾Á¡ >>= p0public void damageRange(JTextComponent a, int b, int c, Position.Bias d, Position.Bias e)
damageRange
¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù.
TextUI
³»ÀÇ damageRange
b
- ¹üÀ§ÀÇ ½ÃÁ¡ >>= 0c
- ¹üÀ§ÀÇ Á¾Á¡ >>= p0public EditorKit getEditorKit(JTextComponent a)
getEditorKit
¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù.
TextUI
³»ÀÇ getEditorKit
LookAndFeel
·ÎºÎÅÍ ÃëµæµÇ´Â UIpublic View getRootView(JTextComponent a)
getRootView
¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù.
TextUI
³»ÀÇ getRootView
LookAndFeel
·ÎºÎÅÍ ÃëµæµÇ´Â UIpublic boolean contains(JComponent a, int b, int c)
contains
¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù.
ComponentUI
³»ÀÇ contains
a
- x, y ÀÇ À§Ä¡°¡ Á¶È¸µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI ¿ÀºêÁ§Æ®°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Âb
- Á¡ÀÇ x ÁÂÇ¥c
- Á¡ÀÇ y ÁÂÇ¥
LookAndFeel
·ÎºÎÅÍ ÃëµæµÇ´Â UIJComponent.contains(int, int)
,
Component.contains(int, int)
public void update(Graphics a, JComponent b)
update
¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù.
ComponentUI
³»ÀÇ update
a
- paintó°¡ µÇ´Â Graphics
¹®¸Æb
- paint µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI ¿ÀºêÁ§Æ®°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´ÂComponentUI.paint(java.awt.Graphics, javax.swing.JComponent)
,
JComponent.paintComponent(java.awt.Graphics)
public static ComponentUI createUI(JComponent a)
LookAndFeel
ÀÇ ¾î¶² °ÍÀΰ¡°¡ ÀÌ UI ¸¦ ¼Æ÷Æ®ÇÏ´Â °æ¿ì´Â ´ÙÁß UI ÀνºÅϽº¸¦ µ¹·ÁÁÝ´Ï´Ù. ±×·¸Áö ¾ÊÀº °æ¿ì´Â µðÆúÆ® LookAndFeel
·ÎºÎÅÍ ÃëµæµÈ UI ¿ÀºêÁ§Æ®¸¸À» µ¹·ÁÁÝ´Ï´Ù.
public void installUI(JComponent a)
installUI
¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù.
ComponentUI
³»ÀÇ installUI
a
- UI delegateÀÌ ÀνºÅç µÇ°í ÀÖ´Â ÄÄÆÛ³ÍÆ®ComponentUI.uninstallUI(javax.swing.JComponent)
,
JComponent.setUI(javax.swing.plaf.ComponentUI)
,
JComponent.updateUI()
public void uninstallUI(JComponent a)
uninstallUI
¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù.
ComponentUI
³»ÀÇ uninstallUI
a
- ÀÌ UI delegateÀÌ »èÁ¦µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI ¿ÀºêÁ§Æ®°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´ÂComponentUI.installUI(javax.swing.JComponent)
,
JComponent.updateUI()
public void paint(Graphics a, JComponent b)
paint
¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù.
ComponentUI
³»ÀÇ paint
a
- paintó°¡ µÇ´Â Graphics
¹®¸Æb
- paint µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI ¿ÀºêÁ§Æ®°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´ÂComponentUI.update(java.awt.Graphics, javax.swing.JComponent)
public Dimension getPreferredSize(JComponent a)
getPreferredSize
¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù.
ComponentUI
³»ÀÇ getPreferredSize
a
- ÀûÀýÇÑ »çÀÌÁî°¡ Á¶È¸µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI ¿ÀºêÁ§Æ®°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Ù
LookAndFeel
·ÎºÎÅÍ ÃëµæµÇ´Â UIJComponent.getPreferredSize()
,
LayoutManager.preferredLayoutSize(java.awt.Container)
public Dimension getMinimumSize(JComponent a)
getMinimumSize
¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù.
ComponentUI
³»ÀÇ getMinimumSize
a
- ÃÖ¼Ò »çÀÌÁî°¡ Á¶È¸µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI ¿ÀºêÁ§Æ®°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Ù
LookAndFeel
·ÎºÎÅÍ ÃëµæµÇ´Â UIJComponent.getMinimumSize()
,
LayoutManager.minimumLayoutSize(java.awt.Container)
,
ComponentUI.getPreferredSize(javax.swing.JComponent)
public Dimension getMaximumSize(JComponent a)
getMaximumSize
¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù.
ComponentUI
³»ÀÇ getMaximumSize
a
- ÃÖ´ë »çÀÌÁî°¡ Á¶È¸µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI ¿ÀºêÁ§Æ®°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Ù
LookAndFeel
·ÎºÎÅÍ ÃëµæµÇ´Â UIJComponent.getMaximumSize()
,
LayoutManager2.maximumLayoutSize(java.awt.Container)
public int getAccessibleChildrenCount(JComponent a)
getAccessibleChildrenCount
¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù.
ComponentUI
³»ÀÇ getAccessibleChildrenCount
LookAndFeel
·ÎºÎÅÍ ÃëµæµÇ´Â UIComponentUI.getAccessibleChild(javax.swing.JComponent, int)
public Accessible getAccessibleChild(JComponent a, int b)
getAccessibleChild
¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù.
ComponentUI
³»ÀÇ getAccessibleChild
b
- Á¦·Î·ÎºÎÅÍ ½ÃÀ۵Ǵ ¾ÆÀÌÀÇ À妽º
LookAndFeel
·ÎºÎÅÍ ÃëµæµÇ´Â UIComponentUI.getAccessibleChildrenCount(javax.swing.JComponent)
|
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.