|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
ÆíÁý °¡´ÉÇÑ Ä³¸¯ÅÍÀÇ ¼øÂ÷ ¼ø¼¸¦ ³ªÅ¸³»´Â ÀÎÅÍÆäÀ̽ºÀÔ´Ï´Ù. ±¸Çö¿¡¼´Â º¯°æÀÌ UndoableEdit ÀÇ ±¸ÇöÀ» µ¹·ÁÁÙÁö ¾î¶³Áö¸¦ ¹Ý¿µÇÏ´Â È÷½ºÅ丮 ±â±¸¸¦ ¼Æ÷Æ®ÇØµµ ÇÏÁö ¾Ê¾Æµµ ±¦Âú½À´Ï´Ù.
AbstractDocument
¸Þ¼ÒµåÀÇ °³¿ä | |
Position |
createPosition (int offset)
ÄÁÅÙÃ÷°¡ º¯°æµÇ¾úÀ» ¶§¿¡ º¯°æÀ» ÃßÀûÇÏ´Â ÄÁÅÙÃ÷³»ÀÇ À§Ä¡¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
void |
getChars (int where,
int len,
Segment txt)
ij¸¯ÅÍÀÇ ¼øÂ÷ ¼ø¼¸¦ ÃëµæÇØ, ¼¼±×¸ÕÆ®(segment)¿¡ Ä«ÇÇÇÕ´Ï´Ù. |
String |
getString (int where,
int len)
¼øÂ÷ ¼ø¼¿¡ Æ÷ÇԵǴ ij¸¯ÅÍ ¶óÀÎÀ» µ¹·ÁÁÝ´Ï´Ù. |
UndoableEdit |
insertString (int where,
String str)
¼øÂ÷ ¼ø¼¿¡ ij¸¯ÅÍ ¶óÀÎÀ» »ðÀÔÇÕ´Ï´Ù. |
int |
length ()
ij¸¯ÅÍ ¼øÂ÷ ¼ø¼ÀÇ, ÇöÀçÀÇ ±æÀÌÀÔ´Ï´Ù. |
UndoableEdit |
remove (int where,
int nitems)
¼øÂ÷ ¼ø¼ÀÇ ÀϺθ¦ »èÁ¦ÇÕ´Ï´Ù. |
¸Þ¼ÒµåÀÇ »ó¼¼ |
public Position createPosition(int offset) throws BadLocationException
offset
- ÄÁÅÙÃ÷ÀÇ ¿ÀÇÁ¼Â(offset) >= 0
BadLocationException
- ¿ÀÇÁ¼Â(offset)°¡ ¹«È¿ÀÎ °æ¿ìpublic int length()
public UndoableEdit insertString(int where, String str) throws BadLocationException
where
- »ðÀÔÇÏ´Â ¼øÂ÷ ¼ø¼±îÁöÀÇ ¿ÀÇÁ¼Â(offset) >= 0str
- »ðÀÔÇϴ ij¸¯ÅÍ ¶óÀÎ
Edit
ÀÇ ±¸Çö¿¡ÀÇ ÂüÁ¶°¡ µ¹·ÁÁÖ¾îÁø´Ù. ±×·¸Áö ¾ÊÀº °æ¿ì´Â null
°¡ µ¹·ÁÁÖ¾îÁø´Ù
BadLocationException
- Àμö¿¡ ÀÇÇØ ÁöÁ¤µÈ area°¡ ij¸¯ÅÍÀÇ ¼øÂ÷ ¼ø¼¿¡ Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â ½½·Î¿ì µÈ´Ùpublic UndoableEdit remove(int where, int nitems) throws BadLocationException
where
- »ðÀÔÇÏ´Â ¼øÂ÷ ¼ø¼±îÁöÀÇ ¿ÀÇÁ¼Â(offset) >= 0nitems
- »èÁ¦ ´ë»óÀÌ µÇ´Â ¼øÂ÷ ¼ø¼³»ÀÇ Ç׸ñÀÇ ¼ö >= 0
BadLocationException
- Àμö¿¡ ÀÇÇØ ÁöÁ¤µÈ area°¡ ij¸¯ÅÍÀÇ ¼øÂ÷ ¼ø¼¿¡ Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â ½½·Î¿ì µÈ´Ùpublic String getString(int where, int len) throws BadLocationException
where
- ÃëµæÇÏ´Â ¼øÂ÷ ¼ø¼±îÁöÀÇ ¿ÀÇÁ¼Â(offset) >= 0len
- Ä«ÇÇÇϴ ij¸¯Åͼö >= 0
BadLocationException
- Àμö¿¡ ÀÇÇØ ÁöÁ¤µÈ area°¡ ij¸¯ÅÍÀÇ ¼øÂ÷ ¼ø¼¿¡ Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â ½½·Î¿ì µÈ´Ùpublic void getChars(int where, int len, Segment txt) throws BadLocationException
where
- °³½Ã ¿ÀÇÁ¼Â(offset) >= 0len
- ij¸¯Åͼö >= 0txt
- Ä«ÇÇóÀÇ À§Ä¡
BadLocationException
- Àμö¿¡ ÀÇÇØ ÁöÁ¤µÈ area°¡ ij¸¯ÅÍÀÇ ¼øÂ÷ ¼ø¼¿¡ Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â ½½·Î¿ì µÈ´Ù
|
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.