public class Scalebar
extends java.lang.Object
implements java.lang.AutoCloseable
Modifier and Type | Class and Description |
---|---|
static class |
Scalebar.Reference |
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Modifier | Constructor and Description |
---|---|
protected |
Scalebar(long cPtr,
boolean cMemoryOwn) |
|
Scalebar(Scalebar scalebar) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
delete() |
protected void |
finalize() |
java.util.Optional<Chunk> |
getChunk()
Chunk container, may be null.
|
protected static long |
getCPtr(Scalebar obj) |
int |
getKey()
Scale bar identifier.
|
java.lang.String |
getLabel()
Scale bar label.
|
java.util.Map<java.lang.String,java.lang.String> |
getMeta()
Scale bar meta data.
|
Scalebar.Reference |
getReference()
Scale bar reference data.
|
boolean |
isSelected()
Selects/deselects the scale bar.
|
void |
setLabel(java.lang.String label)
Scale bar label.
|
void |
setMeta(java.util.Map<java.lang.String,java.lang.String> meta)
Scale bar meta data.
|
void |
setReference(Scalebar.Reference reference)
Scale bar reference data.
|
void |
setSelected(boolean state)
Selects/deselects the scale bar.
|
protected Scalebar(long cPtr, boolean cMemoryOwn)
public Scalebar(Scalebar scalebar)
protected static long getCPtr(Scalebar obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public void close()
close
in interface java.lang.AutoCloseable
public int getKey()
public java.util.Optional<Chunk> getChunk()
public void setLabel(java.lang.String label)
public java.lang.String getLabel()
public void setSelected(boolean state)
public boolean isSelected()
public Scalebar.Reference getReference()
public void setReference(Scalebar.Reference reference)
public void setMeta(java.util.Map<java.lang.String,java.lang.String> meta)
public java.util.Map<java.lang.String,java.lang.String> getMeta()