public class Tile extends NamedEntity implements Comparable<Tile>
Tile
is a
NamedEntity
that may have a location in spaceModifier | Constructor and Description |
---|---|
protected |
Tile() |
|
Tile(int id) |
|
Tile(int id,
String name) |
|
Tile(int id,
String name,
double[] location) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Tile o)
Compares the
ids . |
int |
getId()
Get the unique id of this location.
|
double[] |
getLocation()
Get the the approximate location (as defined by the microscope meta-data).
|
String |
getName()
Get the name of this tile.
|
boolean |
hasLocation()
Is the locations defined?
|
void |
setLocation(double[] location)
Set the approximate location (as defined by the microscope meta-data).
|
void |
setName(String name)
Set the name of this tile.
|
public Tile(int id, String name, double[] location)
public Tile(int id, String name)
public Tile(int id)
protected Tile()
public int getId()
public String getName()
getName
in class NamedEntity
public void setName(String name)
setName
in class NamedEntity
public double[] getLocation()
public void setLocation(double[] location)
location
- public boolean hasLocation()
public int compareTo(Tile o)
ids
.compareTo
in interface Comparable<Tile>
Copyright © 2015–2021 Fiji. All rights reserved.