public class Illumination extends NamedEntity implements Comparable<Illumination>
| Modifier | Constructor and Description |
|---|---|
protected |
Illumination() |
|
Illumination(int id)
Construct an illumination direction with the specified id.
|
|
Illumination(int id,
String name)
Construct an illumination direction with the specified id and name.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Illumination o)
Compares the
ids. |
int |
getId()
Get the unique id of this illumination direction.
|
String |
getName()
Get the name of this illumination direction.
|
void |
setName(String name)
Set the name of this illumination direction.
|
public Illumination(int id,
String name)
id - name - public Illumination(int id)
name is set to the String representation of the id.id - protected Illumination()
public int getId()
public String getName()
getName in class NamedEntitypublic void setName(String name)
setName in class NamedEntitypublic int compareTo(Illumination o)
ids.compareTo in interface Comparable<Illumination>Copyright © 2015–2021 Fiji. All rights reserved.