|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.sound.sampled.Control
javax.sound.sampled.BooleanControl
public abstract class BooleanControl
BooleanControl
´Â
¶óÀÎÀÇ ¿Àµð¿À¿¡ ¿µÇâÀ» ÁÖ´Â 2°³ÀÇ ¼³Á¤À» ¹Ù²Ù´Â ±â´ÉÀ» Á¦°øÇÕ´Ï´Ù. ¼³Á¤Àº boolean ÇüÀÇ °ª (true
¹× false
)ÀÔ´Ï´Ù. ±×·¡ÇÇÄà »ç¿ëÀÚ
ÀÎÅÍÆäÀ̽º´Â 2 »óÅ ¹öư, ¿Â/¿ÀÇÁ ½ºÀÄ¡, 2°³ÀÇ ¹èŸ ¹öư, üũ ¹Ú½ºµîÀ¸·Î ÄÁÆ®·ÑÀ» ³ªÅ¸³¾ ¼ö°¡ ÀÖ½À´Ï´Ù. ¿¹¸¦ µé¾î
¹öưÀ» ´©¸£¸é,
ÄÁÆ®·ÑÀÌ ½ÃÀÛÇØ, ¶óÀÎÀÇ À½¼ºÀÌ Ãâ·ÂµÇÁö ¾Ê°Ô µÈ´Ù°í ÇÏ´Â »óÅÂÀÔ´Ï´Ù.
MUTE
¿Ü ¼ºê Ŭ·¡½º¿Í °°ÀÌ, »ç¿ëÀÚ
ÀÎÅÍÆäÀ̽º¿¡ Ç¥½ÃÇϴµ¥ ÀûÇÕÇÑ °ªÀÇ Ä³¸¯ÅÍ ¶óÀÎ ¶óº§À» µ¹·ÁÁÖ´Â ¸Þ¼µå°¡ ÁغñµÇ¾î ÀÖ½À´Ï´Ù.
Control
Áßø(Nested) Ŭ·¡½º °³¿ä | |
---|---|
static class |
BooleanControl.Type
BooleanControl.Type Ŭ·¡½ºÀÇ ÀνºÅϽº´Â ºÒÇüÀÇ ÄÁÆ®·ÑÀÇ Á¾·ù¸¦ ½Äº°ÇÕ´Ï´Ù. |
»ý¼ºÀÚ °³¿ä | |
---|---|
protected |
BooleanControl (BooleanControl.Type type,
boolean initialValue)
ÁöÁ¤µÈ ÆÄ¶ó¹ÌÅÍ·Î ºÒÇüÀÇ ÄÁÆ®·Ñ °´Ã¼¸¦ »õ·Ó°Ô ±¸ÃàÇÕ´Ï´Ù. |
protected |
BooleanControl (BooleanControl.Type type,
boolean initialValue,
String trueStateLabel,
String falseStateLabel)
ÁöÁ¤µÈ ÆÄ¶ó¹ÌÅÍ·Î ºÒÇüÀÇ ÄÁÆ®·Ñ °´Ã¼¸¦ »õ·Ó°Ô ±¸ÃàÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
String |
getStateLabel (boolean state)
ÁöÁ¤µÈ »óÅÂÀÇ ¶óº§À» ÃëµæÇÕ´Ï´Ù. |
boolean |
getValue ()
ÀÌ ÄÁÆ®·ÑÀÇ ÇöÀçÀÇ °ªÀ» ÃëµæÇÕ´Ï´Ù. |
void |
setValue (boolean value)
ÄÁÆ®·ÑÀÇ ÇöÀçÀÇ °ªÀ» ¼³Á¤ÇÕ´Ï´Ù. |
String |
toString ()
ÄÁÆ®·ÑÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇöÀ» Á¦°øÇÕ´Ï´Ù. |
Ŭ·¡½º javax.sound.sampled. Control ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
getType |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
»ý¼ºÀÚ »ó¼¼ |
---|
protected BooleanControl(BooleanControl.Type type, boolean initialValue, String trueStateLabel, String falseStateLabel)
type
- ÀÌ ºÒÇüÀÇ ÄÁÆ®·Ñ °´Ã¼¸¦ ³ªÅ¸³»´Â ÄÁÆ®·ÑÀÇ ÇüÅÂinitialValue
- Ãʱâ ÄÁÆ®·ÑÀÇ °ªtrueStateLabel
- ¡¸true¡¹¶Ç´Â ¡¸on¡¹µîÀÇ, true
·Î
³ªÅ¸³»Áö´Â »óÅÂÀÇ ¶óº§falseStateLabel
- ¡¸false¡¹¶Ç´Â ¡¸off¡¹µîÀÇ, false
·Î
³ªÅ¸³»Áö´Â »óÅÂÀÇ ¶óº§protected BooleanControl(BooleanControl.Type type, boolean initialValue)
true
¹× false
»óÅÂÀÇ ¶óº§À» ¡¸true¡¹ ¹× ¡¸false¡¹¿¡ µðÆúÆ® ¼³Á¤ÇÕ´Ï´Ù.
type
- ÀÌ ºÒÇüÀÇ ÄÁÆ®·Ñ °´Ã¼¿¡ ÀÇÇØ ³ªÅ¸³»Áö´Â ÄÁÆ®·ÑÀÇ ÇüÅÂinitialValue
- Ãʱâ ÄÁÆ®·ÑÀÇ °ª¸Þ¼µåÀÇ »ó¼¼ |
---|
public void setValue(boolean value)
value
- ÇÊ¿äÇÑ »õ·Î¿îÀÇ °ªpublic boolean getValue()
public String getStateLabel(boolean state)
true
ÀÎ °æ¿ì´Â ¡¸true¡¹¶Ç´Â ¡¸on¡¹, false
ÀÎ °æ¿ì´Â ¡¸false¡¹¶Ç´Â ¡¸off¡¹µîÀÇ, ÁöÁ¤µÈ »óÅÂÀÇ ¶óº§public String toString()
Control
³»ÀÇ toString
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.