public class HIAnnotation extends HIFoundation
| Constructor and Description |
|---|
HIAnnotation() |
| Modifier and Type | Method and Description |
|---|---|
void |
adjustLabelVisibility(HILabels item)
Hide or show annotaiton attached to points.
|
void |
adjustShapeVisibility(HIShapes item)
Hide or show annotaiton attached to points.
|
void |
destroy()
Destroy the annotation.
|
void |
destroyLabelItem(HILabels item)
Destroy a single item.
|
void |
destroyShapeItem(HIShapes item)
Destroy a single item.
|
HISVGElement |
getGroup() |
HISVGElement |
getLabelsGroup() |
java.lang.Object |
getOptions() |
java.util.HashMap<java.lang.String,java.lang.Object> |
getParams() |
HISVGElement |
getShapesGroup() |
java.lang.Object |
getUserOptions() |
void |
initLabel(HILabels item)
Initialisation of a single label
|
void |
initShape(HIShapes item)
Initialisation of a single shape
|
void |
redrawLabelItem(HILabels item)
Redraw a single item.
|
void |
redrawLabelItem(HILabels item,
boolean animation)
Redraw a single item.
|
void |
redrawLabelItems(java.util.List<HILabels> items) |
void |
redrawLabelItems(java.util.List<HILabels> items,
boolean animation) |
void |
redrawShapeItem(HIShapes item)
Redraw a single item.
|
void |
redrawShapeItem(HIShapes item,
boolean animation)
Redraw a single item.
|
void |
redrawShapeItems(java.util.List<HIShapes> items) |
void |
redrawShapeItems(java.util.List<HIShapes> items,
boolean animation) |
void |
remove()
See HIAnnotations destroy() method
|
void |
setGroup(HISVGElement group)
The group svg element.
|
void |
setLabelsGroup(HISVGElement labelsGroup)
The group svg element of the annotation's labels.
|
void |
setOptions()
Set an annotation options.
|
void |
setOptions(java.lang.Object options)
The options for the annotations.
|
void |
setShapesGroup(HISVGElement shapesGroup)
The group svg element of the annotation's shapes.
|
void |
setUserOptions(java.lang.Object userOptions)
The user options for the annotations.
|
void |
setVisibility()
Set the annotation's visibility.
|
void |
setVisibility(boolean visible)
Set the annotation's visibility.
|
public void adjustLabelVisibility(HILabels item)
public void adjustShapeVisibility(HIShapes item)
public void destroy()
public void destroyLabelItem(HILabels item)
public void destroyShapeItem(HIShapes item)
public HISVGElement getGroup()
public HISVGElement getLabelsGroup()
public java.lang.Object getOptions()
public java.util.HashMap<java.lang.String,java.lang.Object> getParams()
getParams in class HIFoundationpublic HISVGElement getShapesGroup()
public java.lang.Object getUserOptions()
public void initLabel(HILabels item)
public void initShape(HIShapes item)
item - a confg object for a single shapepublic void redrawLabelItem(HILabels item)
public void redrawLabelItem(HILabels item, boolean animation)
public void redrawLabelItems(java.util.List<HILabels> items)
public void redrawLabelItems(java.util.List<HILabels> items, boolean animation)
public void redrawShapeItem(HIShapes item)
public void redrawShapeItem(HIShapes item, boolean animation)
public void redrawShapeItems(java.util.List<HIShapes> items)
public void redrawShapeItems(java.util.List<HIShapes> items, boolean animation)
public void remove()
public void setGroup(HISVGElement group)
public void setLabelsGroup(HISVGElement labelsGroup)
public void setOptions()
public void setOptions(java.lang.Object options)
public void setShapesGroup(HISVGElement shapesGroup)
public void setUserOptions(java.lang.Object userOptions)
public void setVisibility()
public void setVisibility(boolean visible)
visible - Whether to show or hide an annotation. If the param is omitted, the annotation's visibility is toggled.