agentland.device.intelliCD
Class LittleButtonAgent
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--metaglue.AgentAgent
|
+--agentland.util.GoodAgent
|
+--agentland.device.intelliCD.ButtonAgent
|
+--agentland.device.intelliCD.LittleButtonAgent
- All Implemented Interfaces:
- Agent, Button, Good, LittleButton, MetagluePrimitives, Remote, Serializable, Spy
- public class LittleButtonAgent
- extends ButtonAgent
- implements LittleButton
A simplified Button. This has fast become the primary interaction
with the IntelliCD
Player
.
- See Also:
- Serialized Form
Fields inherited from class agentland.device.intelliCD.ButtonAgent |
curDesignation, curSong, curSongPanel, curSongText, frame, global_status, hateButton, hateIcon, ICON_LOCATION, jukebox, likeIcon, loveIcon, my_status, neutralIcon, nextBest, nextBestPanel, nextBestScroll, nextBestShown, nextBestToggle, pauseButton, PAUSED, pauseIcon, play_state, player, playIcon, PLAYING, selectedSong, skullIcon, songTreeToggle, statusLabel, stopButton, stopIcon, STOPPED, timer, treeIcon, tunerControl |
Methods inherited from class agentland.util.GoodAgent |
addSpy, addSpy, alert, alertString, beep, error, getAlert, getHistory, getHistoryElement, getPersistentMap, log, notify, removeSpy, removeSpy, resetHistory, safeRely, safeRely, safeRely, setNiceLogName, tell |
Methods inherited from class metaglue.AgentAgent |
addMonitor, alive, defrost, defrostAll, defrostBoolean, defrostInt, defrostString, fixAttribute, fixAttribute, freeze, freeze, freeze, freezeAll, freezeVar, getAgentID, getAttribute, getCatalog, getCatalogID, getDesignation, getFrozenVariables, getLogLevel, getMetaglueAgent, getMetaglueAgentID, getOccupation, getProperties, getSociety, log, log, lookupClass, obtainMetaglueAgent, obtainMetaglueAgent, obtainMetaglueAgentByName, reliesOn, reliesOn, reliesOn, reliesOnSynch, removeFrozen, replaceExceptionHandler, setFreezeName, setLogLevel, setLogName, shutdown, startAgent, startAgentOn, startAgentOn, startup, status, tiedTo, tiedTo, tiedTo, tiedTo, tieToDesignation, whereAreYou |
Methods inherited from interface agentland.device.intelliCD.Button |
inform |
Methods inherited from interface agentland.util.Spy |
tell |
POSITIVE_SCROLL
protected int POSITIVE_SCROLL
scrollIncrement
protected int scrollIncrement
rolex
protected Timer rolex
volumeUp
protected JButton volumeUp
volumeDown
protected JButton volumeDown
tuner
protected Tuner tuner
LittleButtonAgent
public LittleButtonAgent()
throws RemoteException
buildFrame
protected void buildFrame()
- Description copied from class:
ButtonAgent
- The main method for creating the button interface. This will
assemble all the components into a JPanel and make it visible.
- Overrides:
buildFrame
in class ButtonAgent
toString
public String toString()
- Overrides:
toString
in class ButtonAgent
startJukebox
protected void startJukebox()
throws RemoteException
- Description copied from class:
ButtonAgent
- Creates the jukebox interface. This is actually a separate
agent, documented elsewhere.
- Overrides:
startJukebox
in class ButtonAgent
- Following copied from class:
agentland.device.intelliCD.ButtonAgent
- See Also:
Jukebox
updateSongViewport
protected void updateSongViewport()
setSongInfo
protected void setSongInfo(String title,
String author)
- Description copied from class:
ButtonAgent
- Displays information about the current song. In this agent, this
does nothing, but subclasses might choose to override it.
- Overrides:
setSongInfo
in class ButtonAgent
songEvent
public void songEvent(Secret secret,
SongChangeEvent e)
- Description copied from class:
ButtonAgent
- Handle an incoming song change.
- Overrides:
songEvent
in class ButtonAgent
timerEvent
protected void timerEvent(TimerEvent e)
- Description copied from class:
ButtonAgent
- Handle an incoming event updating the time left to play a song.
- Overrides:
timerEvent
in class ButtonAgent