com.xce.xlcdui
Class XSDialog
java.lang.Object
|
+--com.xce.xlcdui.XSDialog
- public class XSDialog
- extends java.lang.Object
XSDialog´Â alert¿Í confirmÀÇ µÎ°¡Áö ÇüÅÂÀÇ ÄÄÆ÷³ÍÆ®¸¦ Áö¿øÇÑ´Ù.
alert¿Í confirm dialog boxÀÇ °æ¿ì´Â
ÄÄÆ÷³ÍÆ®ÀÇ ¼º°Ý¿¡ µû¶ó¼ 2¶óÀαîÁö Áö¿øµÈ´Ù.
XSDialog alert = new XSDialog(this, "ALERT TEST", XSDialog.ALERT);
...
show(g);
// ¸Þ½ÃÁö¸¦ ¹Ù²ã¾î º¸¸é,
alert.setMessage("replaced message.");
confirm ¿ª½Ã °°Àº ¹æ¹ýÀ¸·Î »ý¼ºÇÒ ¼ö ÀÖ´Ù.
Field Summary |
static int |
ALERT
Alert dialog box¿¡ ´ëÇÑ »ó¼ö |
static int |
CONFIRM
Confirm dialog box¿¡ ´ëÇÑ »ó¼ö |
Constructor Summary |
XSDialog(com.xce.xlcdui.Canvas canvas,
java.lang.String con,
int type)
Ŭ·¡½º ÀνºÅϽº¸¦ »ý¼º |
Method Summary |
void |
hide(com.xce.xlcdui.Graphics g)
ȸ鿡 µð½ºÇ÷¹ÀÌµÈ XSList¸¦ °¨Ãá´Ù. |
void |
setMessage(java.lang.String m)
±âÁ¸ÀÇ DialogÀÇ ¸Þ½ÃÁö¸¦ ´ëüÇÑ´Ù. |
void |
show(com.xce.xlcdui.Graphics g)
¼ÓÇØÀִ ĵ¹ö½º¸¦ ÅëÇØ¼ ȸ鿡 º¸¿©ÁØ´Ù.
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALERT
public static final int ALERT
- Alert dialog box¿¡ ´ëÇÑ »ó¼ö
CONFIRM
public static final int CONFIRM
- Confirm dialog box¿¡ ´ëÇÑ »ó¼ö
XSDialog
public XSDialog(com.xce.xlcdui.Canvas canvas,
java.lang.String con,
int type)
- Ŭ·¡½º ÀνºÅϽº¸¦ »ý¼º
- Parameters:
canvas
- ÇöÀç »ç¿ëÇϰí ÀÖ°í, dialog object¸¦ º¸¿©ÁÙ canvastype
- ALERT, CONFIRMÀÇ µÎ°¡Áö Çü½ÄÀ» °¡Áú¼ö ÀÖÀ½
setMessage
public void setMessage(java.lang.String m)
- ±âÁ¸ÀÇ DialogÀÇ ¸Þ½ÃÁö¸¦ ´ëüÇÑ´Ù.
- Parameters:
m
- ´ëüµÉ ¸Þ¼¼Áö
show
public void show(com.xce.xlcdui.Graphics g)
- ¼ÓÇØÀִ ĵ¹ö½º¸¦ ÅëÇØ¼ ȸ鿡 º¸¿©ÁØ´Ù.
»ý¼ºÀÚ¿¡¼ »ý¼ºµÉ ¶§ÀÇ Å¸ÀÔ¿¡ µû¶ó¼ confirm, alertÀÎÁö ´Þ¶óÁø´Ù.
- Parameters:
g
- Graphics °³Ã¼
hide
public void hide(com.xce.xlcdui.Graphics g)
- ȸ鿡 µð½ºÇ÷¹ÀÌµÈ XSList¸¦ °¨Ãá´Ù.
- Parameters:
g
- Graphics °³Ã¼