|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JPanel org.zu.ardulink.gui.ToneController
public class ToneController
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.BaselineResizeBehavior |
Field Summary |
---|
Fields inherited from class javax.swing.JComponent |
---|
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
ToneController()
Create the valuePanelOff. |
Method Summary | |
---|---|
int |
getDuration()
|
int |
getFrequency()
|
org.zu.ardulink.protocol.ReplyMessageCallback |
getReplyMessageCallback()
|
String |
getValueLabelOff()
|
String |
getValueLabelOn()
|
boolean |
isDurationVisible()
|
boolean |
isFrequencyVisible()
|
void |
setBackground(Color bg)
|
void |
setButtonTextOff(String text)
Set button's text (OFF state) |
void |
setButtonTextOn(String text)
Set button's text (ON state) |
void |
setDisabledIcon(Icon disabledIcon)
|
void |
setDisabledSelectedIcon(Icon disabledSelectedIcon)
|
void |
setDuration(int duration)
Set the duration to be sent |
void |
setDurationVisible(boolean aFlag)
Set duration visibility |
void |
setForeground(Color fg)
|
void |
setFrequency(int frequency)
Set the frequency to be sent |
void |
setFrequencyVisible(boolean aFlag)
Set frequency visibility |
void |
setIcon(Icon defaultIcon)
|
void |
setIconTextGap(int iconTextGap)
|
void |
setLink(org.zu.ardulink.Link link)
|
void |
setPressedIcon(Icon pressedIcon)
|
void |
setReplyMessageCallback(org.zu.ardulink.protocol.ReplyMessageCallback replyMessageCallback)
|
void |
setRolloverEnabled(boolean b)
|
void |
setRolloverIcon(Icon rolloverIcon)
|
void |
setRolloverSelectedIcon(Icon rolloverSelectedIcon)
|
void |
setSelectedIcon(Icon selectedIcon)
|
void |
setValueLabelOff(String valueLabel)
Set the string valueLabelOff for value parameter |
void |
setValueLabelOn(String valueLabel)
Set the string valueLabelOn for value parameter |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ToneController()
Method Detail |
---|
public void setLink(org.zu.ardulink.Link link)
setLink
in interface org.zu.ardulink.gui.Linkable
public String getValueLabelOn()
public void setValueLabelOn(String valueLabel)
valueLabelOn
- public String getValueLabelOff()
public void setValueLabelOff(String valueLabel)
valueLabelOn
- public void setFrequency(int frequency)
t
- public int getFrequency()
public void setDuration(int duration)
t
- public int getDuration()
public boolean isFrequencyVisible()
public void setFrequencyVisible(boolean aFlag)
aFlag
- public boolean isDurationVisible()
public void setDurationVisible(boolean aFlag)
aFlag
- public void setButtonTextOn(String text)
text
- public void setButtonTextOff(String text)
text
- public org.zu.ardulink.protocol.ReplyMessageCallback getReplyMessageCallback()
getReplyMessageCallback
in interface org.zu.ardulink.gui.Linkable
public void setReplyMessageCallback(org.zu.ardulink.protocol.ReplyMessageCallback replyMessageCallback)
setReplyMessageCallback
in interface org.zu.ardulink.gui.Linkable
public void setIcon(Icon defaultIcon)
public void setPressedIcon(Icon pressedIcon)
public void setSelectedIcon(Icon selectedIcon)
public void setRolloverIcon(Icon rolloverIcon)
public void setRolloverSelectedIcon(Icon rolloverSelectedIcon)
public void setDisabledIcon(Icon disabledIcon)
public void setDisabledSelectedIcon(Icon disabledSelectedIcon)
public void setIconTextGap(int iconTextGap)
public void setRolloverEnabled(boolean b)
public void setForeground(Color fg)
setForeground
in class JComponent
public void setBackground(Color bg)
setBackground
in class JComponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |