public class HostFields extends Object
Constructor and Description |
---|
HostFields(HostScreen screen)
Creates an array of all host fields.
|
Modifier and Type | Method and Description |
---|---|
void |
add(HostField field)
Adds a host field definition.
|
HostField |
get(int pos)
Gets a host field from a zero-based position.
|
HostField |
get(int x,
int y)
Gets a host field from a X/Y position.
|
HostField[] |
getAll()
Gets a copy of the host fields array.
|
int |
getCount()
Returns the count of host fields.
|
HostField |
getFirst(int pos)
Gets the first host field from a zero-based position.
|
HostField |
getFirst(int x,
int y)
Gets the first host field from a X/Y position.
|
HostField |
getFirstUnprotected()
Gets the first unprotected host field.
|
HostField |
getFromIndex(int index)
Gets a host field from an index.
|
HostField |
getNextUnprotected(int x,
int y)
Gets the next unprotected host field.
|
HostField |
getPreviousUnprotected(int x,
int y)
Gets the previous unprotected host field.
|
public HostFields(HostScreen screen)
public void add(HostField field)
public int getCount()
public HostField[] getAll()
public HostField getFromIndex(int index)
public HostField get(int x, int y)
public HostField get(int pos)
public HostField getFirst(int x, int y)
public HostField getFirst(int pos)
public HostField getFirstUnprotected()
public HostField getPreviousUnprotected(int x, int y)
public HostField getNextUnprotected(int x, int y)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.