|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.swath.Tools.SectorSearchParameters
This class contains parameters used when searching for sectors.
| Constructor Summary | |
Tools.SectorSearchParameters()
|
|
| Method Summary | |
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object obj)
|
void |
setAnomaly()
Search for sectors with anomalies. |
void |
setArmidMines(boolean min,
int amount)
Sets the minimum or maximum number of armid mines to search for. |
void |
setArmidOwner(Identity owner)
Search for armid mines with a specific owner. |
void |
setBackdoor()
Search for sectors with backdoors. |
void |
setBeaconText(java.lang.String text)
Sets the beacon text to search for. |
void |
setDensity(boolean min,
int density)
Sets the minimum or maximum sector density to search for. |
void |
setFighterAmount(boolean min,
int amount)
Sets the minimum or maximum number of fighters to search for. |
void |
setFighterOwner(Identity owner)
Search for fighters with a specific owner. |
void |
setFighterType(int type)
Sets the type of fighters to search for. |
void |
setFriendly()
Search for friendly sectors. |
void |
setHostile()
Search for hostile sectors. |
void |
setLimpetMines(boolean min,
int amount)
Sets the minimum or maximum number of limpet mines to search for. |
void |
setLimpetOwner(Identity owner)
Search for limpet mines with a specific owner. |
void |
setNavHaz(boolean min,
int navHaz)
Sets the minimum or maximum navigational hazard to search for. |
void |
setPlanets()
Search for sectors with planets. |
void |
setPortName(java.lang.String name)
Sets the port name to search for. |
void |
setPortType(int type)
Sets the port type to search for. |
void |
setSectorNote(java.lang.String note)
Sets the sector note to search for. |
void |
setShips()
Search for sectors with ships. |
void |
setSpaceName(java.lang.String name)
Sets the space name to search for. |
void |
setTraders()
Search for sectors with traders. |
void |
setWarps(boolean min,
int warps)
Sets the minimum or maximum number of warps to search for. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Tools.SectorSearchParameters()
| Method Detail |
public java.lang.String toString()
public boolean equals(java.lang.Object obj)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public void setFighterAmount(boolean min,
int amount)
min - true for minimum or false for maximum.amount - The number of fighters.public void setFighterOwner(Identity owner)
owner - The owner of the fighters.public void setFighterType(int type)
type - The type of fighters.Swath.TOLL_FTRS,
Swath.DEFENSIVE_FTRS,
Swath.OFFENSIVE_FTRS,
Swath.MERCHENARY_FTRS
public void setArmidMines(boolean min,
int amount)
min - true for minimum or false for maximum.amount - The number of mines.public void setArmidOwner(Identity owner)
owner - The owner of the armid mines.
public void setLimpetMines(boolean min,
int amount)
min - true for minimum or false for maximum.amount - The number of mines.public void setLimpetOwner(Identity owner)
owner - The owner of the limpet mines.
public void setDensity(boolean min,
int density)
min - true for minimum or false for maximum.density - The density.
public void setNavHaz(boolean min,
int navHaz)
min - true for minimum or false for maximum.navHaz - The navigational hazard percentage.public void setAnomaly()
public void setTraders()
public void setShips()
public void setPlanets()
public void setWarps(boolean min,
int warps)
min - true for minimum or false for maximum.warps - The number of warps.public void setPortType(int type)
| NO_PORT | No port |
| 0 | Class 0 |
| 1 | Class 1 (BBS) |
| 2 | Class 2 (BSB) |
| 3 | Class 3 (SBB) |
| 4 | Class 4 (SSB) |
| 5 | Class 5 (SBS) |
| 6 | Class 6 (BSS) |
| 7 | Class 7 (SSS) |
| 8 | Class 8 (BBB) |
| 9 | StarDock |
| PORT_UNDER_CONSTRUCTION | Port under construction |
| PORT_DESTROYED | Destroyed port |
| PORT_BLOCKED | Blocked port |
type - The port type.Sector.NO_PORT,
Sector.PORT_UNDER_CONSTRUCTION,
Sector.PORT_DESTROYED,
Sector.PORT_BLOCKEDpublic void setHostile()
public void setFriendly()
public void setBackdoor()
public void setSpaceName(java.lang.String name)
name - The space name or a part of the name.public void setPortName(java.lang.String name)
name - The port name or a part of the name.public void setBeaconText(java.lang.String text)
text - The beacon text or a part of the text.public void setSectorNote(java.lang.String note)
note - The sector note or a part of the note.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||