- CAPTURED - Static variable in class com.swath.cmd.AttackShip
-
The ship was captured and is now yours.
- CARGO_HOLDS - Static variable in class com.swath.cmd.BuyItems
-
The 'Cargo Holds' item type.
- CARGO_HOLDS - Static variable in class com.swath.Swath
-
The index and identifier used for Cargo holds.
- centerWindow(Window) - Static method in class com.swath.Tools
-
Centers a window on the screen.
- ceo() - Method in class com.swath.Corporation
-
Gets the current ceo of the corporation.
- ChangeMilitaryLevel - Class in com.swath.cmd
-
Change the planet military reaction level.
- ChangePersonalSettings - Class in com.swath.cmd
-
Change your personal settings.
- ChangeQuasarCannonLevel - Class in com.swath.cmd
-
Change a planet quasar cannon level.
- ChangeShipSettings - Class in com.swath.cmd
-
Change the ship settings.
- CHOICE - Static variable in class com.swath.Parameter
-
The choice value type.
- CIMDownload - Class in com.swath.cmd
-
Use the Computer Interrogation Mode (CIM) to download the latest
sector warps and/or port reports.
- CITADEL_PROMPT - Static variable in class com.swath.Swath
-
The planet citadel prompt.
- ClaimPlanet - Class in com.swath.cmd
-
Claim ownership of the planet you are currently on.
- class0ports() - Method in class com.swath.MainInfo
-
Gets the locations of the class 0 ports.
- className() - Method in class com.swath.Planet
-
Gets the planet class name.
- ClearAvoidedSectors - Class in com.swath.cmd
-
Clear avoided sectors.
- clearConsole() - Static method in class com.swath.Swath
-
Clear the SWATH console window.
- clearErrorMsg() - Static method in class com.swath.Swath
-
Clears the current error message.
- clearUserDisplayValue(int) - Static method in class com.swath.Swath
-
Clears the user display value on the given row.
- CLOAKING_DEVICES - Static variable in class com.swath.cmd.BuyItems
-
The 'Cloaking Devices' item type.
- cloakingDevices() - Method in class com.swath.Ship
-
Gets the number of cloaking devices on the ship.
- clone() - Method in class com.swath.Bubble
-
- clone() - Method in class com.swath.Corporation
-
- clone() - Method in class com.swath.Identity
-
- clone() - Method in class com.swath.Planet
-
- clone() - Method in class com.swath.PlanetClass
-
- clone() - Method in class com.swath.Sector
-
- clone() - Method in class com.swath.Ship
-
- clone() - Method in class com.swath.ShipCategory
-
- clone() - Method in class com.swath.Tools.PortSearchParameters
-
- clone() - Method in class com.swath.Tools.SectorSearchParameters
-
- clone() - Method in class com.swath.Tools.TextRange
-
- clone() - Method in class com.swath.Trader
-
- colonists() - Method in class com.swath.Planet
-
Gets the number of colonists at each product type on the planet
(Fuel Ore, Organics and Equipment).
- colonists() - Method in class com.swath.Ship
-
Gets total number of holds with colonists.
- COLONISTS - Static variable in class com.swath.Swath
-
The index and identifier used for Colonists.
- COLOR_BLACK - Static variable in class com.swath.cmd.SetTextMode
-
Color black.
- COLOR_BLACK - Static variable in class com.swath.Swath
-
Color black.
- COLOR_BLUE - Static variable in class com.swath.cmd.SetTextMode
-
Color blue.
- COLOR_BLUE - Static variable in class com.swath.Swath
-
Color blue.
- COLOR_CYAN - Static variable in class com.swath.cmd.SetTextMode
-
Color cyan.
- COLOR_CYAN - Static variable in class com.swath.Swath
-
Color cyan.
- COLOR_GREEN - Static variable in class com.swath.cmd.SetTextMode
-
Color green.
- COLOR_GREEN - Static variable in class com.swath.Swath
-
Color green.
- COLOR_MAGENTA - Static variable in class com.swath.cmd.SetTextMode
-
Color magenta.
- COLOR_MAGENTA - Static variable in class com.swath.Swath
-
Color magenta.
- COLOR_RED - Static variable in class com.swath.cmd.SetTextMode
-
Color red.
- COLOR_RED - Static variable in class com.swath.Swath
-
Color red.
- COLOR_WHITE - Static variable in class com.swath.cmd.SetTextMode
-
Color white.
- COLOR_WHITE - Static variable in class com.swath.Swath
-
Color white.
- COLOR_YELLOW - Static variable in class com.swath.cmd.SetTextMode
-
Color yellow.
- COLOR_YELLOW - Static variable in class com.swath.Swath
-
Color yellow.
- colos2build1() - Method in class com.swath.PlanetClass
-
Gets the number of colonists needed to build one unit of each
product type (Fuel Ore, Organics and Equipment).
- colos2build1ftr() - Method in class com.swath.PlanetClass
-
Gets the number of colonists needed to build one fighter.
- com.swath - package com.swath
-
- com.swath.cmd - package com.swath.cmd
-
- com.swath.event - package com.swath.event
-
- COMMAND_PROMPT - Static variable in class com.swath.Swath
-
The command prompt.
- CommandException - Exception in com.swath
-
Command exception.
Thrown when the current command execution fails for some reason.
- CommandException(CommandIfc, String) - Constructor for exception com.swath.CommandException
-
Constructor.
- CommandIfc - Interface in com.swath
-
This is the Command interface.
- COMPACT - Static variable in class com.swath.cmd.ChangePersonalSettings
-
Compact message display mode.
- COMPUTER_PROMPT - Static variable in class com.swath.Swath
-
The computer command prompt.
- computerCost() - Method in class com.swath.ShipCategory
-
Gets the computer cost for the ship category.
- Connect - Class in com.swath.cmd
-
Connect to the TW game server.
- Connected - Class in com.swath.event
-
The Connected event.
- corbomite() - Method in class com.swath.Ship
-
Gets the number of corbomite transducers on the ship.
- CORBOMITE_DEVICES - Static variable in class com.swath.cmd.BuyItems
-
The 'Corbomite Devices' item type.
- corp() - Method in class com.swath.Trader
-
- CORP_PROMPT - Static variable in class com.swath.Swath
-
The corporate command prompt.
- CORPORATE - Static variable in class com.swath.Swath
-
The corporate owner type.
- Corporation - Class in com.swath
-
This class represents a corporation in TW.
- corporation() - Method in class com.swath.Trader
-
Gets the trader's corporation.
- createFrame(String, int, int) - Static method in class com.swath.Tools
-
Creates an AWT window frame.
- createJFrame(String, int, int) - Static method in class com.swath.Tools
-
Creates a Swing window frame.
- createJPanel() - Static method in class com.swath.Tools
-
Creates a Swing panel.
- createPanel() - Static method in class com.swath.Tools
-
Creates an AWT panel.
- creator() - Method in class com.swath.Planet
-
Gets the creator of the planet.
- credits() - Method in class com.swath.Trader
-
Gets the amount of credits that the trader has.
- currPlanet() - Method in class com.swath.MainInfo
-
Gets the current planet number.
- currSector() - Method in class com.swath.MainInfo
-
Gets the current sector number.
- DaemonException - Exception in com.swath
-
Daemon exception.
Thrown when a daemon fails for some reason.
You can throw this exception from your own daemon.
- DaemonException(String) - Constructor for exception com.swath.DaemonException
-
Constructor.
- dailyFighters() - Method in class com.swath.Planet
-
Gets the daily production of fighters on the planet.
- dailyProduction() - Method in class com.swath.Planet
-
Gets the daily production amount for each product type (Fuel Ore, Organics and Equipment).
- DamageReport - Class in com.swath.event
-
The DamageReport event.
- dateBuilt() - Method in class com.swath.Ship
-
Gets the date when the ship was built.
- DEFENSIVE_FTRS - Static variable in class com.swath.Swath
-
The defensive fighter type.
- defensiveOdds() - Method in class com.swath.ShipCategory
-
Gets the defensive odds for the ship category.
- delUserVariable(String, boolean) - Static method in class com.swath.Swath
-
Deletes a user variable.
- density() - Method in class com.swath.Sector
-
Gets the density for the sector.
- DENSITY_SCAN - Static variable in class com.swath.cmd.ScanSector
-
Density scan.
- DENSITY_SCANNER - Static variable in class com.swath.cmd.BuyItems
-
The 'Density Scanner' item type.
- DepositCredits - Class in com.swath.cmd
-
Deposit credits in your bank account.
- depth() - Method in class com.swath.Bubble
-
Gets the depth of this bubble in number of sectors
from the gate sector to the depest sector in the bubble.
- DESTROYED - Static variable in class com.swath.cmd.AttackPort
-
The port was destroyed.
- DESTROYED - Static variable in class com.swath.cmd.AttackShip
-
The ship was destroyed.
- Disconnect - Class in com.swath.cmd
-
Disconnect from the TW game server.
- Disconnected - Class in com.swath.event
-
The Disconnected event.
- DisconnectedException - Exception in com.swath
-
Disconnected exception.
Thrown if SWATH is disconnected from the TW game server.
- DisconnectedException() - Constructor for exception com.swath.DisconnectedException
-
- DisconnectedException(String) - Constructor for exception com.swath.DisconnectedException
-
- display() - Method in class com.swath.Planet
-
Displays this planet in the terminal window.
- display() - Method in class com.swath.Sector
-
Displays this sector in the terminal window.
- display() - Method in class com.swath.Ship
-
Displays this ship in the terminal window.
- display() - Method in class com.swath.Trader
-
Displays this trader in the terminal window.
- DisplayCurrentInfo - Class in com.swath.cmd
-
Display your current trader and ship information.
- DisplaySector - Class in com.swath.cmd
-
Display the current sector.
- distanceFromSector1() - Method in class com.swath.Bubble
-
Gets the distance from sector 1 to the bubble.
- distanceFromStarDock() - Method in class com.swath.Bubble
-
Gets the distance from the StarDock to the bubble.
- distanceToSector1() - Method in class com.swath.Bubble
-
Gets the distance from the bubble to sector 1.
- distanceToStarDock() - Method in class com.swath.Bubble
-
Gets the distance from the bubble to the StarDock.
- DOUBLE - Static variable in class com.swath.Parameter
-
The double value type.
- DOUBLE - Static variable in class com.swath.UserVariable
-
The double value type.
- DropTakeFighters - Class in com.swath.cmd
-
Drop/Take fighters in the current sector.
- DropTakeMines - Class in com.swath.cmd
-
Drop/Take mines in the current sector.
- dump() - Method in class com.swath.Bubble
-
Dumps the bubble info in the terminal window.
- dump() - Method in class com.swath.Corporation
-
Dumps the corporation info in the terminal window.
- dump() - Method in class com.swath.MainInfo
-
Dumps all the main info in the terminal window.
- dump() - Method in class com.swath.Planet
-
Dumps the planet info in the terminal window.
- dump() - Method in class com.swath.PlanetClass
-
Dumps the planet class info in the terminal window.
- dump() - Method in class com.swath.Sector
-
Dumps the sector info in the terminal window.
- dump() - Method in class com.swath.Ship
-
Dumps the ship info in the terminal window.
- dump() - Method in class com.swath.ShipCategory
-
Dumps the ship category info in the terminal window.
- dump() - Method in class com.swath.Trader
-
Dumps the trader info in the terminal window.
- emptyHolds() - Method in class com.swath.Ship
-
Gets total number of empty holds on the ship.
- enableEvents() - Method in class com.swath.UserDefinedDaemon
-
This method enables processing of events.
You must call this method from initDaemon
.
If enabled, the onEvent
method will be called
for each new event in the SWATH event queue.
- enableIncomingText() - Method in class com.swath.UserDefinedDaemon
-
This method enables processing of incoming text.
You must call this method from initDaemon
.
If enabled, the onText
method will be called
when there is new text from the game server.
- endCommand(boolean) - Method in class com.swath.UserDefinedCommand
-
Called by the framework when the command is finished.
You can override this method to clean up after the command if needed.
- endCommand(boolean) - Method in class ExampleCommand1
-
- endDaemon() - Method in class com.swath.UserDefinedDaemon
-
Called by the framework when the daemon is shut down.
You can override this method to clean up after the daemon if needed.
- endDaemon() - Method in class ExampleDaemon1
-
- endScript(boolean) - Method in class com.swath.UserDefinedScript
-
Called by the framework when the script is finished.
You can override this method to clean up after the script if needed.
- endScript(boolean) - Method in class ExampleScript1
-
- endScript(boolean) - Method in class ExampleScript2
-
- endScript(boolean) - Method in class ExampleScript3
-
- endScript(boolean) - Method in class ExampleScript4
-
- endScript(boolean) - Method in class ExampleScript5
-
- endScript(boolean) - Method in class ExampleScript6
-
- endScript(boolean) - Method in class ExampleScript7
-
- endScript(boolean) - Method in class ExampleScript8
-
- endTurboCycle() - Method in class com.swath.UserDefinedScript
-
This marks the end of a turbo cycle.
- ENEMY - Static variable in class com.swath.Swath
-
The trader/corp is an enemy of yours.
- EnterCitadel - Class in com.swath.cmd
-
Enter the planet citadel.
- EnterComputer - Class in com.swath.cmd
-
Enter the ship computer.
- EnterCorporateMenu - Class in com.swath.cmd
-
Enter the corporate menu.
- EnterTW - Class in com.swath.cmd
-
Enter a TradeWars game.
- equals(Object) - Method in class com.swath.Bubble
-
- equals(Object) - Method in class com.swath.Corporation
-
Compares this corporation to another one.
- equals(Object) - Method in class com.swath.Identity
-
Compares this identity to another one.
- equals(Object) - Method in class com.swath.Planet
-
- equals(Object) - Method in class com.swath.PlanetClass
-
- equals(Object) - Method in class com.swath.Sector
-
- equals(Object) - Method in class com.swath.Ship
-
- equals(Object) - Method in class com.swath.ShipCategory
-
- equals(Object) - Method in class com.swath.Tools.PortSearchParameters
-
- equals(Object) - Method in class com.swath.Tools.SectorSearchParameters
-
- equals(Object) - Method in class com.swath.Tools.TextRange
-
- equals(Object) - Method in class com.swath.Trader
-
Compares this trader to another one.
- equipment() - Method in class com.swath.Ship
-
Gets total number of holds with equipment.
- EQUIPMENT - Static variable in class com.swath.Swath
-
The index and identifier used for Equipment.
- ETHER_PROBES - Static variable in class com.swath.cmd.BuyItems
-
The 'SubSpace Ether Probes' item type.
- etherProbes() - Method in class com.swath.Ship
-
Gets the number of subspace ether probes on the ship.
- EventIfc - Interface in com.swath
-
This is the Event interface.
- ExampleCommand1 - Class in <Unnamed>
-
This is my first SWATH command.
- ExampleCommand1() - Constructor for class ExampleCommand1
-
- ExampleDaemon1 - Class in <Unnamed>
-
This is my first SWATH daemon.
- ExampleDaemon1() - Constructor for class ExampleDaemon1
-
- ExampleEvent1 - Class in <Unnamed>
-
This is my first SWATH event.
- ExampleEvent1() - Constructor for class ExampleEvent1
-
- ExampleEvent1(String, int) - Constructor for class ExampleEvent1
-
Constructs an ExampleEvent1 event.
- ExampleScript1 - Class in <Unnamed>
-
This is my first SWATH script.
- ExampleScript1() - Constructor for class ExampleScript1
-
- ExampleScript2 - Class in <Unnamed>
-
This script trades a product between two ports.
- ExampleScript2() - Constructor for class ExampleScript2
-
- ExampleScript3 - Class in <Unnamed>
-
This script demonstrate how to retrieve data from SWATH.
- ExampleScript3() - Constructor for class ExampleScript3
-
- ExampleScript4 - Class in <Unnamed>
-
"The Sector Guard"
Shows how to wait for events and perform actions.
- ExampleScript4() - Constructor for class ExampleScript4
-
- ExampleScript5 - Class in <Unnamed>
-
This script shows how to create and display your own
custom parameter window.
- ExampleScript5() - Constructor for class ExampleScript5
-
- ExampleScript6 - Class in <Unnamed>
-
This script demonstrates how to play sound files.
- ExampleScript6() - Constructor for class ExampleScript6
-
- ExampleScript7 - Class in <Unnamed>
-
This script shows how to wait for multiple events.
- ExampleScript7() - Constructor for class ExampleScript7
-
- ExampleScript8 - Class in <Unnamed>
-
This script shows how to handle events during script execution.
- ExampleScript8() - Constructor for class ExampleScript8
-
- exec() - Static method in class com.swath.cmd.ActiveShipScan
-
Perform an active ship scan.
- exec(int) - Static method in class com.swath.cmd.AttackPort
-
Attack the port in the current sector.
- exec(Ship, int) - Static method in class com.swath.cmd.AttackShip
-
Attack an unmanned ship with a specific amount of fighters.
- exec(Ship) - Static method in class com.swath.cmd.AttackShip
-
Try to capture an unmanned ship.
- exec(Trader, int) - Static method in class com.swath.cmd.AttackTrader
-
Attack a trader with a specific amount of fighters.
- exec(Trader) - Static method in class com.swath.cmd.AttackTrader
-
Attack a trader with enough fighters to pod him/her
and capture the ship.
- exec() - Static method in class com.swath.cmd.BlowUpPlanet
-
Blow up the planet you are currently on.
- exec(int, int) - Static method in class com.swath.cmd.BuyItems
-
Buy items from StarDock or a class 0 port.
- exec(String, String, int, String) - Static method in class com.swath.cmd.BuyShip
-
Buy a new ship at the Shipyards on StarDock.
- exec(int) - Static method in class com.swath.cmd.ChangeMilitaryLevel
-
Change the planet military reaction level.
- exec(int, int, int, int, int, int, int) - Static method in class com.swath.cmd.ChangePersonalSettings
-
Change your personal settings.
- exec(int, int, int, int, int, int, int, int, int, int, int) - Static method in class com.swath.cmd.ChangePersonalSettings
-
Change your personal settings.
- exec(int, int) - Static method in class com.swath.cmd.ChangeQuasarCannonLevel
-
Change a planet quasar cannon level.
- exec(String, int) - Static method in class com.swath.cmd.ChangeShipSettings
-
Change the ship settings of the current ship.
- exec(boolean, boolean) - Static method in class com.swath.cmd.CIMDownload
-
Use the Computer Interrogation Mode (CIM) to download the latest
sector warps and/or port reports.
- exec(int) - Static method in class com.swath.cmd.ClaimPlanet
-
Claim ownership of the planet you are currently on.
- exec() - Static method in class com.swath.cmd.ClearAvoidedSectors
-
Clear all of the avoided sectors.
- exec(int) - Static method in class com.swath.cmd.ClearAvoidedSectors
-
Clear an avoided sector.
- exec(int[]) - Static method in class com.swath.cmd.ClearAvoidedSectors
-
Clear avoided sectors.
- exec(Sector) - Static method in class com.swath.cmd.ClearAvoidedSectors
-
Clear an avoided sector.
- exec(Sector[]) - Static method in class com.swath.cmd.ClearAvoidedSectors
-
Clear avoided sectors.
- exec() - Static method in class com.swath.cmd.Connect
-
Connect to the TW game server.
- exec(UserDefinedScript) - Static method in class com.swath.cmd.Connect
-
Connect to the TW game server and run an auto-login script.
- exec(int) - Static method in class com.swath.cmd.DepositCredits
-
Deposit credits in your bank account.
- exec() - Static method in class com.swath.cmd.Disconnect
-
Disconnect from the TW game server.
- exec() - Static method in class com.swath.cmd.DisplayCurrentInfo
-
Display your current trader and ship information.
- exec(boolean) - Static method in class com.swath.cmd.DisplayCurrentInfo
-
Display your current trader and ship information.
- exec() - Static method in class com.swath.cmd.DisplaySector
-
Display the current sector.
- exec() - Static method in class com.swath.cmd.DropTakeFighters
-
Only pick up fighters in the current sector.
- exec(int, int, int) - Static method in class com.swath.cmd.DropTakeFighters
-
Drop/Take fighters in the current sector.
- exec(int) - Static method in class com.swath.cmd.DropTakeMines
-
Just pick up the mines in the current sector.
- exec(int, int, int) - Static method in class com.swath.cmd.DropTakeMines
-
Drop/Take mines in the current sector.
- exec() - Static method in class com.swath.cmd.EnterCitadel
-
Enter the planet citadel.
- exec() - Static method in class com.swath.cmd.EnterComputer
-
Enter the ship computer.
- exec() - Static method in class com.swath.cmd.EnterCorporateMenu
-
Enter the corporate menu.
- exec() - Static method in class com.swath.cmd.EnterTW
-
Enter a TradeWars game.
- exec(int) - Static method in class com.swath.cmd.FirePhotonMissile
-
Fire a photon missile into a sector.
- exec(Sector) - Static method in class com.swath.cmd.FirePhotonMissile
-
Fire a photon missile into a sector.
- exec() - Static method in class com.swath.cmd.GetAvoidedSectors
-
Get the current list of avoided sectors.
- exec() - Static method in class com.swath.cmd.GetColonists
-
Get colonists from Terra and take as many as possible.
- exec(int) - Static method in class com.swath.cmd.GetColonists
-
Get colonists from Terra.
- exec() - Static method in class com.swath.cmd.GetNavPoints
-
Get the current user NavPoints.
- exec() - Static method in class com.swath.cmd.JettisonCargo
-
Jettison all the cargo.
- exec(int) - Static method in class com.swath.cmd.Land
-
Land on a planet in the current sector.
- exec(Planet) - Static method in class com.swath.cmd.Land
-
Land on a planet in the current sector.
- exec() - Static method in class com.swath.cmd.LandOnStarDock
-
Land on the StarDock.
- exec(boolean) - Static method in class com.swath.cmd.LandOnStarDock
-
Land on the StarDock.
- exec(int) - Static method in class com.swath.cmd.LaunchEtherProbe
-
Launch an ether probe.
- exec(Sector) - Static method in class com.swath.cmd.LaunchEtherProbe
-
Launch an ether probe.
- exec(String, int) - Static method in class com.swath.cmd.LaunchGenesisTorpedo
-
Launch a genesis torpedo in the current sector.
- exec(int) - Static method in class com.swath.cmd.LaunchMineDisruptor
-
Launch a mine disruptor into a sector.
- exec(Sector) - Static method in class com.swath.cmd.LaunchMineDisruptor
-
Launch a mine disruptor into a sector.
- exec() - Static method in class com.swath.cmd.LeaveCitadel
-
Leave the planet citadel.
- exec() - Static method in class com.swath.cmd.LeaveComputer
-
Leave the ship computer.
- exec() - Static method in class com.swath.cmd.LeaveCorporateMenu
-
Leave the corporate menu.
- exec() - Static method in class com.swath.cmd.LeaveStarDock
-
Leave the StarDock.
- exec() - Static method in class com.swath.cmd.LiftOff
-
Lift off from the planet.
- exec(String) - Static method in class com.swath.cmd.MakeAnnouncement
-
Make an announcement.
- exec(String, String, int, int) - Static method in class com.swath.cmd.MessageBox
-
Display a message box to the user.
- exec(int) - Static method in class com.swath.cmd.Move
-
Express move to another sector without scanning.
- exec(Sector) - Static method in class com.swath.cmd.Move
-
Express move to another sector without scanning.
- exec(int, boolean, boolean) - Static method in class com.swath.cmd.Move
-
Move to another sector and scan along the way.
- exec(Sector, boolean, boolean) - Static method in class com.swath.cmd.Move
-
Move to another sector and scan along the way.
- exec(int, int, int) - Static method in class com.swath.cmd.MoveColonists
-
Move colonists from one product to another on the current planet.
- exec(int) - Static method in class com.swath.cmd.MoveToNavPoint
-
Express move to a given NavPoint without scanning.
- exec(int, boolean, boolean) - Static method in class com.swath.cmd.MoveToNavPoint
-
Move to a given NavPoint and scan along the way.
- exec(Planet) - Static method in class com.swath.cmd.PlanetaryTrade
-
Negotiate a planetary trade agreement at the port in the current sector.
- exec(Planet, int, int, int) - Static method in class com.swath.cmd.PlanetaryTrade
-
Negotiate a planetary trade agreement at the port in the current sector.
- exec(int) - Static method in class com.swath.cmd.PlanetTransport
-
Transport your ship to another sector using a planet transporter.
- exec(Sector) - Static method in class com.swath.cmd.PlanetTransport
-
Transport your ship to another sector using a planet transporter.
- exec(int) - Static method in class com.swath.cmd.PlanetWarp
-
Warp the current planet to another sector.
- exec(Sector) - Static method in class com.swath.cmd.PlanetWarp
-
Warp the current planet to another sector.
- exec(int, int) - Static method in class com.swath.cmd.PlotCourse
-
Plot the course between two sectors.
- exec(Sector, Sector) - Static method in class com.swath.cmd.PlotCourse
-
Plot the course between two sectors.
- exec(int) - Static method in class com.swath.cmd.PortReport
-
Get the current port report for a port.
- exec(Sector) - Static method in class com.swath.cmd.PortReport
-
Get the current port report for a port.
- exec(String) - Static method in class com.swath.cmd.PrintText
-
Print text in the terminal window.
- exec(Exception) - Static method in class com.swath.cmd.PrintText
-
Print an exception and the complete stack trace
in the terminal window.
- exec() - Static method in class com.swath.cmd.QuitTW
-
Quit a TradeWars game.
- exec(boolean) - Static method in class com.swath.cmd.QuitTW
-
Quit a TradeWars game.
- exec() - Static method in class com.swath.cmd.ReEnterTW
-
Exit and re-enter a TradeWars game.
- exec() - Static method in class com.swath.cmd.RefreshInfo
-
Refresh game information about traders, corps, ships, planets, fighters and mines.
- exec(String) - Static method in class com.swath.cmd.ReleaseBeacon
-
Release a marker beacon in the current sector.
- exec(boolean) - Static method in class com.swath.cmd.RemainOvernight
-
Remain in the citadel overnight.
- exec() - Static method in class com.swath.cmd.Rob
-
Rob the port in the current sector and
take as much credits as possible.
- exec(int) - Static method in class com.swath.cmd.Rob
-
Rob the port in the current sector.
- exec() - Static method in class com.swath.cmd.ScanCurrentShip
-
Scans the current ship information.
- exec() - Static method in class com.swath.cmd.ScanPlanets
-
Scan the planets in the current sector using the planet scanner.
- exec(int) - Static method in class com.swath.cmd.ScanSector
-
Perform a long range scan in the current sector.
- exec(Ship, String) - Static method in class com.swath.cmd.SellShip
-
Sell a ship at the Shipyards on StarDock.
- exec(String) - Static method in class com.swath.cmd.SendCorporateMemo
-
Send a memo to your corporation members.
- exec(String) - Static method in class com.swath.cmd.SendFedCommMessage
-
Send a plain message on the Federation comm-link.
- exec(String, boolean) - Static method in class com.swath.cmd.SendFedCommMessage
-
Send a message on the Federation comm-link.
- exec(String) - Static method in class com.swath.cmd.SendMacro
-
Send a macro once to the TW server.
- exec(String, int, boolean) - Static method in class com.swath.cmd.SendMacro
-
Send a macro one or more times to the TW server.
- exec(Trader, String) - Static method in class com.swath.cmd.SendPrivateMessage
-
Send a plain message to a trader.
- exec(Trader, String, boolean) - Static method in class com.swath.cmd.SendPrivateMessage
-
Send a private message to a trader.
- exec(String) - Static method in class com.swath.cmd.SendSSRadioMessage
-
Send a plain message on the current sub-space radio band.
- exec(String, boolean) - Static method in class com.swath.cmd.SendSSRadioMessage
-
Send a message on the current sub-space radio band.
- exec(int) - Static method in class com.swath.cmd.SetAvoidedSectors
-
Set a new sector to avoid.
- exec(int[]) - Static method in class com.swath.cmd.SetAvoidedSectors
-
Set new sectors to avoid.
- exec(Sector) - Static method in class com.swath.cmd.SetAvoidedSectors
-
Set a new sector to avoid.
- exec(Sector[]) - Static method in class com.swath.cmd.SetAvoidedSectors
-
Set new sectors to avoid.
- exec(int, int) - Static method in class com.swath.cmd.SetNavPoint
-
Set a user NavPoint.
- exec(int, Sector) - Static method in class com.swath.cmd.SetNavPoint
-
Set a user NavPoint.
- exec() - Static method in class com.swath.cmd.SetTextMode
-
Reset the current text mode to the default setting.
- exec(int, int, int) - Static method in class com.swath.cmd.SetTextMode
-
Set the current text mode.
- exec() - Static method in class com.swath.cmd.ShowDeployedFighters
-
Show deployed fighters.
- exec(int) - Static method in class com.swath.cmd.ShowDeployedMines
-
Show deployed mines.
- exec() - Static method in class com.swath.cmd.ShowPersonalPlanets
-
Show personal planets.
- exec() - Static method in class com.swath.cmd.ShowWhoIsPlaying
-
Show who is currently playing.
- exec() - Static method in class com.swath.cmd.ShutOffTractorBeam
-
Shut off the tractor beam.
- exec(int) - Static method in class com.swath.cmd.Steal
-
Steal products from the port in the current sector.
- exec(int, int) - Static method in class com.swath.cmd.Steal
-
Steal products from the port in the current sector.
- exec(int, int) - Static method in class com.swath.cmd.TakeLeaveColonists
-
Take or leave colonists on the current planet.
- exec(int) - Static method in class com.swath.cmd.TakeLeaveCredits
-
Take or leave credits from/to the citadel treasury.
- exec(int) - Static method in class com.swath.cmd.TakeLeaveFighters
-
Take or leave fighters on the current planet.
- exec(int, int, int) - Static method in class com.swath.cmd.TakeLeaveProducts
-
Take and/or leave products on the current planet.
- exec(int) - Static method in class com.swath.cmd.TakeLeaveShields
-
Take or leave shields from/to the planetary shield generator.
- exec(int) - Static method in class com.swath.cmd.TowShip
-
Tow a ship in the current sector.
- exec(Ship) - Static method in class com.swath.cmd.TowShip
-
Tow a ship in the current sector.
- exec(int, int, int) - Static method in class com.swath.cmd.Trade
-
Trade at the port in the current sector.
- exec(int) - Static method in class com.swath.cmd.Transport
-
Transport to another ship.
- exec(Ship) - Static method in class com.swath.cmd.Transport
-
Transport to another ship.
- exec(int) - Static method in class com.swath.cmd.TransWarp
-
TransWarp your ship to another sector.
- exec(Sector) - Static method in class com.swath.cmd.TransWarp
-
TransWarp your ship to another sector.
- exec() - Static method in class com.swath.cmd.UpgradePlanet
-
Upgrades the current planet to the next level if possible.
- exec(int, int) - Static method in class com.swath.cmd.UpgradePort
-
Upgrades the port in the current sector.
- exec(String, int) - Static method in class com.swath.cmd.UserAlert
-
Display a user alert window to the user and
print the text in the SWATH console window.
- exec(String, String, String, String, String) - Static method in class com.swath.cmd.UserChoice
-
Ask the user to choose between some options in a dialog box.
- exec(String, String, String[]) - Static method in class com.swath.cmd.UserChoiceList
-
Ask the user to choose an item from a list in a dialog box.
- exec(String) - Static method in class com.swath.cmd.UserInput
-
Ask the user to input a text string using a dialog box.
- exec(String, String, String, boolean) - Static method in class com.swath.cmd.UserInput
-
Ask the user to input a text string using a dialog box.
- exec(boolean) - Static method in class com.swath.cmd.VisualMap
-
Show or hide the Visual Map.
- exec(int, boolean) - Static method in class com.swath.cmd.VisualMap
-
Display a sector in the Visual Map.
- exec(Sector, boolean) - Static method in class com.swath.cmd.VisualMap
-
Display a sector in the Visual Map.
- exec(Class) - Static method in class com.swath.cmd.WaitForEvent
-
Wait for a specific event with no timeout.
- exec(Class[]) - Static method in class com.swath.cmd.WaitForEvent
-
Wait for one of several events with no timeout.
- exec(Class, int) - Static method in class com.swath.cmd.WaitForEvent
-
Wait for a specific event or timeout.
- exec(Class[], int) - Static method in class com.swath.cmd.WaitForEvent
-
Wait for one of several events or timeout.
- exec(int) - Static method in class com.swath.cmd.WaitForPrompt
-
Wait for specific TW prompt(s) with no timeout.
- exec(int, int) - Static method in class com.swath.cmd.WaitForPrompt
-
Wait for specific TW prompt(s) or timeout.
- exec(int) - Static method in class com.swath.cmd.WithdrawCredits
-
Withdraw credits from your bank account.
- exec(int, int, int) - Static method in class ExampleCommand1
-
Simple trading at the port in the current sector.
- exec(int, Planet) - Static method in class ExampleScript1
-
Moves your ship to a sector and lands on a planet there.
- execCommand(CommandIfc) - Static method in class com.swath.Swath
-
Executes a command.
Used by SWATH only!
- execInstance() - Method in class com.swath.UserDefinedCommand
-
Executes a command instance.
Should only be called from static exec()
methods.
- execInstance() - Method in class com.swath.UserDefinedScript
-
Executes a script instance.
Should only be called from static exec()
methods.
- execSwathFunction(String) - Static method in class com.swath.Swath
-
Executes a SWATH menu function.
- experience() - Method in class com.swath.Trader
-
Gets the trader's experience points.
- gameId() - Method in class com.swath.MainInfo
-
Gets the current game id letter.
- GameLoaded - Class in com.swath.event
-
The GameLoaded event.
- gameName() - Method in class com.swath.MainInfo
-
Gets the current game name.
- gamePath() - Method in class com.swath.MainInfo
-
Gets the current game path.
- gameSettings() - Method in class com.swath.MainInfo
-
Gets all known game settings.
- GameVariables - Class in com.swath
-
This class contains methods for accessing the game variables.
- gameVariables() - Method in class com.swath.MainInfo
-
Gets all the game variables.
- gameVersion() - Method in class com.swath.MainInfo
-
Gets the current game version.
- gates() - Method in class com.swath.Bubble
-
Gets the gate sector(s) for the bubble.
- GENESIS_TORPEDOES - Static variable in class com.swath.cmd.BuyItems
-
The 'Genesis Torpedoes' item type.
- genesisTorpedos() - Method in class com.swath.Ship
-
Gets the number of genesis torpedos on the ship.
- getAllCorporations() - Static method in class com.swath.Swath
-
Gets an array with all corporations.
- getAllPlanetClasses() - Static method in class com.swath.Swath
-
Gets an array with all planet classes.
- getAllPlanets() - Static method in class com.swath.Swath
-
Gets an array with all planets.
- getAllShipCategories() - Static method in class com.swath.Swath
-
Gets an array with all ship categories.
- getAllShips() - Static method in class com.swath.Swath
-
Gets an array with all ships.
- getAllTraders() - Static method in class com.swath.Swath
-
Gets an array with all traders.
- GetAvoidedSectors - Class in com.swath.cmd
-
Get the current list of avoided sectors.
- getBoolean() - Method in class com.swath.Parameter
-
Gets a boolean value.
- getBoolean() - Method in class com.swath.UserVariable
-
Gets a boolean value.
- getBubbles(int) - Static method in class com.swath.Swath
-
Gets all bubbles of a specific type.
- getButton() - Method in class com.swath.event.UserButtonPressed
-
Gets the user toolbar button that was pressed.
- getChoice(int) - Method in class com.swath.Parameter
-
Gets a choice value for a specific key.
- getClassName() - Method in interface com.swath.CommandIfc
-
Gets the command class name.
- getClassName() - Method in interface com.swath.EventIfc
-
Gets the event class name.
- getClassName(Class) - Static method in class com.swath.Tools
-
Gets the class name.
- getClassName() - Method in class com.swath.UserDefinedCommand
-
- getClassName() - Method in class com.swath.UserDefinedDaemon
-
Gets the class name.
- getClassName() - Method in class com.swath.UserDefinedEvent
-
- getClassName() - Method in class com.swath.UserDefinedScript
-
Gets the class name.
- GetColonists - Class in com.swath.cmd
-
Get colonists from Terra.
- getCommand() - Method in exception com.swath.CommandException
-
Returns the command.
- getCommandName() - Method in exception com.swath.CommandException
-
Returns the command name.
- getCommandName() - Static method in class com.swath.Swath
-
Gets the name of the running command.
- getCorporation() - Method in class com.swath.Identity
-
Returns the corporation.
- getCorporation(int) - Static method in class com.swath.Swath
-
Gets a corporation.
- getCurrentChoice() - Method in class com.swath.Parameter
-
Gets the current choice value.
- getDamage() - Method in class com.swath.event.DamageReport
-
Gets the amount of damage reported by the ship.
- getDescription() - Method in class com.swath.UserDefinedScript
-
Called by the framework to get the description of the script.
You should override this method to provide a script description.
The script description can be an URL to a HTML page or file.
- getDescription() - Method in class ExampleScript1
-
- getDescription() - Method in class ExampleScript2
-
- getDescription() - Method in class ExampleScript3
-
- getDescription() - Method in class ExampleScript4
-
- getDescription() - Method in class ExampleScript5
-
- getDescription() - Method in class ExampleScript6
-
- getDescription() - Method in class ExampleScript7
-
- getDescription() - Method in class ExampleScript8
-
- getDistance(int, int, boolean) - Static method in class com.swath.Tools
-
Gets the distance between two sectors by using the SWATH database.
- getDouble() - Method in class com.swath.Parameter
-
Gets a double value.
- getDouble() - Method in class com.swath.UserVariable
-
Gets a double value.
- getDoubleMax() - Method in class com.swath.Parameter
-
Gets the maximum double value limit.
- getDoubleMin() - Method in class com.swath.Parameter
-
Gets the minimum double value limit.
- getDuration() - Method in class com.swath.event.PhotonWave
-
Gets the duration of the wave in seconds.
- getEndIndex() - Method in class com.swath.Tools.TextRange
-
Gets the end index of the text.
- getEventClasses() - Method in class com.swath.cmd.WaitForEvent
-
Returns the event classes.
Used by SWATH only!
- getExploredSectors() - Static method in class com.swath.Swath
-
Gets an array of all explored sectors.
- getFighters() - Method in class com.swath.event.FightersDestroyed
-
Gets the number of fighters destroyed.
- getHelpText() - Method in class com.swath.Parameter
-
Gets the help text for this parameter.
- getHolds() - Method in class ExampleEvent1
-
Gets the number of holds on the ship.
- getInteger() - Method in class com.swath.Parameter
-
Gets an integer value.
- getInteger(String) - Static method in class com.swath.Tools
-
Gets the integer value of a given text string.
- getInteger() - Method in class com.swath.UserVariable
-
Gets an integer value.
- getIntegerMax() - Method in class com.swath.Parameter
-
Gets the maximum integer value limit.
- getIntegerMin() - Method in class com.swath.Parameter
-
Gets the minimum integer value limit.
- getKey() - Method in class com.swath.event.HotKeyPressed
-
Gets the key that was pressed.
- getKey() - Method in class com.swath.event.HotKeyReleased
-
Gets the key that was released.
- getKeys() - Method in class com.swath.Parameter
-
Gets an enumeration of the choice value keys.
- getMaxStringLength() - Method in class com.swath.Parameter
-
Gets the maximum string length.
- getMessage() - Method in class com.swath.event.FedCommMessage
-
Gets the message text.
- getMessage() - Method in class com.swath.event.PrivateMessage
-
Gets the message text.
- getMessage() - Method in class com.swath.event.SSRadioMessage
-
Gets the message text.
- getMessage() - Method in class com.swath.event.TradeWarsMessage
-
Gets the game message text.
- getModifiers() - Method in class com.swath.event.HotKeyPressed
-
Gets the key modifiers that were in use.
- getModifiers() - Method in class com.swath.event.HotKeyReleased
-
Gets the key modifiers that were in use.
- getName() - Method in interface com.swath.CommandIfc
-
Gets the name of the command.
- getName() - Method in class com.swath.UserDefinedCommand
-
Called by the framework to get the name of the command.
You should override this method.
- getName() - Method in class com.swath.UserDefinedDaemon
-
Called by the framework to get the name of the daemon.
You should override this method.
- getName() - Method in class com.swath.UserDefinedScript
-
Called by the framework to get the name of the script.
You should override this method.
- getName() - Method in class ExampleCommand1
-
- getName() - Method in class ExampleDaemon1
-
- getName() - Method in class ExampleScript1
-
- getName() - Method in class ExampleScript2
-
- getName() - Method in class ExampleScript3
-
- getName() - Method in class ExampleScript4
-
- getName() - Method in class ExampleScript5
-
- getName() - Method in class ExampleScript6
-
- getName() - Method in class ExampleScript7
-
- getName() - Method in class ExampleScript8
-
- GetNavPoints - Class in com.swath.cmd
-
Get the current user NavPoints.
- getNewSector() - Method in class com.swath.event.YouEnteredSector
-
Gets the sector you entered.
- getOldEvent() - Method in class com.swath.event.HistoryEvent
-
Gets the old event that happened in the past.
- getOldSector() - Method in class com.swath.event.YouEnteredSector
-
Gets the sector you left.
- getOwner() - Method in class com.swath.event.YouDestroyedProbe
-
Gets the owner of the ether probe that was destroyed.
- getParams() - Method in interface com.swath.CommandIfc
-
Gets the command parameters.
- getParams() - Method in class com.swath.UserDefinedCommand
-
Gets the command parameters.
- getParams() - Method in class com.swath.UserDefinedScript
-
Gets the script parameters.
- getPlanet() - Method in class com.swath.event.ShipLandedOnPlanet
-
Gets the planet where the ship landed.
- getPlanet() - Method in class com.swath.event.ShipLeftPlanet
-
Gets the planet where the ship left from.
- getPlanet(int) - Static method in class com.swath.Swath
-
Gets a planet.
- getPlanetClass(String) - Static method in class com.swath.Swath
-
Gets a planet class.
- getProductName(int) - Method in class com.swath.Tools
-
Gets the product name for a given product type (Fuel Ore, Organics or Equipment).
- getResource(String) - Static method in class com.swath.Tools
-
Finds a resource with a given name.
- getResource(String) - Method in class com.swath.UserDefinedCommand
-
Finds a resource with a given name.
- getResource(String) - Method in class com.swath.UserDefinedDaemon
-
Finds a resource with a given name.
- getResource(String) - Method in class com.swath.UserDefinedScript
-
Finds a resource with a given name.
- getScriptName() - Static method in class com.swath.Swath
-
Gets the name of the running script.
- getSector() - Method in class com.swath.event.FightersDestroyed
-
Gets the sector where the fighters were destroyed.
- getSector() - Method in class com.swath.event.LimpetActivated
-
Gets the sector where the limpet mine was activated.
- getSector() - Method in class com.swath.event.PhotonWave
-
Gets the sector where the photon wave was detected.
- getSector() - Method in class com.swath.event.ProbeDestroyed
-
Gets the sector where the ether probe was destroyed.
- getSector() - Method in class com.swath.event.ProbeEnteredSector
-
Gets the sector where the ether probe entered.
- getSector() - Method in class com.swath.event.ProbeSelfDestructed
-
Gets the sector where the ether probe self destructed.
- getSector() - Method in class com.swath.event.ShipDockedAtPort
-
Gets the sector where the ship docked at the port.
- getSector() - Method in class com.swath.event.ShipEnteredSector
-
Gets the sector where the ship entered.
- getSector() - Method in class com.swath.event.ShipLandedOnPlanet
-
Gets the sector where the planet is.
- getSector() - Method in class com.swath.event.ShipLeftPlanet
-
Gets the sector where the planet is.
- getSector() - Method in class com.swath.event.ShipLeftPort
-
Gets the sector where the ship left the port.
- getSector() - Method in class com.swath.event.ShipLeftSector
-
Gets the sector that the ship left.
- getSector() - Method in class com.swath.event.TraderClearedBust
-
Gets the sector where the bust was cleared.
- getSector() - Method in class com.swath.event.TraderIsAttacking
-
Gets the sector where the fighters are being attacked.
- getSector() - Method in class com.swath.event.TraderPaidToll
-
Gets the sector where the toll was paid.
- getSector() - Method in class com.swath.event.TraderRetreated
-
Gets the sector that the trader retreated from.
- getSector() - Method in class com.swath.event.YouAreBusted
-
Gets the sector where you got busted.
- getSector() - Method in class com.swath.event.YouDestroyedProbe
-
Gets the sector where the ether probe was destroyed.
- getSector(int) - Static method in class com.swath.Swath
-
Gets a sector.
- getSectors(int[]) - Static method in class com.swath.Swath
-
Gets an array of sectors.
- getSender() - Method in class com.swath.event.FedCommMessage
-
Gets the sender of the message.
- getSender() - Method in class com.swath.event.PrivateMessage
-
Gets the sender of the message.
- getSender() - Method in class com.swath.event.SSRadioMessage
-
Gets the sender of the message.
- getSender() - Method in class com.swath.event.TradeWarsMessage
-
Gets the sender of the game message.
- getShip() - Method in class com.swath.event.ShipDockedAtPort
-
Gets the ship that docked.
- getShip() - Method in class com.swath.event.ShipEnteredSector
-
Gets the ship that entered.
- getShip() - Method in class com.swath.event.ShipLandedOnPlanet
-
Gets the ship that landed.
- getShip() - Method in class com.swath.event.ShipLeftPlanet
-
Gets the ship that left.
- getShip() - Method in class com.swath.event.ShipLeftPort
-
Gets the ship that left.
- getShip() - Method in class com.swath.event.ShipLeftSector
-
Gets the ship that left.
- getShip(int) - Static method in class com.swath.Swath
-
Gets a ship.
- getShipCategory(String) - Static method in class com.swath.Swath
-
Gets a ship category.
- getShipName() - Method in class ExampleEvent1
-
Gets the name of the ship.
- getStartIndex() - Method in class com.swath.Tools.TextRange
-
Gets the start index of the text.
- getString() - Method in class com.swath.Parameter
-
Gets a string value.
- getString() - Method in class com.swath.UserVariable
-
Gets a string value.
- getText() - Method in class com.swath.Parameter
-
Gets the text for this parameter.
- getText(String, Tools.TextRange) - Static method in class com.swath.Tools
-
Gets text from a string given a text range.
- getToll() - Method in class com.swath.event.TraderPaidToll
-
Gets the toll paid by the trader.
- getTrader() - Method in class com.swath.event.FightersDestroyed
-
Gets the trader that destroyed your fighters.
- getTrader() - Method in class com.swath.event.ShipDockedAtPort
-
Gets the trader that docked.
- getTrader() - Method in class com.swath.event.ShipEnteredSector
-
Gets the trader that entered.
- getTrader() - Method in class com.swath.event.ShipLandedOnPlanet
-
Gets the trader that landed.
- getTrader() - Method in class com.swath.event.ShipLeftPlanet
-
Gets the trader that left.
- getTrader() - Method in class com.swath.event.ShipLeftPort
-
Gets the trader that left.
- getTrader() - Method in class com.swath.event.ShipLeftSector
-
Gets the trader that left.
- getTrader() - Method in class com.swath.event.TraderClearedBust
-
Gets the trader that cleared your bust.
- getTrader() - Method in class com.swath.event.TraderEnteredGame
-
Gets the trader that entered the game.
- getTrader() - Method in class com.swath.event.TraderIsAttacking
-
Gets the trader that is attacking the fighters.
- getTrader() - Method in class com.swath.event.TraderLeftGame
-
Gets the trader that left the game.
- getTrader() - Method in class com.swath.event.TraderPaidToll
-
Gets the trader that paid the toll.
- getTrader() - Method in class com.swath.event.TraderPowersUpWeapons
-
Gets the trader that is preparing to attack.
- getTrader() - Method in class com.swath.event.TraderRetreated
-
Gets the trader that retreated from your fighters.
- getTrader() - Method in class com.swath.Identity
-
Returns the trader.
- getTrader(String) - Static method in class com.swath.Swath
-
Gets a trader.
- getType() - Method in class com.swath.Parameter
-
Gets the type of this parameter.
- getType() - Method in class com.swath.UserVariable
-
Gets the type of this user variable.
- getUnexploredSectors() - Static method in class com.swath.Swath
-
Gets an array of all unexplored sectors.
- getUserEvents() - Method in class com.swath.cmd.WaitForEvent
-
Returns the user events.
Used by SWATH only!
- getUserVariable(String, boolean) - Static method in class com.swath.Swath
-
Gets a user variable.
- getValue() - Method in class com.swath.Parameter
-
Gets the value as an object.
- getValue() - Method in class com.swath.UserVariable
-
Gets the value as an object.
- getVisitedSectors() - Static method in class com.swath.Swath
-
Gets an array of all visited sectors.
- getWords(String) - Static method in class com.swath.Tools
-
Splits a given text string into words.
- ICON_ERROR - Static variable in class com.swath.cmd.MessageBox
-
An 'error' icon.
- ICON_EXCLAMATION - Static variable in class com.swath.cmd.MessageBox
-
An 'exclamation' icon.
- ICON_INFORMATION - Static variable in class com.swath.cmd.MessageBox
-
An 'information' icon.
- ICON_QUESTION - Static variable in class com.swath.cmd.MessageBox
-
A 'question' icon.
- ICON_STOP - Static variable in class com.swath.cmd.MessageBox
-
A 'stop' icon.
- ICON_WARNING - Static variable in class com.swath.cmd.MessageBox
-
A 'warning' icon.
- id() - Method in class com.swath.Corporation
-
Gets the corporation identification number.
- id() - Method in class com.swath.Planet
-
Gets the planet identification number.
- id() - Method in class com.swath.Ship
-
Gets the ship identification number.
- id() - Method in class com.swath.Trader
-
Gets the internal trader identification number in SWATH.
- ID_ALIEN - Static variable in class com.swath.Swath
-
This is the trader id for 'Alien'.
- ID_FEDERAL - Static variable in class com.swath.Swath
-
This is the trader id for 'Federation'.
- ID_FERRENGI - Static variable in class com.swath.Swath
-
This is the trader id for 'Ferrengi'.
- ID_NOBODY - Static variable in class com.swath.Swath
-
This is the trader id for 'Nobody'.
- ID_UNKNOWN - Static variable in class com.swath.Swath
-
This is the trader id for 'Unknown'.
- ID_YOU - Static variable in class com.swath.Swath
-
This is your trader id.
- Identity - Class in com.swath
-
This class represents an identity and is either a trader or a corporation.
- InactivityWarning - Class in com.swath.event
-
The InactivityWarning event.
- index() - Method in class com.swath.Bubble
-
Gets the bubble index.
- Info - Class in com.swath
-
This is an abstract base class for information access
used by SWATH.
- initCommand() - Method in class com.swath.cmd.ActiveShipScan
-
- initCommand() - Method in class com.swath.cmd.AttackPort
-
- initCommand() - Method in class com.swath.cmd.AttackShip
-
- initCommand() - Method in class com.swath.cmd.AttackTrader
-
- initCommand() - Method in class com.swath.cmd.BlowUpPlanet
-
- initCommand() - Method in class com.swath.cmd.BuyItems
-
- initCommand() - Method in class com.swath.cmd.BuyShip
-
- initCommand() - Method in class com.swath.cmd.ChangeMilitaryLevel
-
- initCommand() - Method in class com.swath.cmd.ChangePersonalSettings
-
- initCommand() - Method in class com.swath.cmd.ChangeQuasarCannonLevel
-
- initCommand() - Method in class com.swath.cmd.ChangeShipSettings
-
- initCommand() - Method in class com.swath.cmd.CIMDownload
-
- initCommand() - Method in class com.swath.cmd.ClaimPlanet
-
- initCommand() - Method in class com.swath.cmd.ClearAvoidedSectors
-
- initCommand() - Method in class com.swath.cmd.Connect
-
- initCommand() - Method in class com.swath.cmd.DepositCredits
-
- initCommand() - Method in class com.swath.cmd.Disconnect
-
- initCommand() - Method in class com.swath.cmd.DisplayCurrentInfo
-
- initCommand() - Method in class com.swath.cmd.DisplaySector
-
- initCommand() - Method in class com.swath.cmd.DropTakeFighters
-
- initCommand() - Method in class com.swath.cmd.DropTakeMines
-
- initCommand() - Method in class com.swath.cmd.EnterCitadel
-
- initCommand() - Method in class com.swath.cmd.EnterComputer
-
- initCommand() - Method in class com.swath.cmd.EnterCorporateMenu
-
- initCommand() - Method in class com.swath.cmd.EnterTW
-
- initCommand() - Method in class com.swath.cmd.FirePhotonMissile
-
- initCommand() - Method in class com.swath.cmd.GetAvoidedSectors
-
- initCommand() - Method in class com.swath.cmd.GetColonists
-
- initCommand() - Method in class com.swath.cmd.GetNavPoints
-
- initCommand() - Method in class com.swath.cmd.JettisonCargo
-
- initCommand() - Method in class com.swath.cmd.Land
-
- initCommand() - Method in class com.swath.cmd.LandOnStarDock
-
- initCommand() - Method in class com.swath.cmd.LaunchEtherProbe
-
- initCommand() - Method in class com.swath.cmd.LaunchGenesisTorpedo
-
- initCommand() - Method in class com.swath.cmd.LaunchMineDisruptor
-
- initCommand() - Method in class com.swath.cmd.LeaveCitadel
-
- initCommand() - Method in class com.swath.cmd.LeaveComputer
-
- initCommand() - Method in class com.swath.cmd.LeaveCorporateMenu
-
- initCommand() - Method in class com.swath.cmd.LeaveStarDock
-
- initCommand() - Method in class com.swath.cmd.LiftOff
-
- initCommand() - Method in class com.swath.cmd.MakeAnnouncement
-
- initCommand() - Method in class com.swath.cmd.MessageBox
-
- initCommand() - Method in class com.swath.cmd.Move
-
- initCommand() - Method in class com.swath.cmd.MoveColonists
-
- initCommand() - Method in class com.swath.cmd.MoveToNavPoint
-
- initCommand() - Method in class com.swath.cmd.PlanetaryTrade
-
- initCommand() - Method in class com.swath.cmd.PlanetTransport
-
- initCommand() - Method in class com.swath.cmd.PlanetWarp
-
- initCommand() - Method in class com.swath.cmd.PlotCourse
-
- initCommand() - Method in class com.swath.cmd.PortReport
-
- initCommand() - Method in class com.swath.cmd.PrintText
-
- initCommand() - Method in class com.swath.cmd.QuitTW
-
- initCommand() - Method in class com.swath.cmd.ReEnterTW
-
- initCommand() - Method in class com.swath.cmd.RefreshInfo
-
- initCommand() - Method in class com.swath.cmd.ReleaseBeacon
-
- initCommand() - Method in class com.swath.cmd.RemainOvernight
-
- initCommand() - Method in class com.swath.cmd.Rob
-
- initCommand() - Method in class com.swath.cmd.ScanCurrentShip
-
- initCommand() - Method in class com.swath.cmd.ScanPlanets
-
- initCommand() - Method in class com.swath.cmd.ScanSector
-
- initCommand() - Method in class com.swath.cmd.SellShip
-
- initCommand() - Method in class com.swath.cmd.SendCorporateMemo
-
- initCommand() - Method in class com.swath.cmd.SendFedCommMessage
-
- initCommand() - Method in class com.swath.cmd.SendMacro
-
- initCommand() - Method in class com.swath.cmd.SendPrivateMessage
-
- initCommand() - Method in class com.swath.cmd.SendSSRadioMessage
-
- initCommand() - Method in class com.swath.cmd.SetAvoidedSectors
-
- initCommand() - Method in class com.swath.cmd.SetNavPoint
-
- initCommand() - Method in class com.swath.cmd.SetTextMode
-
- initCommand() - Method in class com.swath.cmd.ShowDeployedFighters
-
- initCommand() - Method in class com.swath.cmd.ShowDeployedMines
-
- initCommand() - Method in class com.swath.cmd.ShowPersonalPlanets
-
- initCommand() - Method in class com.swath.cmd.ShowWhoIsPlaying
-
- initCommand() - Method in class com.swath.cmd.ShutOffTractorBeam
-
- initCommand() - Method in class com.swath.cmd.Steal
-
- initCommand() - Method in class com.swath.cmd.TakeLeaveColonists
-
- initCommand() - Method in class com.swath.cmd.TakeLeaveCredits
-
- initCommand() - Method in class com.swath.cmd.TakeLeaveFighters
-
- initCommand() - Method in class com.swath.cmd.TakeLeaveProducts
-
- initCommand() - Method in class com.swath.cmd.TakeLeaveShields
-
- initCommand() - Method in class com.swath.cmd.TowShip
-
- initCommand() - Method in class com.swath.cmd.Trade
-
- initCommand() - Method in class com.swath.cmd.Transport
-
- initCommand() - Method in class com.swath.cmd.TransWarp
-
- initCommand() - Method in class com.swath.cmd.UpgradePlanet
-
- initCommand() - Method in class com.swath.cmd.UpgradePort
-
- initCommand() - Method in class com.swath.cmd.UserAlert
-
- initCommand() - Method in class com.swath.cmd.UserChoice
-
- initCommand() - Method in class com.swath.cmd.UserChoiceList
-
- initCommand() - Method in class com.swath.cmd.UserInput
-
- initCommand() - Method in class com.swath.cmd.VisualMap
-
- initCommand() - Method in class com.swath.cmd.WaitForEvent
-
- initCommand() - Method in class com.swath.cmd.WaitForPrompt
-
- initCommand() - Method in class com.swath.cmd.WithdrawCredits
-
- initCommand() - Method in class com.swath.UserDefinedCommand
-
Called by the framework to initialise the command.
You should override this method to make your own initialisation.
- initCommand() - Method in class ExampleCommand1
-
- initDaemon() - Method in class com.swath.UserDefinedDaemon
-
Called by the framework to initialise the daemon.
You should override this method to make your own initialisation.
- initDaemon() - Method in class ExampleDaemon1
-
- initHolds() - Method in class com.swath.ShipCategory
-
Gets the initial number of holds for the ship category.
- initInstance() - Method in class com.swath.UserDefinedCommand
-
Initialises a command instance.
Should only be called from static exec()
methods.
- initInstance() - Method in class com.swath.UserDefinedScript
-
Initialises a script instance.
Should only be called from static exec()
methods.
- initScript() - Method in class com.swath.UserDefinedScript
-
Called by the framework to initialise the script.
You should override this method to make your own initialisation.
- initScript() - Method in class ExampleScript1
-
- initScript() - Method in class ExampleScript2
-
- initScript() - Method in class ExampleScript3
-
- initScript() - Method in class ExampleScript4
-
- initScript() - Method in class ExampleScript5
-
- initScript() - Method in class ExampleScript6
-
- initScript() - Method in class ExampleScript7
-
- initScript() - Method in class ExampleScript8
-
- INTEGER - Static variable in class com.swath.Parameter
-
The integer value type.
- INTEGER - Static variable in class com.swath.UserVariable
-
The integer value type.
- isAvoided() - Method in class com.swath.Sector
-
Indicates if the sector is avoided or not.
- isConnected() - Method in class com.swath.MainInfo
-
Indicates if SWATH is connected to a game server or not.
- isCorporation() - Method in class com.swath.Identity
-
Indicates if the identity is a corporation or not.
- isCorpPlanet() - Method in class com.swath.Planet
-
Indicates if the planet is corporate or personal.
- isCorpShip() - Method in class com.swath.Ship
-
Indicates if the ship is corporate or personal.
- isDockedAtPort() - Method in class com.swath.Ship
-
Indicates if the ship is docked at the port or not.
- isDockedAtPort() - Method in class com.swath.Trader
-
Indicates if the trader is docked at the port or not.
- isEmpty() - Method in class com.swath.Sector
-
Indicates if the sector is empty or not.
- isEventClass(Class) - Method in interface com.swath.EventIfc
-
Indicates if this event matches a given event class.
- isEventClass(Class) - Method in class com.swath.UserDefinedEvent
-
- isFedSpace() - Method in class com.swath.Sector
-
Indicates if the sector is located in FedSpace or not.
- isGoldGame() - Method in class com.swath.MainInfo
-
Indicates if the current TradeWars game is Gold enabled.
- isHelperMode() - Method in class com.swath.MainInfo
-
Indicates if the SWATH helper mode is active or not.
- isInterdictorActive() - Method in class com.swath.Planet
-
Indicates if the planet's Interdictor generator is active or not.
- isInterdictorActive() - Method in class com.swath.Ship
-
Indicates if the ship's interdictor generator is active or not.
- isInternal() - Method in class com.swath.cmd.Connect
-
- isInternal() - Method in class com.swath.cmd.Disconnect
-
- isInternal() - Method in class com.swath.cmd.MessageBox
-
- isInternal() - Method in class com.swath.cmd.PrintText
-
- isInternal() - Method in class com.swath.cmd.SetTextMode
-
- isInternal() - Method in class com.swath.cmd.UserAlert
-
- isInternal() - Method in class com.swath.cmd.UserChoice
-
- isInternal() - Method in class com.swath.cmd.UserChoiceList
-
- isInternal() - Method in class com.swath.cmd.UserInput
-
- isInternal() - Method in class com.swath.cmd.VisualMap
-
- isInternal() - Method in class com.swath.cmd.WaitForEvent
-
- isInternal() - Method in interface com.swath.CommandIfc
-
Indicates if this is an internal SWATH command or not.
- isInternal() - Method in class com.swath.UserDefinedCommand
-
- isMBBSGame() - Method in class com.swath.MainInfo
-
Indicates if the current TradeWars game is MBBS enabled.
- isOnline() - Method in class com.swath.Corporation
-
Indicates if some member of this corporation is currently online.
- isOnline() - Method in class com.swath.Trader
-
Indicates if the trader is online or not.
- isParsingText() - Method in class com.swath.MainInfo
-
Indicates if SWATH is parsing incoming text or not.
- isProxyMode() - Method in class com.swath.MainInfo
-
Indicates if the proxy mode is active or not.
- isRealPlayer() - Method in class com.swath.Identity
-
Indicates if this is a real player or a computer controlled trader.
- isRealPlayer() - Method in class com.swath.Trader
-
Indicates if this is a real player or a computer controlled trader.
- isStarDock() - Method in class com.swath.Sector
-
Indicates if the StarDock is located in this sector or not.
- isTextOutputSuppressed() - Method in class com.swath.MainInfo
-
Indicates if text output is suppressed or not.
- isTrader() - Method in class com.swath.Identity
-
Indicates if the identity is a trader or not.
- isUnexplored() - Method in class com.swath.Sector
-
Indicates if the sector is unexplored or not.
- isUnknown() - Method in class com.swath.Identity
-
Indicates if the identity is unknown or not.
- isUserDefined() - Method in interface com.swath.CommandIfc
-
Indicates if this command is user defined or not.
- isUserDefined() - Method in interface com.swath.EventIfc
-
Indicates if this event is user defined or not.
- isUserDefined() - Method in class com.swath.UserDefinedCommand
-
- isUserDefined() - Method in class com.swath.UserDefinedEvent
-
- isValid() - Method in class com.swath.Parameter
-
Indicates if the parameter is valid or not.
- isValid() - Method in class com.swath.UserVariable
-
Indicates if the user variable is valid or not.
- isVisited() - Method in class com.swath.Sector
-
Indicates if the sector has been visited or not.
- isYou() - Method in class com.swath.Identity
-
Indicates if this is you or not.
- isYou() - Method in class com.swath.Trader
-
Indicates if this is you or not.
- isYourCorporation() - Method in class com.swath.Corporation
-
Indicates if this is your corporation or not.
- isYourCorporation() - Method in class com.swath.Identity
-
Indicates if this is your corporation or not.
- Parameter - Class in com.swath
-
This class represents a parameter.
- Parameter() - Constructor for class com.swath.Parameter
-
Constructor.
- Parameter(String) - Constructor for class com.swath.Parameter
-
Constructor.
- parseText(String, String) - Static method in class com.swath.Tools
-
Parses a text string using a given pattern.
- partOfMajorSpaceLane() - Method in class com.swath.Sector
-
Indicates if the sector is part of a major space lane or not.
- password() - Method in class com.swath.MainInfo
-
Gets the current game password.
- PERSONAL - Static variable in class com.swath.Swath
-
The personal owner type.
- PHOTON_MISSILES - Static variable in class com.swath.cmd.BuyItems
-
The 'Photon Missiles' item type.
- photonMissiles() - Method in class com.swath.Ship
-
Gets the number of photon missiles on the ship.
- photonMissiles() - Method in class com.swath.ShipCategory
-
Indicates if the ship category can have Photon missiles or not.
- PhotonWave - Class in com.swath.event
-
The PhotonWave event.
- Planet - Class in com.swath
-
This class represents a planet in TW.
- PLANET_PROMPT - Static variable in class com.swath.Swath
-
The planet prompt.
- PLANET_SCANNER - Static variable in class com.swath.cmd.BuyItems
-
The 'Planet Scanner' item type.
- PlanetaryTrade - Class in com.swath.cmd
-
Negotiate a planetary trade agreement at the port in the current sector.
- planetClass() - Method in class com.swath.Planet
-
Gets the planet class.
- PlanetClass - Class in com.swath
-
This class represents a planet class in TW.
- planets() - Method in class com.swath.Sector
-
Gets all the planets in the sector.
- planetScanner() - Method in class com.swath.ShipCategory
-
Indicates if the ship category can have a Planet scanner or not.
- PlanetTransport - Class in com.swath.cmd
-
Transport your ship to another sector using a planet transporter.
- PlanetWarp - Class in com.swath.cmd
-
Warp the current planet to another sector.
- playSoundFile(File) - Static method in class com.swath.Tools
-
Plays the sound from a given file.
- playSoundFileAsync(File) - Static method in class com.swath.Tools
-
Plays the sound from a given file asynchronously.
- playSoundURL(URL) - Static method in class com.swath.Tools
-
Plays the sound from a given URL.
- playSoundURLAsync(URL) - Static method in class com.swath.Tools
-
Plays the sound from a given URL asynchronously.
- PlotCourse - Class in com.swath.cmd
-
Plot the course between two sectors.
- PODDED - Static variable in class com.swath.cmd.AttackTrader
-
The trader left the ship in an escape pod.
- port() - Method in class com.swath.MainInfo
-
Gets the port number of the game server.
- PORT_AVAILABLE - Static variable in class com.swath.Sector
-
There is a port in this sector, ready to use.
- PORT_BLOCKED - Static variable in class com.swath.Sector
-
There seems to be a blocked port in this sector.
- PORT_DESTROYED - Static variable in class com.swath.Sector
-
Warning, there is a destroyed port in this sector.
- PORT_UNDER_CONSTRUCTION - Static variable in class com.swath.Sector
-
There is a port under construction in this sector.
- portAmounts() - Method in class com.swath.Sector
-
Gets the amount of product available at the port for each product type
(Fuel Ore, Organics and Equipment).
- portClass() - Method in class com.swath.Sector
-
Gets the port class.
- portConstructionStatus() - Method in class com.swath.Sector
-
Gets the current construction status of the port.
- portDockingLog() - Method in class com.swath.Sector
-
Gets the name of the last ship that docked at the port.
- portDockingTimestamp() - Method in class com.swath.Sector
-
Gets the timestamp when the last ship docked at the port.
- portInfo() - Method in class com.swath.Sector
-
Gets the port buy/sell information for each product type
(Fuel Ore, Organics and Equipment).
- portMcicValues() - Method in class com.swath.Sector
-
Gets the port MCIC values for each product type (Fuel Ore, Organics and Equipment).
- portName() - Method in class com.swath.Sector
-
Gets the name of the port in the sector.
- portPercentages() - Method in class com.swath.Sector
-
Gets the amount of product available at the port in percentage of the maximal amount
for each product type (Fuel Ore, Organics and Equipment).
- PortReport - Class in com.swath.cmd
-
Get the current port report for a port.
- PortSearchParameters() - Constructor for class com.swath.Tools.PortSearchParameters
-
- portStatus() - Method in class com.swath.Sector
-
Gets the sector port status.
- postEvent(UserDefinedEvent) - Static method in class com.swath.Swath
-
This method posts an event in the SWATH event queue.
- postEvent(UserDefinedEvent) - Method in class com.swath.UserDefinedCommand
-
This method posts an event in the SWATH event queue.
- postEvent(UserDefinedEvent) - Method in class com.swath.UserDefinedDaemon
-
This method posts an event in the SWATH event queue.
- postEvent(UserDefinedEvent) - Method in class com.swath.UserDefinedScript
-
This method posts an event in the SWATH event queue.
- PrintText - Class in com.swath.cmd
-
Print text in the terminal window.
- printTrace(String) - Static method in class com.swath.Swath
-
Print trace text in the SWATH console window.
- printTrace(Exception) - Static method in class com.swath.Swath
-
Print an exception and the complete stack trace
in the SWATH console window.
- printTrace(String) - Method in class com.swath.UserDefinedCommand
-
Print trace text in the SWATH console window.
- printTrace(Exception) - Method in class com.swath.UserDefinedCommand
-
Print an exception and the complete stack trace
in the SWATH console window.
- printTrace(String) - Method in class com.swath.UserDefinedDaemon
-
Print trace text in the SWATH console window.
- printTrace(Exception) - Method in class com.swath.UserDefinedDaemon
-
Print an exception and the complete stack trace
in the SWATH console window.
- printTrace(String) - Method in class com.swath.UserDefinedEvent
-
Print trace text in the SWATH console window.
- printTrace(Exception) - Method in class com.swath.UserDefinedEvent
-
Print an exception and the complete stack trace
in the SWATH console window.
- printTrace(String) - Method in class com.swath.UserDefinedScript
-
Print trace text in the SWATH console window.
- printTrace(Exception) - Method in class com.swath.UserDefinedScript
-
Print an exception and the complete stack trace
in the SWATH console window.
- PrivateMessage - Class in com.swath.event
-
The PrivateMessage event.
- ProbeDestroyed - Class in com.swath.event
-
The ProbeDestroyed event.
- ProbeEnteredSector - Class in com.swath.event
-
The ProbeEnteredSector event.
- ProbeSelfDestructed - Class in com.swath.event
-
The ProbeSelfDestructed event.
- productAmounts() - Method in class com.swath.Planet
-
Gets the amount of products for each product type on the planet
(Fuel Ore, Organics and Equipment).
- prompt() - Method in class com.swath.MainInfo
-
Gets the current prompt.
- PSYCHIC_PROBE - Static variable in class com.swath.cmd.BuyItems
-
The 'Psychic Probe' item type.
- ScanCurrentShip - Class in com.swath.cmd
-
Scans the current ship information.
- ScanPlanets - Class in com.swath.cmd
-
Scan the planets in the current sector using the planet scanner.
- ScanSector - Class in com.swath.cmd
-
Perform a long range scan in the current sector.
- ScriptAborted - Class in com.swath.event
-
The ScriptAborted event.
- ScriptException - Exception in com.swath
-
Script exception.
Thrown when the current script execution fails for some reason.
You can throw this exception from your own script.
- ScriptException(String) - Constructor for exception com.swath.ScriptException
-
Constructor.
- ScriptFinished - Class in com.swath.event
-
The ScriptFinished event.
- sector() - Method in class com.swath.Planet
-
Gets the sector number where the planet is currently located.
- Sector - Class in com.swath
-
This class represents a sector in TW.
- sector() - Method in class com.swath.Sector
-
Gets the sector number.
- sector() - Method in class com.swath.Ship
-
Gets the sector number where the ship is currently located.
- sector - Static variable in class com.swath.Swath
-
Get the current sector information here.
- sector() - Method in class com.swath.Trader
-
Gets the sector number where the trader is currently located.
- sectorNote() - Method in class com.swath.Sector
-
Gets the sector note.
- sectors() - Method in class com.swath.Bubble
-
Gets the bubble sectors.
- sectors() - Method in class com.swath.MainInfo
-
Gets the total number of sectors in the database.
- SectorSearchParameters() - Constructor for class com.swath.Tools.SectorSearchParameters
-
- secure() - Method in class com.swath.Bubble
-
Indicates if the bubble is secure or not.
- SELLING - Static variable in class com.swath.Sector
-
The port is selling this product.
- SellShip - Class in com.swath.cmd
-
Sell a ship at the Shipyards on StarDock.
- SendCorporateMemo - Class in com.swath.cmd
-
Send a memo to your corporation members.
- SendFedCommMessage - Class in com.swath.cmd
-
Send a message on the Federation comm-link.
- SendMacro - Class in com.swath.cmd
-
Send a macro to the TW server.
- SendPrivateMessage - Class in com.swath.cmd
-
Send a private message to a trader.
- SendSSRadioMessage - Class in com.swath.cmd
-
Send a message on the current sub-space radio band.
- sendString(String) - Method in class com.swath.UserDefinedCommand
-
Sends a string to the TW server.
- setAnomaly() - Method in class com.swath.Tools.SectorSearchParameters
-
Search for sectors with anomalies.
- setArmidMines(boolean, int) - Method in class com.swath.Tools.SectorSearchParameters
-
Sets the minimum or maximum number of armid mines to search for.
- setArmidOwner(Identity) - Method in class com.swath.Tools.SectorSearchParameters
-
Search for armid mines with a specific owner.
- SetAvoidedSectors - Class in com.swath.cmd
-
Set new sectors to avoid.
- setBackdoor() - Method in class com.swath.Tools.SectorSearchParameters
-
Search for sectors with backdoors.
- setBeaconText(String) - Method in class com.swath.Tools.SectorSearchParameters
-
Sets the beacon text to search for.
- setBoolean(boolean) - Method in class com.swath.Parameter
-
Sets a boolean value.
- setBoolean(boolean) - Method in class com.swath.UserVariable
-
Sets a boolean value.
- setBufferText(String) - Method in class com.swath.UserDefinedCommand
-
Sets the current text buffer content.
- setBufferText(String) - Method in class com.swath.UserDefinedDaemon
-
Sets the current text buffer content.
- setBufferText(String) - Method in class com.swath.UserDefinedEvent
-
Sets the current text buffer content.
- setCurrentChoice(int) - Method in class com.swath.Parameter
-
Sets the current choice value.
- setDensity(boolean, int) - Method in class com.swath.Tools.SectorSearchParameters
-
Sets the minimum or maximum sector density to search for.
- setDouble(double) - Method in class com.swath.Parameter
-
Sets a double value.
- setDouble(double) - Method in class com.swath.UserVariable
-
Sets a double value.
- setDoubleRange(double, double) - Method in class com.swath.Parameter
-
Sets the double value range.
- setErrorMsg(String) - Static method in class com.swath.Swath
-
Sets the current error message.
- setErrorMsg(Throwable) - Static method in class com.swath.Swath
-
Sets the current error message.
- setExplored() - Method in class com.swath.Tools.SectorSearchParameters
-
Search for sectors that are explored.
- setFighterAmount(boolean, int) - Method in class com.swath.Tools.SectorSearchParameters
-
Sets the minimum or maximum number of fighters to search for.
- setFighterOwner(Identity) - Method in class com.swath.Tools.SectorSearchParameters
-
Search for fighters with a specific owner.
- setFighterType(int) - Method in class com.swath.Tools.SectorSearchParameters
-
Sets the type of fighters to search for.
- setFriendly() - Method in class com.swath.Tools.SectorSearchParameters
-
Search for friendly sectors.
- setHelpText(String) - Method in class com.swath.Parameter
-
Sets the help text for this parameter.
- setHostile() - Method in class com.swath.Tools.SectorSearchParameters
-
Search for hostile sectors.
- setInteger(int) - Method in class com.swath.Parameter
-
Sets an integer value.
- setInteger(int) - Method in class com.swath.UserVariable
-
Sets an integer value.
- setIntegerRange(int, int) - Method in class com.swath.Parameter
-
Sets the integer value range.
- setLimpetMines(boolean, int) - Method in class com.swath.Tools.SectorSearchParameters
-
Sets the minimum or maximum number of limpet mines to search for.
- setLimpetOwner(Identity) - Method in class com.swath.Tools.SectorSearchParameters
-
Search for limpet mines with a specific owner.
- setMaxAmount(int, int) - Method in class com.swath.Tools.PortSearchParameters
-
Sets the maximum amount of a product to search for.
- setMaxPercentage(int, int) - Method in class com.swath.Tools.PortSearchParameters
-
Sets the maximum percentage of a product to search for.
- setMaxStringLength(int) - Method in class com.swath.Parameter
-
Sets the maximum string length.
- setMinAmount(int, int) - Method in class com.swath.Tools.PortSearchParameters
-
Sets the minimum amount of a product to search for.
- setMinPercentage(int, int) - Method in class com.swath.Tools.PortSearchParameters
-
Sets the minimum percentage of a product to search for.
- setNavHaz(boolean, int) - Method in class com.swath.Tools.SectorSearchParameters
-
Sets the minimum or maximum navigational hazard to search for.
- SetNavPoint - Class in com.swath.cmd
-
Set a user NavPoint.
- setPlanets() - Method in class com.swath.Tools.SectorSearchParameters
-
Search for sectors with planets.
- setPortName(String) - Method in class com.swath.Tools.SectorSearchParameters
-
Sets the port name to search for.
- setPortOption(int, boolean) - Method in class com.swath.Tools.PortSearchParameters
-
Sets if the port should be buying or selling a specific product.
- setPortType(int) - Method in class com.swath.Tools.SectorSearchParameters
-
Sets the port type to search for.
- setResult(Object) - Method in class com.swath.UserDefinedCommand
-
Sets the result value that will be returned when the command is finished.
- setSectorNote(String) - Method in class com.swath.Sector
-
Sets the sector note.
- setSectorNote(String) - Method in class com.swath.Tools.SectorSearchParameters
-
Sets the sector note to search for.
- setShips() - Method in class com.swath.Tools.SectorSearchParameters
-
Search for sectors with ships.
- setSpaceName(String) - Method in class com.swath.Tools.SectorSearchParameters
-
Sets the space name to search for.
- setString(String) - Method in class com.swath.Parameter
-
Sets a string value.
- setString(String) - Method in class com.swath.UserVariable
-
Sets a string value.
- setText(String) - Method in class com.swath.Parameter
-
Sets the text for this parameter.
- SetTextMode - Class in com.swath.cmd
-
Set the current text mode.
- setTimer(Date) - Method in class com.swath.UserDefinedDaemon
-
This method sets the timer.
- setTimer(long) - Method in class com.swath.UserDefinedDaemon
-
This method sets the timer to the current time plus the delay.
- setTraders() - Method in class com.swath.Tools.SectorSearchParameters
-
Search for sectors with traders.
- setType(int) - Method in class com.swath.Parameter
-
Sets the type of this parameter.
- setUnexplored() - Method in class com.swath.Tools.SectorSearchParameters
-
Search for sectors that are unexplored.
- setUserDisplayValue(int, String, int, int) - Static method in class com.swath.Swath
-
Sets the user display value on the given row.
- setUserVariable(String, UserVariable, boolean) - Static method in class com.swath.Swath
-
Sets a user variable.
- setVisited() - Method in class com.swath.Tools.SectorSearchParameters
-
Search for sectors that you have visited.
- setWarps(boolean, int) - Method in class com.swath.Tools.SectorSearchParameters
-
Sets the minimum or maximum number of warps to search for.
- SHIELDS - Static variable in class com.swath.cmd.BuyItems
-
The 'Shields' item type.
- shields() - Method in class com.swath.Planet
-
Gets the number of planetary shields.
- shields() - Method in class com.swath.Ship
-
Gets the number of shields on the ship.
- SHIELDS - Static variable in class com.swath.Swath
-
The index and identifier used for Shields.
- Ship - Class in com.swath
-
This class represents a ship in TW.
- ship - Static variable in class com.swath.Swath
-
Get your current ship information here.
- ship() - Method in class com.swath.Trader
-
Gets the trader's current ship.
- shipBaseCost() - Method in class com.swath.ShipCategory
-
Gets the ship base cost for the ship category.
- shipCategory() - Method in class com.swath.Ship
-
Gets the ship category.
- ShipCategory - Class in com.swath
-
This class represents a ship category in TW.
- ShipDockedAtPort - Class in com.swath.event
-
The ShipDockedAtPort event.
- ShipEnteredSector - Class in com.swath.event
-
The ShipEnteredSector event.
- shipHullCost() - Method in class com.swath.ShipCategory
-
Gets the ship hull cost for the ship category.
- ShipLandedOnPlanet - Class in com.swath.event
-
The ShipLandedOnPlanet event.
- ShipLeftPlanet - Class in com.swath.event
-
The ShipLeftPlanet event.
- ShipLeftPort - Class in com.swath.event
-
The ShipLeftPort event.
- ShipLeftSector - Class in com.swath.event
-
The ShipLeftSector event.
- ships() - Method in class com.swath.Sector
-
Gets all the unmanned ships in the sector.
- ShowDeployedFighters - Class in com.swath.cmd
-
Show deployed fighters.
- ShowDeployedMines - Class in com.swath.cmd
-
Show deployed mines.
- ShowPersonalPlanets - Class in com.swath.cmd
-
Show personal planets.
- showUserParamWindow(Panel, int, int) - Method in class com.swath.UserDefinedScript
-
Displays an AWT frame window for script parameter input.
- showUserParamWindow(JPanel, int, int) - Method in class com.swath.UserDefinedScript
-
Displays a Swing frame window for script parameter input.
- ShowWhoIsPlaying - Class in com.swath.cmd
-
Show who is currently playing.
- ShutOffTractorBeam - Class in com.swath.cmd
-
Shut off the tractor beam.
- size() - Method in class com.swath.Bubble
-
Gets the number of sectors behind the gate sector(s).
- skipBufferText(int) - Method in class com.swath.UserDefinedCommand
-
Removes characters from the current text buffer.
- skipBufferText(int) - Method in class com.swath.UserDefinedDaemon
-
Removes characters from the current text buffer.
- skipBufferText(int) - Method in class com.swath.UserDefinedEvent
-
Removes characters from the current text buffer.
- sleep(long) - Method in class com.swath.UserDefinedScript
-
Wait and sleep for a while.
- SPACE - Static variable in class com.swath.cmd.ChangePersonalSettings
-
Space key abort display.
- spaceName() - Method in class com.swath.Sector
-
Gets the name of the space that the sector occupies.
- SSRadioMessage - Class in com.swath.event
-
The SSRadioMessage event.
- stardock() - Method in class com.swath.MainInfo
-
Gets the StarDock location.
- STARDOCK_PROMPT - Static variable in class com.swath.Swath
-
The StarDock prompt.
- startCommand() - Method in class com.swath.UserDefinedCommand
-
Called by the framework to start executing the command.
You should override this method.
Normally you send some text to the TW server and then
handle all incoming text and events using the methods
onText
and onEvent
.
- startCommand() - Method in class ExampleCommand1
-
- status() - Method in class com.swath.Sector
-
Indicates if the sector is friendly, neutral or hostile to you.
- Steal - Class in com.swath.cmd
-
Steal products from the port in the current sector.
- stealDivisor() - Method in class com.swath.GameVariables
-
Gets the steal divisor.
- stealFactor() - Method in class com.swath.GameVariables
-
- stealMinLevel() - Method in class com.swath.GameVariables
-
Gets the lowest amount of units to steal.
- STRING - Static variable in class com.swath.Parameter
-
The string value type.
- STRING - Static variable in class com.swath.UserVariable
-
The string value type.
- Swath - Class in com.swath
-
This is the main SWATH class.
- swathPath() - Method in class com.swath.MainInfo
-
Gets the path to the SWATH installation.
- swathVersion() - Method in class com.swath.MainInfo
-
Gets the current SWATH version.
- TakeLeaveColonists - Class in com.swath.cmd
-
Take or leave colonists on the current planet.
- TakeLeaveCredits - Class in com.swath.cmd
-
Take or leave credits from/to the citadel treasury.
- TakeLeaveFighters - Class in com.swath.cmd
-
Take or leave fighters on the current planet.
- TakeLeaveProducts - Class in com.swath.cmd
-
Take and/or leave products on the current planet.
- TakeLeaveShields - Class in com.swath.cmd
-
Take or leave shields from/to the planetary shield generator.
- TextRange(int, int) - Constructor for class com.swath.Tools.TextRange
-
- timeOnline() - Method in class com.swath.MainInfo
-
Returns how long time SWATH has been connected to the current game server.
- TimeoutException - Exception in com.swath
-
Timeout exception.
Thrown when there is a timeout.
- TimeoutException() - Constructor for exception com.swath.TimeoutException
-
- TimeoutException(String) - Constructor for exception com.swath.TimeoutException
-
- TOLL_FTRS - Static variable in class com.swath.Swath
-
The toll fighter type.
- Tools - Class in com.swath
-
This class contains help functions that can be useful when writing scripts.
- Tools.PortSearchParameters - Class in com.swath
-
This class contains parameters used when searching for ports and port pairs.
- Tools.SectorSearchParameters - Class in com.swath
-
This class contains parameters used when searching for sectors.
- Tools.TextRange - Class in com.swath
-
This class contains the start and end index for a text range.
- toString() - Method in class com.swath.Bubble
-
- toString() - Method in class com.swath.Corporation
-
- toString() - Method in class com.swath.GameVariables
-
- toString() - Method in class com.swath.Parameter
-
Returns a string representation of the parameter.
- toString() - Method in class com.swath.Planet
-
- toString() - Method in class com.swath.PlanetClass
-
- toString() - Method in class com.swath.Sector
-
- toString() - Method in class com.swath.Ship
-
- toString() - Method in class com.swath.ShipCategory
-
- toString() - Method in class com.swath.Tools.PortSearchParameters
-
- toString() - Method in class com.swath.Tools.SectorSearchParameters
-
- toString() - Method in class com.swath.Tools.TextRange
-
- toString() - Method in class com.swath.Trader
-
- toString() - Method in class com.swath.UserVariable
-
Returns a string representation of the user variable.
- towingShip() - Method in class com.swath.Ship
-
Indicates if the ship is towing another ship or not.
- TowShip - Class in com.swath.cmd
-
Tow a ship in the current sector.
- Trade - Class in com.swath.cmd
-
Trade at the port in the current sector.
- tradeFactor() - Method in class com.swath.GameVariables
-
Gets the trade factor.
- tradeInitBuy() - Method in class com.swath.GameVariables
-
Gets the initial buy percentage.
- tradeInitSell() - Method in class com.swath.GameVariables
-
Gets the initial sell percentage.
- tradeInitWorst() - Method in class com.swath.GameVariables
-
Gets the initial worst percentage.
- Trader - Class in com.swath
-
This class represents a trader in TW.
- TraderClearedBust - Class in com.swath.event
-
The TraderClearedBust event.
- TraderEnteredGame - Class in com.swath.event
-
The TraderEnteredGame event.
- TraderIsAttacking - Class in com.swath.event
-
The TraderIsAttacking event.
- TraderLeftGame - Class in com.swath.event
-
The TraderLeftGame event.
- TraderPaidToll - Class in com.swath.event
-
The TraderPaidToll event.
- TraderPowersUpWeapons - Class in com.swath.event
-
The TraderPowersUpWeapons event.
- TraderRetreated - Class in com.swath.event
-
The TraderRetreated event.
- traders() - Method in class com.swath.Sector
-
Gets all the traders in the sector.
- TradeWarsMessage - Class in com.swath.event
-
The TradeWarsMessage event.
- Transport - Class in com.swath.cmd
-
Transport to another ship.
- transportRange() - Method in class com.swath.Planet
-
Gets the current planet transporter range.
- transportRange() - Method in class com.swath.ShipCategory
-
Gets the range of the transporter for the ship category.
- TransWarp - Class in com.swath.cmd
-
TransWarp your ship to another sector.
- transWarpDrive() - Method in class com.swath.Ship
-
Indicates if the ship has a TransWarp drive or not and
gets the type of TransWarp drive if the ship has one.
- transWarpDrive() - Method in class com.swath.ShipCategory
-
Indicates if the ship category can have a TransWarp drive or not.
- treasury() - Method in class com.swath.Planet
-
Gets the amount of credits in the planet treasury.
- turns() - Method in class com.swath.Trader
-
Gets the number of turns that the trader has left.
- turns2warp() - Method in class com.swath.Ship
-
Gets the current number of turns the ship needs to warp.
- turnsPerWarp() - Method in class com.swath.ShipCategory
-
Gets the number of turns per warp for the ship category.
- TWO_SHIP_TW_DRIVE - Static variable in class com.swath.cmd.BuyItems
-
The 'Two Ship TransWarp Drive' item type.
- TWO_SHIP_TWD - Static variable in class com.swath.Ship
-
The ship has a TransWarp drive for two ships.
- twoShipTransWarpRange() - Method in class com.swath.Ship
-
Gets the current range of a two ship TransWarp.
- type() - Method in class com.swath.Bubble
-
Gets the bubble type.
- type() - Method in class com.swath.Planet
-
Gets the planet class type.
- type() - Method in class com.swath.PlanetClass
-
Gets the planet class type.
- type() - Method in class com.swath.Ship
-
Gets the type of the ship.
- type() - Method in class com.swath.ShipCategory
-
Gets the ship type.
- TYPE_ABORT_RETRY_IGNORE - Static variable in class com.swath.cmd.MessageBox
-
'Abort-Retry-Ignore' message box.
- TYPE_ATMOSPHERIC - Static variable in class com.swath.cmd.ChangeQuasarCannonLevel
-
Atmospheric quasar control.
- TYPE_BLACK_HOLE - Static variable in class com.swath.Bubble
-
This is a black hole.
- TYPE_DEAD_END - Static variable in class com.swath.Bubble
-
This is a dead end/tunnel.
- TYPE_ERROR - Static variable in class com.swath.cmd.UserAlert
-
User error alert.
- TYPE_INFORMATION - Static variable in class com.swath.cmd.UserAlert
-
User information alert.
- TYPE_NORMAL - Static variable in class com.swath.Bubble
-
This is a normal bubble.
- TYPE_OK - Static variable in class com.swath.cmd.MessageBox
-
'Ok' message box.
- TYPE_OK_CANCEL - Static variable in class com.swath.cmd.MessageBox
-
'Ok-Cancel' message box.
- TYPE_RETRY_CANCEL - Static variable in class com.swath.cmd.MessageBox
-
'Retry-Cancel' message box.
- TYPE_SECTOR - Static variable in class com.swath.cmd.ChangeQuasarCannonLevel
-
Sector quasar control.
- TYPE_WARNING - Static variable in class com.swath.cmd.UserAlert
-
User warning alert.
- TYPE_YES_NO - Static variable in class com.swath.cmd.MessageBox
-
'Yes-No' message box.
- TYPE_YES_NO_CANCEL - Static variable in class com.swath.cmd.MessageBox
-
'Yes-No-Cancel' message box.