public class TaggedAxis1D extends Axis1D
TaggedAxisMouseListener1D
must
be added to the GlimpseAxisLayout1D
for the TaggedAxis1D
.
Tags may be visualized by drawing the TaggedAxis1D using a painter from the
com.metsci.glimpse.axis.tagged.painter
package.Constructor and Description |
---|
TaggedAxis1D() |
TaggedAxis1D(Axis1D parent) |
Modifier and Type | Method and Description |
---|---|
void |
addConstraint(Constraint constraint) |
Tag |
addTag(String name,
double value) |
Tag |
addTag(Tag tag) |
void |
applyTagConstraints() |
TaggedAxis1D |
clone() |
Collection<Constraint> |
getAllConstraints() |
List<Tag> |
getSortedTags() |
Tag |
getTag(String id) |
boolean |
isLinkTags() |
void |
removeAllConstraints() |
void |
removeAllTags() |
void |
removeConstraint(String name) |
void |
removeTag(String id) |
void |
setLinkTags(boolean link) |
String |
toString() |
void |
validateTags() |
addAxisListener, applyConstraints, getAbsoluteMax, getAbsoluteMin, getChildren, getLockedAspectAxis, getLockedAspectRatio, getLockMax, getLockMin, getMax, getMaxSpan, getMin, getMinSpan, getMouseValue, getParent, getPixelsPerValue, getSelectionCenter, getSelectionSize, getSizePixels, getUpdateMode, isInitialized, isLockMax, isLockMin, isMaxSpanConstrained, isMinSpanConstrained, isSelectionLocked, lock, lockAspectRatio, lockMax, lockMax, lockMin, lockMin, removeAxisListener, screenPixelToValue, setAbsoluteMax, setAbsoluteMin, setConstrainMaxSpan, setConstrainMinSpan, setInitialized, setLinkChildren, setMax, setMaxSpan, setMin, setMinSpan, setMouseValue, setParent, setParent, setSelectionCenter, setSelectionLock, setSelectionSize, setSizePixels, setSizePixels, setUpdateMode, unlock, unlockAspectRatio, unlockMax, unlockMin, updateLinkedAxes, updateLinkedAxes, validate, valueToScreenPixel, valueToScreenPixelUnits
public TaggedAxis1D(Axis1D parent)
public TaggedAxis1D()
public TaggedAxis1D clone()
public boolean isLinkTags()
public void setLinkTags(boolean link)
public void validateTags()
public void removeTag(String id)
public void removeAllTags()
public void addConstraint(Constraint constraint)
public void removeConstraint(String name)
public Collection<Constraint> getAllConstraints()
public void removeAllConstraints()
public void applyTagConstraints()
Copyright © 2016 Metron, Inc.. All rights reserved.