|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The interface for AlphaLEDSignAgent
AlphaLEDSignAgent controls the Alpha-brand LED signs.
The Alpha LED sign can display two lines of text.
Using this agent, you can send text information to either the top
line, the bottom line, or the middle (which treats both top and bottom
lines as one). The text can be formatted in different colors, sizes,
and fonts.
AlphaLEDColors,
AlphaLEDFonts,
Agent| Fields inherited from interface metaglue.Agent |
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING |
| Method Summary | |
void |
clear()
Outputs a " " space character, essentially clearing the display. |
String |
get()
Gets the text on the LED. |
String |
getBottom()
Gets the text on the bottom line of the LED. |
String |
getTop()
Gets the text on the top line of the LED. |
void |
outputText(String sText)
outputText displays a message across the entire sign. |
void |
outputText(String sText,
String sColor)
Outputs text with a specific color to the LED sign. |
void |
outputText(String sText,
String sColor,
String sFont)
Outputs text with a specific color and font to the LED sign. |
void |
outputTextBoth(String top,
String bot)
Send output to both lines at once. |
void |
outputTextBottom(String sText)
SignBottomOut displays a message on the bottom line of the
sign. |
void |
outputTextBottom(String sText,
String sColor)
Outputs text with a specific color to the bottom row of the LED |
void |
outputTextTop(String sText)
Outputs text to the top line of the LED sign. |
void |
outputTextTop(String sText,
String sColor)
Outputs text with a specified color to the top row of the LED |
void |
setColor(int iColor)
Sets the color of future text on the display. |
void |
setColor(String sColor)
Sets the color of future text on the display. |
void |
setColorBottom(String sColor)
Sets the color of the bottom row. |
void |
setColorTop(String sColor)
Sets the color of the top row. |
void |
setFont(int iFont)
Sets the font of future text. |
void |
setFont(String sFont)
Sets the font of future text. |
boolean |
signTest()
SignTest asks the sign what is in Text file A. |
boolean |
testOutputText()
Tests if we are able to output text to the sign |
| Methods inherited from interface agentland.resource.Managed |
getNeed, replace, replace, resources, yank, yank |
| Methods inherited from interface agentland.util.Good |
getHistory, getHistoryElement, resetHistory |
| Methods inherited from interface metaglue.Agent |
addMonitor, alive, getAgentID, getMetaglueAgentID, shutdown, startup, whereAreYou |
| Methods inherited from interface agentland.util.Spy |
tell |
| Method Detail |
public void outputText(String sText)
throws RemoteException
outputText displays a message across the entire sign.
see the LED Sign PDF document for information on each byte that is used.outputText in interface TextOutputsText - a String value that contains the text to
be displayed on the sign.RemoteException - if an error occurs
public void outputText(String sText,
String sColor)
throws RemoteException
sText - a String valuesColor - a String valueRemoteException - if an error occurs
public void outputText(String sText,
String sColor,
String sFont)
throws RemoteException
sText - a String valuesColor - a String valuesFont - a String valueRemoteException - if an error occurs
public void outputTextBottom(String sText)
throws RemoteException
SignBottomOut displays a message on the bottom line of the
sign. If the message is long, it will scrollstuff - a String value that contains the text to be
displayed on the bottom lineRemoteException - if an error occurs
public void outputTextBottom(String sText,
String sColor)
throws RemoteException
sText - a String valuesColor - a String valueRemoteException - if an error occurs
public void outputTextTop(String sText)
throws RemoteException
sText - a String valueRemoteException - if an error occurs
public void outputTextTop(String sText,
String sColor)
throws RemoteException
sText - a String valuesColor - a String valueRemoteException - if an error occurs
public void outputTextBoth(String top,
String bot)
throws RemoteException
topText - a String valuebotText - a String valueRemoteException - if an error occurs
public String get()
throws RemoteException
String valueRemoteException - if an error occurs
public String getTop()
throws RemoteException
String valueRemoteException - if an error occurs
public String getBottom()
throws RemoteException
String valueRemoteException - if an error occurs
public void clear()
throws RemoteException
RemoteException - if an error occurs
public void setColor(String sColor)
throws RemoteException
sColor - a String valueRemoteException - if an error occurs
public void setColor(int iColor)
throws RemoteException
iColor - an int valueRemoteException - if an error occurs
public void setColorTop(String sColor)
throws RemoteException
sColor - a String valueRemoteException - if an error occurs
public void setColorBottom(String sColor)
throws RemoteException
sColor - a String valueRemoteException - if an error occurs
public void setFont(String sFont)
throws RemoteException
sFont - a String valueRemoteException - if an error occurs
public void setFont(int iFont)
throws RemoteException
iFont - an int valueRemoteException - if an error occurs
public boolean signTest()
throws RemoteException
SignTest asks the sign what is in Text file A. If the
sign is connected it will respond and the method will return true.
If the sign does not respond with anything, it will return false.boolean value - True = sign responded, False =
sign did not respondRemoteException - if an error occurs
public boolean testOutputText()
throws RemoteException
boolean valueRemoteException - if an error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||