A B C D E F G H I J K L M N O P Q R S T U V W Y

A

ALERT_ERROR - Static variable in class com.swath.Swath
User error alert.
ALERT_INFORMATION - Static variable in class com.swath.Swath
User information alert.
ALERT_WARNING - Static variable in class com.swath.Swath
User warning alert.
ALLIED - Static variable in class com.swath.Swath
The trader/corp is allied with you.
ALL_PROMPTS - Static variable in class com.swath.Swath
All prompts.
ARMID - Static variable in class com.swath.cmd.DropTakeMines
Armid mines.
ARMID - Static variable in class com.swath.cmd.ShowDeployedMines
Armid mines.
ARMID_MINES - Static variable in class com.swath.cmd.BuyItems
The 'Space Mines' item type.
ATOMIC_DETONATORS - Static variable in class com.swath.cmd.BuyItems
The 'Atomic Detonators' item type.
ATTACKED - Static variable in class com.swath.cmd.AttackPort
The port was attacked but still exists.
ATTACKED - Static variable in class com.swath.cmd.AttackShip
The ship was attacked but still got fighters/shields left.
ATTACKED - Static variable in class com.swath.cmd.AttackTrader
The trader was attacked but still got fighters/shields left.
ActiveShipScan - class com.swath.cmd.ActiveShipScan.
Perform an active ship scan.
AttackPort - class com.swath.cmd.AttackPort.
Attack the port in the current sector.
AttackShip - class com.swath.cmd.AttackShip.
Attack or capture an unmanned ship.
AttackTrader - class com.swath.cmd.AttackTrader.
Attack a trader.
addChoice(int, String) - Method in class com.swath.Parameter
Adds a choice value.
alignment() - Method in class com.swath.Trader
Gets the trader's alignment.
anomaly() - Method in class com.swath.Sector
Indicates if there is an anomaly in the sector or not.
armidMines() - Method in class com.swath.Sector
Gets the number of armid mines in the sector.
armidMines() - Method in class com.swath.Ship
Gets the number of armid mines on the ship.
armidOwner() - Method in class com.swath.Sector
Gets the owner of the armid mines in this sector.
atPrompt(int) - Method in class com.swath.UserDefinedCommand
Checks if you are at any of the valid prompts.
atPrompt(int) - Method in class com.swath.UserDefinedScript
Checks if you are at any of the valid prompts.
atStarDock() - Method in class com.swath.event.ShipDockedAtPort
Indicates if the ship docked at the StarDock or not.
atomicDevices() - Method in class com.swath.Ship
Gets the number of atomic detonators on the ship.

B

BOOLEAN - Static variable in class com.swath.Parameter
The boolean value type.
BOOLEAN - Static variable in class com.swath.UserVariable
The boolean value type.
BOTH_WAY - Static variable in class com.swath.Sector
Indicates a warp that can be used both ways.
BUTTON_CANCEL - Static variable in class com.swath.cmd.UserChoice
Cancel button pressed.
BUTTON_FIRST - Static variable in class com.swath.cmd.UserChoice
First button pressed.
BUTTON_SECOND - Static variable in class com.swath.cmd.UserChoice
Second button pressed.
BUTTON_THIRD - Static variable in class com.swath.cmd.UserChoice
Third button pressed.
BUYING - Static variable in class com.swath.Sector
The port is buying this product.
BlowUpPlanet - class com.swath.cmd.BlowUpPlanet.
Blow up the planet you are currently on.
Bubble - class com.swath.Bubble.
This class represents a bubble in TW.
BuyItems - class com.swath.cmd.BuyItems.
Buy items from StarDock or a class 0 port.
BuyShip - class com.swath.cmd.BuyShip.
Buy a new ship at the Shipyards on StarDock.
backdoorSectors() - Method in class com.swath.Sector
Gets the backdoor sectors for this sector (if any).
basicHoldCost() - Method in class com.swath.ShipCategory
Gets the basic hold cost for the ship category.
beaconMessage() - Method in class com.swath.Sector
Indicates if there is a beacon in the sector or not.
beacons() - Method in class com.swath.Ship
Gets the number of marker beacons on the ship.
brand() - Method in class com.swath.Ship
Gets the brand of the ship.
bubbles() - Method in class com.swath.Sector
Gets all the bubbles that the sector is part of.
busted() - Method in class com.swath.Sector
Indicates if you are busted at the port in this sector or not.

C

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.Swath
The index and identifier used for Cargo holds.
CARGO_HOLDS - Static variable in class com.swath.cmd.BuyItems
The 'Cargo Holds' item type.
CHOICE - Static variable in class com.swath.Parameter
The choice value type.
CIMDownload - class com.swath.cmd.CIMDownload.
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.
CLOAKING_DEVICES - Static variable in class com.swath.cmd.BuyItems
The 'Cloaking Devices' item type.
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_BLUE - Static variable in class com.swath.cmd.SetTextMode
Color blue.
COLOR_CYAN - Static variable in class com.swath.cmd.SetTextMode
Color cyan.
COLOR_GREEN - Static variable in class com.swath.cmd.SetTextMode
Color green.
COLOR_MAGENTA - Static variable in class com.swath.cmd.SetTextMode
Color magenta.
COLOR_RED - Static variable in class com.swath.cmd.SetTextMode
Color red.
COLOR_WHITE - Static variable in class com.swath.cmd.SetTextMode
Color white.
COLOR_YELLOW - Static variable in class com.swath.cmd.SetTextMode
Color yellow.
COMMAND_PROMPT - Static variable in class com.swath.Swath
The command prompt.
COMPUTER_PROMPT - Static variable in class com.swath.Swath
The computer command prompt.
CORBOMITE_DEVICES - Static variable in class com.swath.cmd.BuyItems
The 'Corbomite Devices' item type.
CORPORATE - Static variable in class com.swath.Swath
The corporate owner type.
CORP_PROMPT - Static variable in class com.swath.Swath
The corporate command prompt.
ChangeMilitaryLevel - class com.swath.cmd.ChangeMilitaryLevel.
Change the planet military reaction level.
ChangePersonalSettings - class com.swath.cmd.ChangePersonalSettings.
Change your personal settings.
ChangeQuasarCannonLevel - class com.swath.cmd.ChangeQuasarCannonLevel.
Change a planet quasar cannon level.
ChangeShipSettings - class com.swath.cmd.ChangeShipSettings.
Change the ship settings.
ClaimPlanet - class com.swath.cmd.ClaimPlanet.
Claim ownership of the planet you are currently on.
ClearAvoidedSectors - class com.swath.cmd.ClearAvoidedSectors.
Clear avoided sectors.
CommandException - exception com.swath.CommandException.
Command exception.
CommandException(CommandIfc, String) - Constructor for class com.swath.CommandException
Constructor.
CommandIfc - interface com.swath.CommandIfc.
This is the Command interface.
Connect - class com.swath.cmd.Connect.
Connect to the TW game server.
Connected - class com.swath.event.Connected.
The Connected event.
Corporation - class com.swath.Corporation.
This class represents a corporation in TW.
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.
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.
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.
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.
colos2build1() - Method in class com.swath.PlanetClass
Gets the number of colonists needed to build one unit of each product type (Fuel Ore, Organics, Equipment and Fighters).
com.swath - package com.swath
 
com.swath.cmd - package com.swath.cmd
 
com.swath.event - package com.swath.event
 
computerCost() - Method in class com.swath.ShipCategory
Gets the computer cost for the ship category.
corbomite() - Method in class com.swath.Ship
Gets the number of corbomite transducers on the ship.
corp() - Method in class com.swath.Trader
Deprecated. Use the corporation() method instead.
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.

D

DEFENSIVE_FTRS - Static variable in class com.swath.Swath
The defensive fighter type.
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.
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.
DOUBLE - Static variable in class com.swath.Parameter
The double value type.
DOUBLE - Static variable in class com.swath.UserVariable
The double value type.
DaemonException - exception com.swath.DaemonException.
Daemon exception.
DaemonException(String) - Constructor for class com.swath.DaemonException
Constructor.
DamageReport - class com.swath.event.DamageReport.
The DamageReport event.
DepositCredits - class com.swath.cmd.DepositCredits.
Deposit credits in your bank account.
Disconnect - class com.swath.cmd.Disconnect.
Disconnect from the TW game server.
Disconnected - class com.swath.event.Disconnected.
The Disconnected event.
DisconnectedException - exception com.swath.DisconnectedException.
Disconnected exception.
DisconnectedException() - Constructor for class com.swath.DisconnectedException
 
DisconnectedException(String) - Constructor for class com.swath.DisconnectedException
 
DisplayCurrentInfo - class com.swath.cmd.DisplayCurrentInfo.
Display your current trader and ship information.
DisplaySector - class com.swath.cmd.DisplaySector.
Display the current sector.
DropTakeFighters - class com.swath.cmd.DropTakeFighters.
Drop/Take fighters in the current sector.
DropTakeMines - class com.swath.cmd.DropTakeMines.
Drop/Take mines in the current sector.
dateBuilt() - Method in class com.swath.Ship
Gets the date when the ship was built.
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.
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.
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.
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.
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.

E

ENEMY - Static variable in class com.swath.Swath
The trader/corp is an enemy of yours.
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.
EnterCitadel - class com.swath.cmd.EnterCitadel.
Enter the planet citadel.
EnterComputer - class com.swath.cmd.EnterComputer.
Enter the ship computer.
EnterCorporateMenu - class com.swath.cmd.EnterCorporateMenu.
Enter the corporate menu.
EnterTW - class com.swath.cmd.EnterTW.
Enter a TradeWars game.
EventIfc - interface com.swath.EventIfc.
This is the Event interface.
ExampleCommand1 - class ExampleCommand1.
This is my first SWATH command.
ExampleCommand1() - Constructor for class ExampleCommand1
 
ExampleDaemon1 - class ExampleDaemon1.
This is my first SWATH daemon.
ExampleDaemon1() - Constructor for class ExampleDaemon1
 
ExampleEvent1 - class ExampleEvent1.
This is my first SWATH event.
ExampleEvent1() - Constructor for class ExampleEvent1
 
ExampleEvent1(String, int) - Constructor for class ExampleEvent1
Constructs an ExampleEvent1 event.
ExampleScript1 - class ExampleScript1.
This is my first SWATH script.
ExampleScript1() - Constructor for class ExampleScript1
 
ExampleScript2 - class ExampleScript2.
This script trades a product between two ports.
ExampleScript2() - Constructor for class ExampleScript2
 
ExampleScript3 - class ExampleScript3.
This script demonstrate how to retrieve data from SWATH.
ExampleScript3() - Constructor for class ExampleScript3
 
ExampleScript4 - class ExampleScript4.
"The Sector Guard"
Shows how to wait for events and perform actions.
ExampleScript4() - Constructor for class ExampleScript4
 
ExampleScript5 - class ExampleScript5.
This script shows how to create and display your own custom parameter window.
ExampleScript5() - Constructor for class ExampleScript5
 
ExampleScript6 - class ExampleScript6.
This script demonstrates how to play sound files.
ExampleScript6() - Constructor for class ExampleScript6
 
ExampleScript7 - class ExampleScript7.
This script shows how to wait for multiple events.
ExampleScript7() - Constructor for class ExampleScript7
 
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.
enableIncomingText() - Method in class com.swath.UserDefinedDaemon
This method enables processing of incoming text.
endCommand(boolean) - Method in class ExampleCommand1
 
endCommand(boolean) - Method in class com.swath.UserDefinedCommand
Called by the framework when the command is finished.
endDaemon() - Method in class ExampleDaemon1
 
endDaemon() - Method in class com.swath.UserDefinedDaemon
Called by the framework when the daemon is shut down.
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 com.swath.UserDefinedScript
Called by the framework when the script is finished.
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.
etherProbes() - Method in class com.swath.Ship
Gets the number of subspace ether probes on the ship.
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.
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(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.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) - 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(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(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(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, 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(String) - Static method in class com.swath.cmd.PrintTrace
Deprecated. Use the printTrace method instead.
exec(Exception) - Static method in class com.swath.cmd.PrintTrace
Deprecated. Use the printTrace method instead.
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(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(String) - Static method in class com.swath.cmd.SendString
Deprecated. Create a UserDefinedCommand instead of using this command. If you miss a specific command, please send a mail to support@swath.net and let us know.
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.TransWarp
TransWarp your ship to another sector.
exec(Sector) - Static method in class com.swath.cmd.TransWarp
TransWarp your ship to another 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() - 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(String) - Static method in class com.swath.cmd.WaitForText
Deprecated. Create a UserDefinedCommand instead of using this command. If you miss a specific command, please send a mail to support@swath.net and let us know.
exec(String[]) - Static method in class com.swath.cmd.WaitForText
Deprecated. Create a UserDefinedCommand instead of using this command. If you miss a specific command, please send a mail to support@swath.net and let us know.
exec(String, int) - Static method in class com.swath.cmd.WaitForText
Deprecated. Create a UserDefinedCommand instead of using this command. If you miss a specific command, please send a mail to support@swath.net and let us know.
exec(String[], int) - Static method in class com.swath.cmd.WaitForText
Deprecated. Create a UserDefinedCommand instead of using this command. If you miss a specific command, please send a mail to support@swath.net and let us know.
exec(int) - Static method in class com.swath.cmd.WithdrawCredits
Withdraw credits from your bank account.
execCommand(CommandIfc) - Static method in class com.swath.Swath
Executes a command.
execInstance() - Method in class com.swath.UserDefinedCommand
Executes a command instance.
execInstance() - Method in class com.swath.UserDefinedScript
Executes a script instance.
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.

F

FIGHTERS - Static variable in class com.swath.Swath
The index and identifier used for Fighters.
FIGHTERS - Static variable in class com.swath.cmd.BuyItems
The 'Fighters' item type.
FLED - Static variable in class com.swath.cmd.AttackTrader
The trader fled to an adjacent sector.
FRIENDLY - Static variable in class com.swath.Swath
The sector is friendly to you.
FUEL_ORE - Static variable in class com.swath.Swath
The index and indentifier used for Fuel Ore.
FUNC_ABORT_COMMAND - Static variable in class com.swath.Swath
 
FUNC_ABORT_SCRIPT - Static variable in class com.swath.Swath
 
FUNC_ABOUT_SWATH - Static variable in class com.swath.Swath
 
FUNC_ADJACENT_SECTORS - Static variable in class com.swath.Swath
 
FUNC_BUBBLE_FINDER - Static variable in class com.swath.Swath
 
FUNC_BUST_LIST - Static variable in class com.swath.Swath
 
FUNC_COMPILE_JAVA_CODE - Static variable in class com.swath.Swath
 
FUNC_COM_WINDOW - Static variable in class com.swath.Swath
 
FUNC_CONNECT - Static variable in class com.swath.Swath
 
FUNC_COPY - Static variable in class com.swath.Swath
 
FUNC_DEBUG_LEVEL_1 - Static variable in class com.swath.Swath
 
FUNC_DEBUG_LEVEL_2 - Static variable in class com.swath.Swath
 
FUNC_DISCONNECT - Static variable in class com.swath.Swath
 
FUNC_EXIT - Static variable in class com.swath.Swath
 
FUNC_EXPORT - Static variable in class com.swath.Swath
 
FUNC_FIGHTER_LIST - Static variable in class com.swath.Swath
 
FUNC_FIND - Static variable in class com.swath.Swath
 
FUNC_FIND_NEAREST - Static variable in class com.swath.Swath
 
FUNC_FIND_ROUTE - Static variable in class com.swath.Swath
 
FUNC_GAME_INFO - Static variable in class com.swath.Swath
 
FUNC_GAME_NOTES - Static variable in class com.swath.Swath
 
FUNC_GAME_OPTIONS - Static variable in class com.swath.Swath
 
FUNC_GAME_SETTINGS - Static variable in class com.swath.Swath
 
FUNC_GENERATE_CRASH_REPORT - Static variable in class com.swath.Swath
 
FUNC_HELPER_MODE - Static variable in class com.swath.Swath
 
FUNC_HELP_TOPICS - Static variable in class com.swath.Swath
 
FUNC_IMPORT - Static variable in class com.swath.Swath
 
FUNC_INFO_BAR - Static variable in class com.swath.Swath
 
FUNC_JAWS_MODE - Static variable in class com.swath.Swath
 
FUNC_LICENSE_STATUS - Static variable in class com.swath.Swath
 
FUNC_MACRO_LIST - Static variable in class com.swath.Swath
 
FUNC_MINE_LIST - Static variable in class com.swath.Swath
 
FUNC_NEW - Static variable in class com.swath.Swath
 
FUNC_NO_DEBUG - Static variable in class com.swath.Swath
 
FUNC_OPEN - Static variable in class com.swath.Swath
 
FUNC_PARSE_INCOMING_TEXT - Static variable in class com.swath.Swath
 
FUNC_PASTE - Static variable in class com.swath.Swath
 
FUNC_PLANET_LIST - Static variable in class com.swath.Swath
 
FUNC_PLAY_QUICK_MACRO - Static variable in class com.swath.Swath
 
FUNC_PORT_FINDER - Static variable in class com.swath.Swath
 
FUNC_PREFERENCES - Static variable in class com.swath.Swath
 
FUNC_PROXY_MODE - Static variable in class com.swath.Swath
 
FUNC_RECORD_QUICK_MACRO - Static variable in class com.swath.Swath
 
FUNC_RELOAD_ALL_SCRIPTS - Static variable in class com.swath.Swath
 
FUNC_RESET - Static variable in class com.swath.Swath
 
FUNC_RUNNING_SCRIPT_HELP - Static variable in class com.swath.Swath
 
FUNC_SAVE - Static variable in class com.swath.Swath
 
FUNC_SAVE_AS - Static variable in class com.swath.Swath
 
FUNC_SCRIPT_DEBUG_MODE - Static variable in class com.swath.Swath
 
FUNC_SECTOR_FINDER - Static variable in class com.swath.Swath
 
FUNC_SECTOR_INFO - Static variable in class com.swath.Swath
 
FUNC_SECTOR_NOTE - Static variable in class com.swath.Swath
 
FUNC_SHIP_LIST - Static variable in class com.swath.Swath
 
FUNC_STATUS_BAR - Static variable in class com.swath.Swath
 
FUNC_SUPPRESS_TEXT_OUTPUT - Static variable in class com.swath.Swath
 
FUNC_SWATH_FORUMS - Static variable in class com.swath.Swath
 
FUNC_SWATH_HOMEPAGE - Static variable in class com.swath.Swath
 
FUNC_SWATH_WINDOWS - Static variable in class com.swath.Swath
 
FUNC_TIME_INDEX_LOG_MODE - Static variable in class com.swath.Swath
 
FUNC_TRADERS_AND_CORPS - Static variable in class com.swath.Swath
 
FUNC_TRIGGER_LIST - Static variable in class com.swath.Swath
 
FUNC_VISUAL_MAP - Static variable in class com.swath.Swath
 
FedCommMessage - class com.swath.event.FedCommMessage.
The FedCommMessage event.
FightersDestroyed - class com.swath.event.FightersDestroyed.
The FightersDestroyed event.
FirePhotonMissile - class com.swath.cmd.FirePhotonMissile.
Fire a photon missile into a sector.
fighters() - Method in class com.swath.Planet
Gets the number of fighters on the planet.
fighters() - Method in class com.swath.Sector
Gets the number of fighters in this sector.
fighters() - Method in class com.swath.Ship
Gets the number of fighters on the ship.
findPortPairs(Tools.PortSearchParameters, Tools.PortSearchParameters, boolean, int) - Static method in class com.swath.Tools
Finds port pairs in the SWATH database that matches the given parameters.
findPorts(Tools.PortSearchParameters, boolean, int) - Static method in class com.swath.Tools
Finds ports in the SWATH database that matches the given parameters.
findRoute(int, int) - Static method in class com.swath.Tools
Deprecated. Use the other findRoute method instead.
findRoute(int, int, boolean) - Static method in class com.swath.Tools
Finds the route between two sectors by using the SWATH database.
findSectors(Tools.SectorSearchParameters) - Static method in class com.swath.Tools
Finds sectors in the SWATH database that matches the given parameters.
findText(String, String) - Static method in class com.swath.Tools
Searches for a given text in a string.
findText(String, String, String) - Static method in class com.swath.Tools
Searches for a text in a string given its start and end.
ftrDestroyed() - Method in class com.swath.Sector
Indicates if your fighters in this sector has been destroyed and if so, who did destroy them.
ftrOwner() - Method in class com.swath.Sector
Gets the owner of the fighters in this sector.
ftrTimestamp() - Method in class com.swath.Sector
Gets the timestamp when the fighters were placed or first discovered.
ftrType() - Method in class com.swath.Sector
Gets the type of fighters in this sector.
fuel() - Method in class com.swath.Ship
Gets total number of holds with fuel ore.

G

GENESIS_TORPEDOES - Static variable in class com.swath.cmd.BuyItems
The 'Genesis Torpedoes' item type.
GameLoaded - class com.swath.event.GameLoaded.
The GameLoaded event.
GetAvoidedSectors - class com.swath.cmd.GetAvoidedSectors.
Get the current list of avoided sectors.
GetColonists - class com.swath.cmd.GetColonists.
Get colonists from Terra.
GetNavPoints - class com.swath.cmd.GetNavPoints.
Get the current user NavPoints.
gameId() - Method in class com.swath.MainInfo
Gets the current game id letter.
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.
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.
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.
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.
getCommand() - Method in class com.swath.CommandException
Returns the command.
getCommandName() - Method in class com.swath.CommandException
Returns the command name.
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 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 com.swath.UserDefinedScript
Called by the framework to get the description of the script.
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.
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 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 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.
getName() - Method in class com.swath.UserDefinedDaemon
Called by the framework to get the name of the daemon.
getName() - Method in class com.swath.UserDefinedScript
Called by the framework to get the name of the script.
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(int) - Static method in class com.swath.Swath
Gets a planet.
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.
getPlanetClass(String) - Static method in class com.swath.Swath
Gets a planet class.
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(int) - Static method in class com.swath.Swath
Gets a sector.
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.
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(int) - Static method in class com.swath.Swath
Gets a ship.
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.
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.Identity
Returns the trader.
getTrader(String) - Static method in class com.swath.Swath
Gets a 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.
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.
getUserEvents() - Method in class com.swath.cmd.WaitForEvent
Returns the user events.
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.
getWords(String) - Static method in class com.swath.Tools
Splits a given text string into words.

H

HOLO_SCAN - Static variable in class com.swath.cmd.ScanSector
Holographic scan.
HOLO_SCANNER - Static variable in class com.swath.cmd.BuyItems
The 'Holographic Scanner' item type.
HOSTILE - Static variable in class com.swath.Swath
The sector is hostile to you.
HistoryEvent - class com.swath.event.HistoryEvent.
The HistoryEvent event.
HotKeyPressed - class com.swath.event.HotKeyPressed.
The HotKeyPressed event.
HotKeyReleased - class com.swath.event.HotKeyReleased.
The HotKeyReleased event.
hasDensityScanner() - Method in class com.swath.Ship
Indicates if the ship has a density scanner or not.
hasHoloScanner() - Method in class com.swath.Ship
Indicates if the ship has a holographic scanner or not.
hasInterdictor() - Method in class com.swath.Planet
Indicates if the planet has an Interdictor generator or not.
hasInterdictor() - Method in class com.swath.Ship
Indicates if the ship has an interdictor generator or not.
hasPlanetScanner() - Method in class com.swath.Ship
Indicates if the ship has a planet scanner or not.
hasPsychicProbe() - Method in class com.swath.Ship
Indicates if the ship has a psychic probe or not.
holds() - Method in class com.swath.Ship
Gets total number of holds on the ship.
hostname() - Method in class com.swath.MainInfo
Gets the name or IP address of the game server.

I

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_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.
INTEGER - Static variable in class com.swath.Parameter
The integer value type.
INTEGER - Static variable in class com.swath.UserVariable
The integer value type.
Identity - class com.swath.Identity.
This class represents an identity and is either a trader or a corporation.
InactivityWarning - class com.swath.event.InactivityWarning.
The InactivityWarning event.
Info - class com.swath.Info.
This is an abstract base class for information access used by SWATH.
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.
index() - Method in class com.swath.Bubble
Gets the bubble index.
initCommand() - Method in class ExampleCommand1
 
initCommand() - Method in class com.swath.UserDefinedCommand
Called by the framework to initialise the command.
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.CIMDownload
 
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.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.PlanetTransport
 
initCommand() - Method in class com.swath.cmd.PlanetWarp
 
initCommand() - Method in class com.swath.cmd.PlanetaryTrade
 
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.PrintTrace
Deprecated.  
initCommand() - Method in class com.swath.cmd.QuitTW
 
initCommand() - Method in class com.swath.cmd.ReEnterTW
 
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.SendString
Deprecated.  
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.TransWarp
 
initCommand() - Method in class com.swath.cmd.Transport
 
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.WaitForText
Deprecated.  
initCommand() - Method in class com.swath.cmd.WithdrawCredits
 
initDaemon() - Method in class ExampleDaemon1
 
initDaemon() - Method in class com.swath.UserDefinedDaemon
Called by the framework to initialise the daemon.
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.
initInstance() - Method in class com.swath.UserDefinedScript
Initialises a script instance.
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 com.swath.UserDefinedScript
Called by the framework to initialise the script.
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.
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.
isCorporation() - Method in class com.swath.Identity
Indicates if the identity is a corporation or not.
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 interface com.swath.CommandIfc
Indicates if this is an internal SWATH command or not.
isInternal() - Method in class com.swath.UserDefinedCommand
 
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.PrintTrace
Deprecated.  
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
 
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.

J

JettisonCargo - class com.swath.cmd.JettisonCargo.
Jettison all the cargo.

K

KILLED - Static variable in class com.swath.cmd.AttackTrader
The trader was killed and the ship is destroyed.

L

LIMPET - Static variable in class com.swath.cmd.DropTakeMines
Limpet mines.
LIMPET - Static variable in class com.swath.cmd.ShowDeployedMines
Limpet mines.
LIMPET_MINES - Static variable in class com.swath.cmd.BuyItems
The 'Limpet Tracking Mines' item type.
Land - class com.swath.cmd.Land.
Land on a planet in the current sector.
LandOnStarDock - class com.swath.cmd.LandOnStarDock.
Land on the StarDock.
LaunchEtherProbe - class com.swath.cmd.LaunchEtherProbe.
Launch an ether probe.
LaunchGenesisTorpedo - class com.swath.cmd.LaunchGenesisTorpedo.
Launch a genesis torpedo in the current sector.
LaunchMineDisruptor - class com.swath.cmd.LaunchMineDisruptor.
Launch a mine disruptor into a sector.
LeaveCitadel - class com.swath.cmd.LeaveCitadel.
Leave the planet citadel.
LeaveComputer - class com.swath.cmd.LeaveComputer.
Leave the ship computer.
LeaveCorporateMenu - class com.swath.cmd.LeaveCorporateMenu.
Leave the corporate menu.
LeaveStarDock - class com.swath.cmd.LeaveStarDock.
Leave the StarDock.
LiftOff - class com.swath.cmd.LiftOff.
Lift off from the planet.
LimpetActivated - class com.swath.event.LimpetActivated.
The LimpetActivated event.
LimpetWarning - class com.swath.event.LimpetWarning.
The LimpetWarning event.
lastPortUpdate() - Method in class com.swath.Sector
Gets the timestamp when the port information was last updated.
lastRobStealSector() - Method in class com.swath.MainInfo
Gets the last sector where you robbed or stole from the port.
lastSectorUpdate() - Method in class com.swath.Sector
Gets the timestamp when the sector information was last updated.
lastUpdate() - Method in class com.swath.Corporation
Gets the timestamp when the corporation information was last updated.
lastUpdate() - Method in class com.swath.Planet
Gets the timestamp when the planet information was last updated.
lastUpdate() - Method in class com.swath.Ship
Gets the timestamp when the ship information was last updated.
lastUpdate() - Method in class com.swath.Trader
Gets the timestamp when the trader information was last updated.
leftStarDock() - Method in class com.swath.event.ShipLeftPort
Indicates if the ship left the StarDock or not.
level() - Method in class com.swath.Planet
Gets the current planet level: 0 = No citadel 1 = Citadel 2 = Combat computer 3 = Quasar Cannon 4 = TransWarp drive 5 = Shield generator 6 = Interdictor control
limpetMines() - Method in class com.swath.Sector
Gets the number of limpet mines in the sector.
limpetMines() - Method in class com.swath.Ship
Gets the number of limpet mines on the ship.
limpetOwner() - Method in class com.swath.Sector
Gets the owner of the limpet mines in this sector.
longRangeScanner() - Method in class com.swath.ShipCategory
Indicates if the ship category can have a Long range scanner or not.

M

MARKER_BEACONS - Static variable in class com.swath.cmd.BuyItems
The 'Marker Beacons' item type.
MERCHENARY_FTRS - Static variable in class com.swath.Swath
The merchenary fighter type.
MINE_DISRUPTORS - Static variable in class com.swath.cmd.BuyItems
The 'Mine Disruptors' item type.
MODE_BLINK - Static variable in class com.swath.cmd.SetTextMode
Blink mode.
MODE_HIGHLIGHT - Static variable in class com.swath.cmd.SetTextMode
Highlight mode.
MODE_NORMAL - Static variable in class com.swath.cmd.SetTextMode
Normal mode.
MOD_FLAG_ALT - Static variable in class com.swath.event.HotKeyPressed
The ALT modifier flag.
MOD_FLAG_ALT - Static variable in class com.swath.event.HotKeyReleased
The ALT modifier flag.
MOD_FLAG_CTRL - Static variable in class com.swath.event.HotKeyPressed
The CTRL modifier flag.
MOD_FLAG_CTRL - Static variable in class com.swath.event.HotKeyReleased
The CTRL modifier flag.
MOD_FLAG_SHIFT - Static variable in class com.swath.event.HotKeyPressed
The SHIFT modifier flag.
MOD_FLAG_SHIFT - Static variable in class com.swath.event.HotKeyReleased
The SHIFT modifier flag.
MainInfo - class com.swath.MainInfo.
This class contains methods for accessing main game and SWATH information.
MakeAnnouncement - class com.swath.cmd.MakeAnnouncement.
Make an announcement.
MessageBox - class com.swath.cmd.MessageBox.
Display a message box to the user.
Move - class com.swath.cmd.Move.
Move to another sector.
MoveColonists - class com.swath.cmd.MoveColonists.
Move colonists from one product to another on the current planet.
MoveToNavPoint - class com.swath.cmd.MoveToNavPoint.
Move to a given NavPoint.
main - Static variable in class com.swath.Swath
Get main game and SWATH information here.
mainDriveCost() - Method in class com.swath.ShipCategory
Gets the main drive cost for the ship category.
maxAmounts() - Method in class com.swath.PlanetClass
Gets the maximum amount of product that the planet class can have for each product type (Fuel Ore, Organics, Equipment and Fighters).
maxArmidMines() - Method in class com.swath.ShipCategory
Gets the maximum number of Armid mines for the ship category.
maxBeacons() - Method in class com.swath.ShipCategory
Gets the maximum number of Marker beacons for the ship category.
maxFighters() - Method in class com.swath.ShipCategory
Gets the maximum number of fighters for the ship category.
maxFightersPerAttack() - Method in class com.swath.ShipCategory
Gets the maximum number of fighters per attack for the ship category.
maxGenesisTorpedos() - Method in class com.swath.ShipCategory
Gets the maximum number of Genesis torpedos for the ship category.
maxHolds() - Method in class com.swath.ShipCategory
Gets the maximum number of holds for the ship category.
maxShields() - Method in class com.swath.ShipCategory
Gets the maximum number of shields for the ship category.
militaryLevel() - Method in class com.swath.Planet
Gets the current military reaction level (0-100%).
mineDisruptors() - Method in class com.swath.Ship
Gets the number of mine disruptors on the ship.

N

NAV_POINT_1 - Static variable in class com.swath.cmd.MoveToNavPoint
The first user NavPoint.
NAV_POINT_1 - Static variable in class com.swath.cmd.SetNavPoint
The first user NavPoint.
NAV_POINT_2 - Static variable in class com.swath.cmd.MoveToNavPoint
The second user NavPoint.
NAV_POINT_2 - Static variable in class com.swath.cmd.SetNavPoint
The second user NavPoint.
NAV_POINT_3 - Static variable in class com.swath.cmd.MoveToNavPoint
The third user NavPoint.
NAV_POINT_3 - Static variable in class com.swath.cmd.SetNavPoint
The third user NavPoint.
NAV_POINT_4 - Static variable in class com.swath.cmd.MoveToNavPoint
The fourth user NavPoint.
NAV_POINT_4 - Static variable in class com.swath.cmd.SetNavPoint
The fourth user NavPoint.
NAV_POINT_STARDOCK - Static variable in class com.swath.cmd.MoveToNavPoint
The 'StarDock' NavPoint.
NAV_POINT_TERRA - Static variable in class com.swath.cmd.MoveToNavPoint
The 'Terra' NavPoint.
NEUTRAL - Static variable in class com.swath.Swath
The trader/corp/sector is neutral to you.
NEW_LINE - Static variable in class com.swath.cmd.PrintText
The new line character (0x0A).
NO - Static variable in class com.swath.Swath
Indicates 'No'.
NONE - Static variable in class com.swath.Parameter
No value type.
NONE - Static variable in class com.swath.UserVariable
No value type.
NO_ATTACK - Static variable in class com.swath.cmd.AttackPort
No attack was made for some reason.
NO_ATTACK - Static variable in class com.swath.cmd.AttackShip
No attack was made for some reason.
NO_ATTACK - Static variable in class com.swath.cmd.AttackTrader
No attack was made for some reason.
NO_CHANGE - Static variable in class com.swath.Swath
Indicates 'No change'.
NO_PORT - Static variable in class com.swath.Sector
There is no port in this sector.
NO_PROMPT - Static variable in class com.swath.Swath
No prompt.
NO_RADIO - Static variable in class com.swath.cmd.ChangePersonalSettings
No sub-space radio.
NO_TWD - Static variable in class com.swath.Ship
The ship has no TransWarp drive.
N_A - Static variable in class com.swath.Swath
Indicates 'N/A'.
name() - Method in class com.swath.Corporation
Gets the name of the corporation.
name() - Method in class com.swath.Planet
Gets the name of the planet.
name() - Method in class com.swath.PlanetClass
Gets the planet class name.
name() - Method in class com.swath.Ship
Gets the name of the ship.
name() - Method in class com.swath.Trader
Gets the name of the trader.
navHaz() - Method in class com.swath.Sector
Gets the navigational hazard for the sector (0-100%).

O

OFF - Static variable in class com.swath.Swath
Indicates 'Off'.
OFFENSIVE_FTRS - Static variable in class com.swath.Swath
The offensive fighter type.
ON - Static variable in class com.swath.Swath
Indicates 'On'.
ONE_SHIP_TWD - Static variable in class com.swath.Ship
The ship has a TransWarp drive for one ship.
ONE_SHIP_TW_DRIVE - Static variable in class com.swath.cmd.BuyItems
The 'One Ship TransWarp Drive' item type.
ONE_WAY - Static variable in class com.swath.Sector
Indicates a one way warp.
ORGANICS - Static variable in class com.swath.Swath
The index and identifier used for Organics.
offensiveOdds() - Method in class com.swath.ShipCategory
Gets the offensive odds for the ship category.
onEvent(EventIfc) - Method in class ExampleCommand1
 
onEvent(EventIfc) - Method in class ExampleDaemon1
 
onEvent(EventIfc) - Method in class com.swath.UserDefinedCommand
This method is called for each posted event.
onEvent(EventIfc) - Method in class com.swath.UserDefinedDaemon
This method is called for each posted event.
onPlanet() - Method in class com.swath.Ship
If the ship has landed on a planet, this method will return it.
onPlanet() - Method in class com.swath.Trader
If the trader has landed on a planet, this method will return it.
onText(String, String) - Method in class ExampleCommand1
 
onText(String, String) - Method in class ExampleDaemon1
 
onText(String, String) - Method in class ExampleEvent1
 
onText(String, String) - Method in class com.swath.UserDefinedCommand
This method is called when new text has arrived from the game server.
onText(String, String) - Method in class com.swath.UserDefinedDaemon
This method is called when new text has arrived from the game server.
onText(String, String) - Method in class com.swath.UserDefinedEvent
This method is called when new text has arrived from the game server.
onTimer(Date) - Method in class ExampleDaemon1
 
onTimer(Date) - Method in class com.swath.UserDefinedDaemon
This method is called when the timer is triggered.
oneShipTransWarpRange() - Method in class com.swath.Ship
Gets the current range of a one ship TransWarp.
oneWays() - Method in class com.swath.Sector
Indicates if a warp sector is one-way or not.
organics() - Method in class com.swath.Ship
Gets total number of holds with organics.
owner() - Method in class com.swath.Planet
Gets the current planet owner.
owner() - Method in class com.swath.Ship
Gets the current owner of the ship.

P

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.
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.
PODDED - Static variable in class com.swath.cmd.AttackTrader
The trader left the ship in an escape pod.
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.
PSYCHIC_PROBE - Static variable in class com.swath.cmd.BuyItems
The 'Psychic Probe' item type.
Parameter - class com.swath.Parameter.
This class represents a parameter.
Parameter() - Constructor for class com.swath.Parameter
Constructor.
Parameter(String) - Constructor for class com.swath.Parameter
Constructor.
PhotonWave - class com.swath.event.PhotonWave.
The PhotonWave event.
Planet - class com.swath.Planet.
This class represents a planet in TW.
PlanetClass - class com.swath.PlanetClass.
This class represents a planet class in TW.
PlanetTransport - class com.swath.cmd.PlanetTransport.
Transport your ship to another sector using a planet transporter.
PlanetWarp - class com.swath.cmd.PlanetWarp.
Warp the current planet to another sector.
PlanetaryTrade - class com.swath.cmd.PlanetaryTrade.
Negotiate a planetary trade agreement at the port in the current sector.
PlotCourse - class com.swath.cmd.PlotCourse.
Plot the course between two sectors.
PortReport - class com.swath.cmd.PortReport.
Get the current port report for a port.
PrintText - class com.swath.cmd.PrintText.
Print text in the terminal window.
PrintTrace - class com.swath.cmd.PrintTrace.
Deprecated. Use the printTrace methods instead.
PrivateMessage - class com.swath.event.PrivateMessage.
The PrivateMessage event.
ProbeDestroyed - class com.swath.event.ProbeDestroyed.
The ProbeDestroyed event.
ProbeEnteredSector - class com.swath.event.ProbeEnteredSector.
The ProbeEnteredSector event.
ProbeSelfDestructed - class com.swath.event.ProbeSelfDestructed.
The ProbeSelfDestructed event.
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.
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.
planetClass() - Method in class com.swath.Planet
Gets the planet class.
planetScanner() - Method in class com.swath.ShipCategory
Indicates if the ship category can have a Planet scanner or not.
planets() - Method in class com.swath.Sector
Gets all the planets in the 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.
port() - Method in class com.swath.MainInfo
Gets the port number of the game server.
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).
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).
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.
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.
productAmounts() - Method in class com.swath.Planet
Gets the amount of product for each product type on the planet (Fuel Ore, Organics and Equipment).
prompt() - Method in class com.swath.MainInfo
Gets the current prompt.

Q

QuitTW - class com.swath.cmd.QuitTW.
Quit a TradeWars game.
qcAtmosLevel() - Method in class com.swath.Planet
Gets the Quasar cannon atmospheric level (0-100%).
qcSectorLevel() - Method in class com.swath.Planet
Gets the Quasar cannon sector level (0-100%).

R

RES_ABORT - Static variable in class com.swath.cmd.MessageBox
Return value 'Abort'.
RES_CANCEL - Static variable in class com.swath.cmd.MessageBox
Return value 'Cancel'.
RES_IGNORE - Static variable in class com.swath.cmd.MessageBox
Return value 'Ignore'.
RES_NO - Static variable in class com.swath.cmd.MessageBox
Return value 'No'.
RES_OK - Static variable in class com.swath.cmd.MessageBox
Return value 'Ok'.
RES_RETRY - Static variable in class com.swath.cmd.MessageBox
Return value 'Retry'.
RES_YES - Static variable in class com.swath.cmd.MessageBox
Return value 'Yes'.
RETURN_KEY - Static variable in class com.swath.UserDefinedCommand
The return key character (0x0D).
RETURN_KEY - Static variable in class com.swath.cmd.SendString
Deprecated. The return key character (0x0D).
ReEnterTW - class com.swath.cmd.ReEnterTW.
Exit and re-enter a TradeWars game.
ReleaseBeacon - class com.swath.cmd.ReleaseBeacon.
Release a marker beacon in the current sector.
RemainOvernight - class com.swath.cmd.RemainOvernight.
Remain in the citadel overnight.
Rob - class com.swath.cmd.Rob.
Rob the port in the current sector.
rank() - Method in class com.swath.Corporation
Gets the current rank of the corporation.
rank() - Method in class com.swath.Trader
Gets the current rank of the trader.
registerParam(Parameter) - Method in class com.swath.UserDefinedCommand
This method is used to register a command parameter.
registerParam(Parameter) - Method in class com.swath.UserDefinedScript
This method is used to register a script parameter.
relation() - Method in class com.swath.Corporation
Gets the current relation between you and this corporation.
relation() - Method in class com.swath.Trader
Gets the current relation between you and this trader.
removeChoice(int) - Method in class com.swath.Parameter
Removes a choice value.
runScript() - Method in class ExampleScript1
 
runScript() - Method in class ExampleScript2
 
runScript() - Method in class ExampleScript3
 
runScript() - Method in class ExampleScript4
 
runScript() - Method in class ExampleScript5
 
runScript() - Method in class ExampleScript6
 
runScript() - Method in class ExampleScript7
 
runScript() - Method in class com.swath.UserDefinedScript
Called by the framework to run the script.

S

SELLING - Static variable in class com.swath.Sector
The port is selling this product.
SHIELDS - Static variable in class com.swath.Swath
The index and identifier used for Shields.
SHIELDS - Static variable in class com.swath.cmd.BuyItems
The 'Shields' item type.
SSRadioMessage - class com.swath.event.SSRadioMessage.
The SSRadioMessage event.
STARDOCK_PROMPT - Static variable in class com.swath.Swath
The StarDock prompt.
STRING - Static variable in class com.swath.Parameter
The string value type.
STRING - Static variable in class com.swath.UserVariable
The string value type.
ScanCurrentShip - class com.swath.cmd.ScanCurrentShip.
Scans the current ship information.
ScanPlanets - class com.swath.cmd.ScanPlanets.
Scan the planets in the current sector using the planet scanner.
ScanSector - class com.swath.cmd.ScanSector.
Perform a long range scan in the current sector.
ScriptException - exception com.swath.ScriptException.
Script exception.
ScriptException(String) - Constructor for class com.swath.ScriptException
Constructor.
Sector - class com.swath.Sector.
This class represents a sector in TW.
SellShip - class com.swath.cmd.SellShip.
Sell a ship at the Shipyards on StarDock.
SendCorporateMemo - class com.swath.cmd.SendCorporateMemo.
Send a memo to your corporation members.
SendFedCommMessage - class com.swath.cmd.SendFedCommMessage.
Send a message on the Federation comm-link.
SendMacro - class com.swath.cmd.SendMacro.
Send a macro to the TW server.
SendPrivateMessage - class com.swath.cmd.SendPrivateMessage.
Send a private message to a trader.
SendSSRadioMessage - class com.swath.cmd.SendSSRadioMessage.
Send a message on the current sub-space radio band.
SendString - class com.swath.cmd.SendString.
Deprecated. Create a UserDefinedCommand instead of using this command. If you miss a specific command, please send a mail to support@swath.net and let us know.
SetAvoidedSectors - class com.swath.cmd.SetAvoidedSectors.
Set new sectors to avoid.
SetNavPoint - class com.swath.cmd.SetNavPoint.
Set a user NavPoint.
SetTextMode - class com.swath.cmd.SetTextMode.
Set the current text mode.
Ship - class com.swath.Ship.
This class represents a ship in TW.
ShipCategory - class com.swath.ShipCategory.
This class represents a ship category in TW.
ShipDockedAtPort - class com.swath.event.ShipDockedAtPort.
The ShipDockedAtPort event.
ShipEnteredSector - class com.swath.event.ShipEnteredSector.
The ShipEnteredSector event.
ShipLandedOnPlanet - class com.swath.event.ShipLandedOnPlanet.
The ShipLandedOnPlanet event.
ShipLeftPlanet - class com.swath.event.ShipLeftPlanet.
The ShipLeftPlanet event.
ShipLeftPort - class com.swath.event.ShipLeftPort.
The ShipLeftPort event.
ShipLeftSector - class com.swath.event.ShipLeftSector.
The ShipLeftSector event.
ShowDeployedFighters - class com.swath.cmd.ShowDeployedFighters.
Show deployed fighters.
ShowDeployedMines - class com.swath.cmd.ShowDeployedMines.
Show deployed mines.
ShowPersonalPlanets - class com.swath.cmd.ShowPersonalPlanets.
Show personal planets.
ShowWhoIsPlaying - class com.swath.cmd.ShowWhoIsPlaying.
Show who is currently playing.
ShutOffTractorBeam - class com.swath.cmd.ShutOffTractorBeam.
Shut off the tractor beam.
Steal - class com.swath.cmd.Steal.
Steal products from the port in the current sector.
Swath - class com.swath.Swath.
This is the main SWATH class.
sector() - Method in class com.swath.Planet
Gets the sector number where the planet is currently located.
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.
secure() - Method in class com.swath.Bubble
Indicates if the bubble is secure or not.
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.
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.
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.
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.
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.
setUserVariable(String, UserVariable, boolean) - Static method in class com.swath.Swath
Sets a user variable.
setWarps(boolean, int) - Method in class com.swath.Tools.SectorSearchParameters
Sets the minimum or maximum number of warps to search for.
shields() - Method in class com.swath.Planet
Gets the number of planetary shields. 1 planetary shield equals 10 normal shields.
shields() - Method in class com.swath.Ship
Gets the number of shields on the ship.
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.
shipHullCost() - Method in class com.swath.ShipCategory
Gets the ship hull cost for the ship category.
ships() - Method in class com.swath.Sector
Gets all the unmanned ships in the sector.
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.
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.
spaceName() - Method in class com.swath.Sector
Gets the name of the space that the sector occupies.
stardock() - Method in class com.swath.MainInfo
Gets the StarDock location.
startCommand() - Method in class ExampleCommand1
 
startCommand() - Method in class com.swath.UserDefinedCommand
Called by the framework to start executing the command.
status() - Method in class com.swath.Sector
Indicates if the sector is friendly, neutral or hostile to you.
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.

T

TOLL_FTRS - Static variable in class com.swath.Swath
The toll fighter type.
TWO_SHIP_TWD - Static variable in class com.swath.Ship
The ship has a TransWarp drive for two ships.
TWO_SHIP_TW_DRIVE - Static variable in class com.swath.cmd.BuyItems
The 'Two Ship TransWarp Drive' item 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.
TakeLeaveColonists - class com.swath.cmd.TakeLeaveColonists.
Take or leave colonists on the current planet.
TakeLeaveCredits - class com.swath.cmd.TakeLeaveCredits.
Take or leave credits from/to the citadel treasury.
TakeLeaveFighters - class com.swath.cmd.TakeLeaveFighters.
Take or leave fighters on the current planet.
TakeLeaveProducts - class com.swath.cmd.TakeLeaveProducts.
Take and/or leave products on the current planet.
TakeLeaveShields - class com.swath.cmd.TakeLeaveShields.
Take or leave shields from/to the planetary shield generator.
TimeoutException - exception com.swath.TimeoutException.
Timeout exception.
TimeoutException() - Constructor for class com.swath.TimeoutException
 
TimeoutException(String) - Constructor for class com.swath.TimeoutException
 
Tools - class com.swath.Tools.
This class contains help functions that can be useful when writing scripts.
Tools.PortSearchParameters - class com.swath.Tools.PortSearchParameters.
This class contains parameters used when searching for ports and port pairs.
Tools.PortSearchParameters() - Constructor for class com.swath.Tools.PortSearchParameters
 
Tools.SectorSearchParameters - class com.swath.Tools.SectorSearchParameters.
This class contains parameters used when searching for sectors.
Tools.SectorSearchParameters() - Constructor for class com.swath.Tools.SectorSearchParameters
 
Tools.TextRange - class com.swath.Tools.TextRange.
This class contains the start and end index for a text range.
Tools.TextRange(int, int) - Constructor for class com.swath.Tools.TextRange
 
TowShip - class com.swath.cmd.TowShip.
Tow a ship in the current sector.
Trade - class com.swath.cmd.Trade.
Trade at the port in the current sector.
TradeWarsMessage - class com.swath.event.TradeWarsMessage.
The TradeWarsMessage event.
Trader - class com.swath.Trader.
This class represents a trader in TW.
TraderClearedBust - class com.swath.event.TraderClearedBust.
The TraderClearedBust event.
TraderEnteredGame - class com.swath.event.TraderEnteredGame.
The TraderEnteredGame event.
TraderIsAttacking - class com.swath.event.TraderIsAttacking.
The TraderIsAttacking event.
TraderLeftGame - class com.swath.event.TraderLeftGame.
The TraderLeftGame event.
TraderPaidToll - class com.swath.event.TraderPaidToll.
The TraderPaidToll event.
TraderPowersUpWeapons - class com.swath.event.TraderPowersUpWeapons.
The TraderPowersUpWeapons event.
TraderRetreated - class com.swath.event.TraderRetreated.
The TraderRetreated event.
TransWarp - class com.swath.cmd.TransWarp.
TransWarp your ship to another sector.
Transport - class com.swath.cmd.Transport.
Transport to another ship.
timeOnline() - Method in class com.swath.MainInfo
Returns how long time SWATH has been connected to the current game server.
toString() - Method in class com.swath.Bubble
 
toString() - Method in class com.swath.Corporation
 
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.
traders() - Method in class com.swath.Sector
Gets all the traders in the 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.
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.
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.
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.

U

UNKNOWN - Static variable in class com.swath.Swath
Indicates 'Unknown'.
UpgradePlanet - class com.swath.cmd.UpgradePlanet.
Upgrades the current planet to the next level if possible.
UpgradePort - class com.swath.cmd.UpgradePort.
Upgrades the port in the current sector.
UserAbortException - exception com.swath.UserAbortException.
User abort exception.
UserAbortException() - Constructor for class com.swath.UserAbortException
 
UserAbortException(String) - Constructor for class com.swath.UserAbortException
 
UserAlert - class com.swath.cmd.UserAlert.
Display a user alert window to the user and print the text in the SWATH console window.
UserButtonPressed - class com.swath.event.UserButtonPressed.
The UserButtonPressed event.
UserChoice - class com.swath.cmd.UserChoice.
Ask the user to choose between some options in a dialog box.
UserChoiceList - class com.swath.cmd.UserChoiceList.
Ask the user to choose an item from a list in a dialog box.
UserDefinedCommand - class com.swath.UserDefinedCommand.
User Defined Command base class.
UserDefinedCommand() - Constructor for class com.swath.UserDefinedCommand
Constructor.
UserDefinedDaemon - class com.swath.UserDefinedDaemon.
User Defined Daemon base class.
UserDefinedDaemon() - Constructor for class com.swath.UserDefinedDaemon
Constructor.
UserDefinedEvent - class com.swath.UserDefinedEvent.
User Defined Event base class.
UserDefinedEvent() - Constructor for class com.swath.UserDefinedEvent
Constructor.
UserDefinedScript - class com.swath.UserDefinedScript.
User Defined Script base class.
UserDefinedScript() - Constructor for class com.swath.UserDefinedScript
Constructor.
UserInput - class com.swath.cmd.UserInput.
Ask the user to input a text string using a dialog box.
UserVariable - class com.swath.UserVariable.
This class represents a user variable.
UserVariable() - Constructor for class com.swath.UserVariable
Constructor.
upgradeAmountsNeeded() - Method in class com.swath.Planet
Gets the upgrade amount for each product type and the number of colonists needed for upgrading the planet to the next level.
upgradeStatus() - Method in class com.swath.Planet
Gets the current upgrade status of the planet.
user() - Method in class com.swath.Ship
Gets the current user of the ship.
userAlert(String, int) - Static method in class com.swath.Swath
Display a user alert window to the user and print the text in the SWATH console window.
username() - Method in class com.swath.MainInfo
Gets the current game username.

V

VisualMap - class com.swath.cmd.VisualMap.
Control the Visual Map.

W

WITH_YOU - Static variable in class com.swath.Swath
The trader/corp is playing together with you.
WaitForEvent - class com.swath.cmd.WaitForEvent.
Wait for specific event(s).
WaitForPrompt - class com.swath.cmd.WaitForPrompt.
Wait for specific TW prompt(s).
WaitForText - class com.swath.cmd.WaitForText.
Deprecated. Create a UserDefinedCommand instead of using this command. If you miss a specific command, please send a mail to support@swath.net and let us know.
WithdrawCredits - class com.swath.cmd.WithdrawCredits.
Withdraw credits from your bank account.
warpSectors() - Method in class com.swath.Sector
Gets the sectors you can warp to from this sector.
warps() - Method in class com.swath.Sector
Gets the number of warps from this sector.
wasEncrypted() - Method in class com.swath.event.FedCommMessage
Indicates if the message was encrypted or not.
wasEncrypted() - Method in class com.swath.event.PrivateMessage
Indicates if the message was encrypted or not.
wasEncrypted() - Method in class com.swath.event.SSRadioMessage
Indicates if the message was encrypted or not.

Y

YES - Static variable in class com.swath.Swath
Indicates 'Yes'.
YouAreBusted - class com.swath.event.YouAreBusted.
The YouAreBusted event.
YouDestroyedProbe - class com.swath.event.YouDestroyedProbe.
The YouDestroyedProbe event.
YouEnteredGame - class com.swath.event.YouEnteredGame.
The YouEnteredGame event.
YouEnteredSector - class com.swath.event.YouEnteredSector.
The YouEnteredSector event.
YouLeftGame - class com.swath.event.YouLeftGame.
The YouLeftGame event.
you - Static variable in class com.swath.Swath
Get your own trader information here.

A B C D E F G H I J K L M N O P Q R S T U V W Y