|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmoteaccess.SwingTOSMoteAccessUI
Nested Class Summary | |
private class |
SwingTOSMoteAccessUI.RequestWrapper
|
Field Summary | |
private java.lang.String |
DEFAULT_DESCRIPTION_TEXT
|
(package private) javax.swing.JLabel |
descriptionLabel
|
(package private) javax.swing.JScrollPane |
descriptionScrollPane
|
(package private) javax.swing.JTextArea |
descriptionTextArea
|
(package private) javax.swing.JFrame |
frame
|
(package private) javax.swing.JLabel |
listLabel
|
(package private) javax.swing.DefaultListModel |
listmodel
|
(package private) javax.swing.JScrollPane |
listscrollpane
|
(package private) javax.swing.JLabel |
messagesLabel
|
(package private) java.awt.Container |
pane
|
(package private) javax.swing.JButton |
quitButton
|
(package private) javax.swing.JList |
requestlist
|
private java.util.HashMap |
ridtowrapper
|
(package private) javax.swing.JButton |
setParameterButton
|
(package private) javax.swing.JButton |
stopButton
|
(package private) javax.swing.JTextArea |
textarea
|
(package private) javax.swing.JScrollPane |
textscrollpane
|
private TOSMoteAccess |
tma
|
Constructor Summary | |
SwingTOSMoteAccessUI(TOSMoteAccess tmaccess)
|
Method Summary | |
void |
addedReaction(RequestID rid,
MoteReaction req)
Notifies the user that a new reaction has been installed. |
void |
addedRequest(RequestID rid,
MoteRequest req)
Notifies the user that a new request is being sent to the network. |
void |
printStatusLine(java.lang.String status)
Prints a status message. |
void |
stoppedReaction(RequestID rid,
MoteReaction req,
java.lang.String reason)
Notifies the user that a reaction was stopped. |
void |
stoppedRequest(RequestID rid,
MoteRequest req,
java.lang.String reason)
Notifies the user that a running request was stopped. |
void |
valueChanged(javax.swing.event.ListSelectionEvent e)
Required by the ListSelectionListener interface. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private final java.lang.String DEFAULT_DESCRIPTION_TEXT
javax.swing.JFrame frame
java.awt.Container pane
javax.swing.JTextArea textarea
javax.swing.JScrollPane textscrollpane
javax.swing.JLabel messagesLabel
javax.swing.JLabel listLabel
javax.swing.JLabel descriptionLabel
javax.swing.JTextArea descriptionTextArea
javax.swing.JScrollPane descriptionScrollPane
javax.swing.DefaultListModel listmodel
javax.swing.JList requestlist
javax.swing.JScrollPane listscrollpane
javax.swing.JButton stopButton
javax.swing.JButton quitButton
javax.swing.JButton setParameterButton
private TOSMoteAccess tma
private java.util.HashMap ridtowrapper
Constructor Detail |
public SwingTOSMoteAccessUI(TOSMoteAccess tmaccess)
Method Detail |
public void valueChanged(javax.swing.event.ListSelectionEvent e)
valueChanged
in interface javax.swing.event.ListSelectionListener
public void printStatusLine(java.lang.String status)
printStatusLine
in interface TOSMoteAccessUI
status
- : status message to print.public void addedRequest(RequestID rid, MoteRequest req)
addedRequest
in interface TOSMoteAccessUI
req
- : the MoteRequest object describing the new request.public void addedReaction(RequestID rid, MoteReaction req)
addedReaction
in interface TOSMoteAccessUI
req
- : the MoteReaction object describing the new reaction.public void stoppedRequest(RequestID rid, MoteRequest req, java.lang.String reason)
stoppedRequest
in interface TOSMoteAccessUI
req
- : the MoteRequest that just stopped.reason
- : the reason why the request was stopped.public void stoppedReaction(RequestID rid, MoteReaction req, java.lang.String reason)
stoppedReaction
in interface TOSMoteAccessUI
req
- : the MoteReaction that just stopped.reason
- : the reason why the reaction was stopped.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |