com.swath
Interface CommandIfc

All Known Implementing Classes:
ActiveShipScan, AttackPort, AttackShip, AttackTrader, BlowUpPlanet, BuyItems, BuyShip, ChangeMilitaryLevel, ChangePersonalSettings, ChangeQuasarCannonLevel, ChangeShipSettings, CIMDownload, ClaimPlanet, ClearAvoidedSectors, Connect, DepositCredits, Disconnect, DisplayCurrentInfo, DisplaySector, DropTakeFighters, DropTakeMines, EnterCitadel, EnterComputer, EnterCorporateMenu, EnterTW, ExampleCommand1, FirePhotonMissile, GetAvoidedSectors, GetColonists, GetNavPoints, JettisonCargo, Land, LandOnStarDock, LaunchEtherProbe, LaunchGenesisTorpedo, LaunchMineDisruptor, LeaveCitadel, LeaveComputer, LeaveCorporateMenu, LeaveStarDock, LiftOff, MakeAnnouncement, MessageBox, Move, MoveColonists, MoveToNavPoint, PlanetaryTrade, PlanetTransport, PlanetWarp, PlotCourse, PortReport, PrintText, PrintTrace, QuitTW, ReEnterTW, RefreshInfo, ReleaseBeacon, RemainOvernight, Rob, ScanCurrentShip, ScanPlanets, ScanSector, SellShip, SendCorporateMemo, SendFedCommMessage, SendMacro, SendPrivateMessage, SendSSRadioMessage, SendString, SetAvoidedSectors, SetNavPoint, SetTextMode, ShowDeployedFighters, ShowDeployedMines, ShowPersonalPlanets, ShowWhoIsPlaying, ShutOffTractorBeam, Steal, TakeLeaveColonists, TakeLeaveCredits, TakeLeaveFighters, TakeLeaveProducts, TakeLeaveShields, TowShip, Trade, Transport, TransWarp, UpgradePlanet, UpgradePort, UserAlert, UserChoice, UserChoiceList, UserDefinedCommand, UserInput, WaitForEvent, WaitForPrompt, WaitForText, VisualMap, WithdrawCredits

public interface CommandIfc

This is the Command interface.

Since:
SWATH 1.3

Method Summary
 java.lang.String getClassName()
          Gets the command class name.
 java.lang.String getName()
          Gets the name of the command.
 java.util.Enumeration getParams()
          Gets the command parameters.
 boolean isInternal()
          Indicates if this is an internal SWATH command or not.
 boolean isUserDefined()
          Indicates if this command is user defined or not.
 

Method Detail

getName

java.lang.String getName()
Gets the name of the command.

Returns:
The command name.
Since:
SWATH 1.3

getParams

java.util.Enumeration getParams()
Gets the command parameters.

Returns:
The command parameters.
Since:
SWATH 1.3

isUserDefined

boolean isUserDefined()
Indicates if this command is user defined or not.

Returns:
true if user defined, otherwise false.
Since:
SWATH 1.3

isInternal

boolean isInternal()
Indicates if this is an internal SWATH command or not.

Returns:
true if internal, otherwise false.
Since:
SWATH 1.6.2

getClassName

java.lang.String getClassName()
Gets the command class name.

Returns:
The class name.
Since:
SWATH 1.3