com.planet_ink.coffee_mud.Items.interfaces
Interface Computer

All Superinterfaces:
Affectable, Behavable, java.lang.Cloneable, CMObject, java.lang.Comparable<CMObject>, Contingent, DBIdentifiable, ElecPanel, Electronics, Environmental, Item, Modifiable, MsgListener, Physical, PhysicalAgent, Readable, Rider, StatsAffecting, Technical, Tickable, Wearable
All Known Implementing Classes:
GenComputerConsole, GenTriCorder, StdComputerConsole, StdTriCorder

public interface Computer
extends ElecPanel

A computer is a particular type of electronics panel that holds software, and has readers who monitor the messages this panel generates, as well as use the Type command to enter data into this panel's software.

See Also:
Software, ElecPanel

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Technical
Technical.TechCommand, Technical.TechType
 
Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Wearable
Wearable.CODES
 
Field Summary
 
Fields inherited from interface com.planet_ink.coffee_mud.Items.interfaces.ElecPanel
PANELTYPES
 
Fields inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Wearable
DEFAULT_WORN_CODES, DEFAULT_WORN_DEPENDENCYGRID, DEFAULT_WORN_DESCS, DEFAULT_WORN_ORDER, DEFAULT_WORN_USUAL_NAMES, DEFAULT_WORN_WEIGHT_POINTS, DEFAULT_WORN_WEIGHTS, FILTER_ANY, FILTER_MOBINVONLY, FILTER_ROOMONLY, FILTER_UNWORNONLY, FILTER_WORNONLY, HIGHEST_WORN_CODE, IN_INVENTORY, WORN_ABOUT_BODY, WORN_ARMS, WORN_BACK, WORN_EARS, WORN_EYES, WORN_FEET, WORN_FLOATING_NEARBY, WORN_HANDS, WORN_HEAD, WORN_HELD, WORN_LEFT_FINGER, WORN_LEFT_WRIST, WORN_LEGS, WORN_MOUTH, WORN_NECK, WORN_RIGHT_FINGER, WORN_RIGHT_WRIST, WORN_TORSO, WORN_WAIST, WORN_WIELD
 
Method Summary
 void forceReadersMenu()
          Forces all the current readers to "read" the computer, typically seeing the menu.
 void forceReadersSeeNew()
          Forces all the current readers to see any new messages that should be seen by anyone monitoring the computer.
 java.lang.String getActiveMenu()
          Most software supports different levels of menu, and some software is even a sub-menu unto itself.
 java.util.List<MOB> getCurrentReaders()
          Returns the list of mobs currently monitoring the output of this computers software.
 java.util.List<Software> getSoftware()
          Returns the list of Software objects installed in this computer.
 void setActiveMenu(java.lang.String internalName)
          Most software supports different levels of menu, and some software is even a sub-menu unto itself.
 
Methods inherited from interface com.planet_ink.coffee_mud.Items.interfaces.ElecPanel
panelType, setPanelType
 
Methods inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Electronics
activate, activated, getFinalManufacturer, getManufacturerName, powerCapacity, powerNeeds, powerRemaining, setManufacturerName, setPowerCapacity, setPowerRemaining
 
Methods inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Technical
getTechType, setTechLevel, techLevel
 
Methods inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Item
baseGoldValue, container, material, numberOfItems, owner, rawSecretIdentity, recursiveWeight, removeFromOwnerContainer, secretIdentity, setBaseValue, setContainer, setMaterial, setOwner, setSecretIdentity, setUsesRemaining, stopTicking, subjectToWearAndTear, ultimateContainer, usesRemaining, value
 
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Rider
riding, setRiding
 
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject
copyOf, ID, initializeClass, newInstance
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.DBIdentifiable
canSaveDatabaseID, databaseID, setDatabaseID
 
Methods inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Wearable
amBeingWornProperly, amWearingAt, canWear, compareProperLocations, fitsOn, rawLogicalAnd, rawProperLocationBitmap, rawWornCode, setRawLogicalAnd, setRawProperLocationBitmap, setRawWornCode, unWear, wearAt, wearEvenIfImpossible, wearIfPossible, wearIfPossible, whereCantWear
 
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Readable
isReadable, readableText, setReadable, setReadableText
 

Method Detail

getSoftware

java.util.List<Software> getSoftware()
Returns the list of Software objects installed in this computer.

Returns:
the list of Software objects installed in this computer
See Also:
Software

getCurrentReaders

java.util.List<MOB> getCurrentReaders()
Returns the list of mobs currently monitoring the output of this computers software.

Returns:
the list of mobs currently monitoring the output

forceReadersMenu

void forceReadersMenu()
Forces all the current readers to "read" the computer, typically seeing the menu.

See Also:
getCurrentReaders(), forceReadersSeeNew()

forceReadersSeeNew

void forceReadersSeeNew()
Forces all the current readers to see any new messages that should be seen by anyone monitoring the computer.

See Also:
getCurrentReaders(), forceReadersMenu()

setActiveMenu

void setActiveMenu(java.lang.String internalName)
Most software supports different levels of menu, and some software is even a sub-menu unto itself. This method forces the system to recognize one of those menus as current. The software takes it from there.

Parameters:
internalName - the menu to set as current and active
See Also:
getActiveMenu()

getActiveMenu

java.lang.String getActiveMenu()
Most software supports different levels of menu, and some software is even a sub-menu unto itself. This method returns the current active menu.

Returns:
internalName the menu to set as current and active
See Also:
setActiveMenu(String)