public class BaseZeissReader.Tag extends Object
Modifier and Type | Field and Description |
---|---|
private int |
category |
private BaseZeissReader.Context |
context |
private int |
index |
private int |
keyid |
private String |
value |
Constructor and Description |
---|
Tag(int index,
BaseZeissReader.Context context)
Constructor.
|
Tag(int keyid,
String value,
BaseZeissReader.Context context)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getCategory() |
int |
getIndex() |
String |
getKey() |
protected String |
getKey(int tagID)
Return the string corresponding to the given ID.
|
int |
getKeyID() |
String |
getValue() |
void |
setCategory(int category) |
void |
setIndex(int index) |
void |
setKey(int keyid) |
void |
setValue(String value) |
String |
toString() |
boolean |
valid()
Check if the tag is valid (key, value and category have been set).
|
private int index
private int keyid
private String value
private int category
private BaseZeissReader.Context context
public Tag(int index, BaseZeissReader.Context context)
index
- the index number of the tag.context
- the context (main, scaling or plane).public Tag(int keyid, String value, BaseZeissReader.Context context)
keyid
- the key number of the tag.value
- the value of the tag.context
- the context (main, scaling or plane).public void setKey(int keyid)
public String getKey()
public int getKeyID()
public void setValue(String value)
public String getValue()
public void setIndex(int index)
public int getIndex()
public void setCategory(int category)
public int getCategory()
public boolean valid()
protected String getKey(int tagID)
Copyright © 2017 Open Microscopy Environment