E
- value typepublic abstract class AbstractTernaryVennNode<E> extends AbstractVennNode<E>
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_FIRST_LABEL_TEXT
Default label text for the first set,
"First set" . |
static String |
DEFAULT_FIRST_ONLY_LABEL_TEXT
Default label text for the first only view,
"First only" . |
static String |
DEFAULT_FIRST_SECOND_LABEL_TEXT
Default label text for the first second view,
"First and second only" . |
static String |
DEFAULT_FIRST_THIRD_LABEL_TEXT
Default label text for the first third view,
"First and third only" . |
static String |
DEFAULT_INTERSECTION_LABEL_TEXT
Default label text for the intersection view,
"Intersection" . |
static String |
DEFAULT_SECOND_LABEL_TEXT
Default label text for the second set,
"Second set" . |
static String |
DEFAULT_SECOND_ONLY_LABEL_TEXT
Default label text for the second only view,
"Second only" . |
static String |
DEFAULT_SECOND_THIRD_LABEL_TEXT
Default label text for the second third view,
"Second and third only" . |
static String |
DEFAULT_THIRD_LABEL_TEXT
Default label text for the third set,
"Third set" . |
static String |
DEFAULT_THIRD_ONLY_LABEL_TEXT
Default label text for the third only view,
"Third only" . |
static String |
DEFAULT_UNION_LABEL_TEXT
Default label text for the union view,
"Union" . |
FILL_STRATEGY_ASPECT_COVER, FILL_STRATEGY_ASPECT_FIT, FILL_STRATEGY_EXACT_FIT, PROPERTY_BOUNDS, PROPERTY_CHILDREN, PROPERTY_CHILDREN_PICKABLE, PROPERTY_CLIENT_PROPERTIES, PROPERTY_CODE_BOUNDS, PROPERTY_CODE_CHILDREN, PROPERTY_CODE_CHILDREN_PICKABLE, PROPERTY_CODE_CLIENT_PROPERTIES, PROPERTY_CODE_FULL_BOUNDS, PROPERTY_CODE_PAINT, PROPERTY_CODE_PARENT, PROPERTY_CODE_PICKABLE, PROPERTY_CODE_TRANSFORM, PROPERTY_CODE_TRANSPARENCY, PROPERTY_CODE_VISIBLE, PROPERTY_FULL_BOUNDS, PROPERTY_PAINT, PROPERTY_PARENT, PROPERTY_PICKABLE, PROPERTY_TRANSFORM, PROPERTY_TRANSPARENCY, PROPERTY_VISIBLE, SCENE_GRAPH_DELEGATE
NO_SUCH_PAGE, PAGE_EXISTS
Modifier | Constructor and Description |
---|---|
protected |
AbstractTernaryVennNode()
Create a new empty abstract ternary venn diagram node.
|
protected |
AbstractTernaryVennNode(String firstLabelText,
Set<? extends E> first,
String secondLabelText,
Set<? extends E> second,
String thirdLabelText,
Set<? extends E> third)
Create a new abstract ternary venn diagram node with the specified sets.
|
protected |
AbstractTernaryVennNode(TernaryVennModel<E> model)
Create a new abstract ternary venn diagram node with the specified model.
|
Modifier and Type | Method and Description |
---|---|
org.piccolo2d.nodes.PText |
getFirstLabel()
Return the label for the first set.
|
String |
getFirstLabelText()
Return the label text for the first set.
|
org.piccolo2d.nodes.PText |
getFirstOnlyLabel()
Return the label for the first only view.
|
String |
getFirstOnlyLabelText()
Return the label text for the first only view.
|
org.piccolo2d.nodes.PText |
getFirstSecondLabel()
Return the label for the first second view.
|
String |
getFirstSecondLabelText()
Return the label text for the first second view.
|
org.piccolo2d.nodes.PText |
getFirstThirdLabel()
Return the label for the first third view.
|
String |
getFirstThirdLabelText()
Return the label text for the first third view.
|
org.piccolo2d.nodes.PText |
getIntersectionLabel()
Return the label for the intersection view.
|
String |
getIntersectionLabelText()
Return the label text for the intersection view.
|
TernaryVennModel<E> |
getModel()
Return the model for this ternary venn label.
|
org.piccolo2d.nodes.PText |
getSecondLabel()
Return the label for the second set.
|
String |
getSecondLabelText()
Return the label text for the second set.
|
org.piccolo2d.nodes.PText |
getSecondOnlyLabel()
Return the label for the second only view.
|
String |
getSecondOnlyLabelText()
Return the label text for the second only view.
|
org.piccolo2d.nodes.PText |
getSecondThirdLabel()
Return the label for the second third view.
|
String |
getSecondThirdLabelText()
Return the label text for the second third view.
|
org.piccolo2d.nodes.PText |
getThirdLabel()
Return the label for the third set.
|
String |
getThirdLabelText()
Return the label text for the third set.
|
org.piccolo2d.nodes.PText |
getThirdOnlyLabel()
Return the label for the third only view.
|
String |
getThirdOnlyLabelText()
Return the label text for the third only view.
|
org.piccolo2d.nodes.PText |
getUnionLabel()
Return the label for the union view.
|
String |
getUnionLabelText()
Return the label text for the union view.
|
Iterable<org.piccolo2d.nodes.PText> |
labels()
Return the labels for this venn diagram node.
|
void |
setFirstLabelText(String firstLabelText)
Set the label text for the first set to
firstLabelText . |
void |
setFirstOnlyLabelText(String firstOnlyLabelText)
Set the label text for the first only view to
firstOnlyLabelText . |
void |
setFirstSecondLabelText(String firstSecondLabelText)
Set the label text for the first second view to
firstSecondLabelText . |
void |
setFirstThirdLabelText(String firstThirdLabelText)
Set the label text for the first third view to
firstThirdLabelText . |
void |
setIntersectionLabelText(String intersectionLabelText)
Set the label text for the intersection view to
intersectionLabelText . |
void |
setModel(TernaryVennModel<E> model)
Set the model for this ternary venn label to
model . |
void |
setSecondLabelText(String secondLabelText)
Set the label text for the second set to
secondLabelText . |
void |
setSecondOnlyLabelText(String secondOnlyLabelText)
Set the label text for the second only view to
secondOnlyLabelText . |
void |
setSecondThirdLabelText(String secondThirdLabelText)
Set the label text for the second third view to
secondThirdLabelText . |
void |
setThirdLabelText(String thirdLabelText)
Set the label text for the third set to
thirdLabelText . |
void |
setThirdOnlyLabelText(String thirdOnlyLabelText)
Set the label text for the third only view to
thirdOnlyLabelText . |
void |
setUnionLabelText(String unionLabelText)
Set the label text for the union view to
unionLabelText . |
protected abstract void |
updateContents()
Update contents.
|
protected void |
updateLabels()
Update labels.
|
buildLabel, getDisplayLabels, getDisplaySizeLabels, getDisplaySizes, getDisplaySizesForEmptyAreas, labelForNode, labelTextForNode, nodes, setDisplayLabels, setDisplaySizeLabels, setDisplaySizes, setDisplaySizesForEmptyAreas, sizeLabels, viewForNode
addActivity, addAttribute, addChild, addChild, addChildren, addInputEventListener, addPropertyChangeListener, addPropertyChangeListener, animateToBounds, animateToColor, animateToPositionScaleRotation, animateToRelativePosition, animateToTransform, animateToTransparency, animateTransformToBounds, centerBoundsOnPoint, centerFullBoundsOnPoint, clone, computeFullBounds, endResizeBounds, findIntersectingNodes, fireChildPropertyChange, firePropertyChange, fullIntersects, fullPaint, fullPick, getAllNodes, getAllNodes, getAttribute, getAttribute, getBooleanAttribute, getBounds, getBoundsChanged, getBoundsReference, getBoundsVolatile, getChild, getChildBoundsInvalid, getChildBoundsVolatile, getChildPaintInvalid, getChildrenCount, getChildrenIterator, getChildrenPickable, getChildrenReference, getClientProperties, getClientPropertyKeysEnumeration, getDoubleAttribute, getFullBounds, getFullBoundsInvalid, getFullBoundsReference, getGlobalBounds, getGlobalFullBounds, getGlobalRotation, getGlobalScale, getGlobalToLocalTransform, getGlobalTranslation, getHeight, getInputEventListeners, getIntegerAttribute, getInverseTransform, getListenerList, getLocalToGlobalTransform, getName, getOccluded, getOffset, getPaint, getPaintInvalid, getParent, getPickable, getPropertyChangeParentMask, getRoot, getRotation, getScale, getTransform, getTransformReference, getTransparency, getUnionOfChildrenBounds, getVisible, getWidth, getX, getXOffset, getY, getYOffset, globalToLocal, globalToLocal, globalToLocal, indexOfChild, internalUpdateBounds, intersects, invalidateFullBounds, invalidateLayout, invalidatePaint, isAncestorOf, isDescendentOf, isDescendentOfRoot, isOpaque, layoutChildren, lerp, localToGlobal, localToGlobal, localToGlobal, localToParent, localToParent, localToParent, lower, lower, lowerBelow, lowerToBottom, lowerToBottom, offset, paint, paintAfterChildren, parentBoundsChanged, parentToLocal, parentToLocal, parentToLocal, pick, pickAfterChildren, print, print, raise, raise, raiseAbove, raiseToTop, raiseToTop, removeAllChildren, removeChild, removeChild, removeChildren, removeFromParent, removeInputEventListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaintFrom, reparent, replaceWith, resetBounds, rotate, rotateAboutPoint, rotateAboutPoint, rotateInPlace, scale, scaleAboutPoint, scaleAboutPoint, setBounds, setBounds, setBoundsChanged, setChildBoundsInvalid, setChildBoundsVolatile, setChildPaintInvalid, setChildrenPickable, setFullBoundsInvalid, setGlobalRotation, setGlobalScale, setGlobalTranslation, setHeight, setName, setOccluded, setOffset, setOffset, setPaint, setPaintInvalid, setParent, setPickable, setPropertyChangeParentMask, setRotation, setScale, setTransform, setTransparency, setVisible, setWidth, setX, setY, signalBoundsChanged, startResizeBounds, toImage, toImage, toImage, toImage, transformBy, translate, validateFullBounds, validateFullPaint
public static final String DEFAULT_FIRST_LABEL_TEXT
"First set"
.public static final String DEFAULT_SECOND_LABEL_TEXT
"Second set"
.public static final String DEFAULT_THIRD_LABEL_TEXT
"Third set"
.public static final String DEFAULT_FIRST_ONLY_LABEL_TEXT
"First only"
.public static final String DEFAULT_SECOND_ONLY_LABEL_TEXT
"Second only"
.public static final String DEFAULT_THIRD_ONLY_LABEL_TEXT
"Third only"
.public static final String DEFAULT_FIRST_SECOND_LABEL_TEXT
"First and second only"
.public static final String DEFAULT_FIRST_THIRD_LABEL_TEXT
"First and third only"
.public static final String DEFAULT_SECOND_THIRD_LABEL_TEXT
"Second and third only"
.public static final String DEFAULT_INTERSECTION_LABEL_TEXT
"Intersection"
.public static final String DEFAULT_UNION_LABEL_TEXT
"Union"
.protected AbstractTernaryVennNode()
protected AbstractTernaryVennNode(String firstLabelText, Set<? extends E> first, String secondLabelText, Set<? extends E> second, String thirdLabelText, Set<? extends E> third)
firstLabelText
- label text for the first setfirst
- first set, must not be nullsecondLabelText
- label text for the second setsecond
- second set, must not be nullthirdLabelText
- label text for the third setthird
- third set, must not be nullprotected AbstractTernaryVennNode(TernaryVennModel<E> model)
model
- model for this abstract ternary venn diagram node, must not be nullprotected void updateLabels()
AbstractVennNode
updateLabels
in class AbstractVennNode<E>
protected abstract void updateContents()
public final Iterable<org.piccolo2d.nodes.PText> labels()
AbstractVennNode
labels
in class AbstractVennNode<E>
public final TernaryVennModel<E> getModel()
public final void setModel(TernaryVennModel<E> model)
model
.
This is a bound property.
model
- model for this ternary venn label, must not be nullpublic final String getFirstLabelText()
DEFAULT_FIRST_LABEL_TEXT
.public final void setFirstLabelText(String firstLabelText)
firstLabelText
.
This is a bound property.
firstLabelText
- label text for the first setpublic final String getSecondLabelText()
DEFAULT_SECOND_LABEL_TEXT
.public final void setSecondLabelText(String secondLabelText)
secondLabelText
.
This is a bound property.
secondLabelText
- label text for the second setpublic final String getThirdLabelText()
DEFAULT_THIRD_LABEL_TEXT
.public final void setThirdLabelText(String thirdLabelText)
thirdLabelText
.
This is a bound property.
thirdLabelText
- label text for the third setpublic final String getFirstOnlyLabelText()
DEFAULT_FIRST_ONLY_LABEL_TEXT
.public final void setFirstOnlyLabelText(String firstOnlyLabelText)
firstOnlyLabelText
.
This is a bound property.
firstOnlyLabelText
- label text for the first only viewpublic final String getSecondOnlyLabelText()
DEFAULT_SECOND_ONLY_LABEL_TEXT
.public final void setSecondOnlyLabelText(String secondOnlyLabelText)
secondOnlyLabelText
.
This is a bound property.
secondOnlyLabelText
- label text for the second only viewpublic final String getThirdOnlyLabelText()
DEFAULT_THIRD_ONLY_LABEL_TEXT
.public final void setThirdOnlyLabelText(String thirdOnlyLabelText)
thirdOnlyLabelText
.
This is a bound property.
thirdOnlyLabelText
- label text for the third only viewpublic final String getFirstSecondLabelText()
DEFAULT_FIRST_SECOND_LABEL_TEXT
.public final void setFirstSecondLabelText(String firstSecondLabelText)
firstSecondLabelText
.
This is a bound property.
firstSecondLabelText
- label text for the first second viewpublic final String getFirstThirdLabelText()
DEFAULT_FIRST_THIRD_LABEL_TEXT
.public final void setFirstThirdLabelText(String firstThirdLabelText)
firstThirdLabelText
.
This is a bound property.
firstThirdLabelText
- label text for the first third viewpublic final String getSecondThirdLabelText()
DEFAULT_SECOND_THIRD_LABEL_TEXT
.public final void setSecondThirdLabelText(String secondThirdLabelText)
secondThirdLabelText
.
This is a bound property.
secondThirdLabelText
- label text for the second third viewpublic final String getIntersectionLabelText()
DEFAULT_INTERSECTION_LABEL_TEXT
.public final void setIntersectionLabelText(String intersectionLabelText)
intersectionLabelText
.
This is a bound property.
intersectionLabelText
- label text for the intersection viewpublic final String getUnionLabelText()
DEFAULT_UNION_LABEL_TEXT
.public final void setUnionLabelText(String unionLabelText)
unionLabelText
.
This is a bound property.
unionLabelText
- label text for the union viewpublic final org.piccolo2d.nodes.PText getFirstLabel()
setFirstLabelText(String)
and AbstractVennNode.setDisplaySizes(boolean)
to set the label text and whether to display sizes respectively.public final org.piccolo2d.nodes.PText getSecondLabel()
setSecondLabelText(String)
and AbstractVennNode.setDisplaySizes(boolean)
to set the label text and whether to display sizes respectively.public final org.piccolo2d.nodes.PText getThirdLabel()
setThirdLabelText(String)
and AbstractVennNode.setDisplaySizes(boolean)
to set the label text and whether to display sizes respectively.public final org.piccolo2d.nodes.PText getFirstOnlyLabel()
setFirstOnlyLabelText(String)
and AbstractVennNode.setDisplaySizes(boolean)
to set the label text and whether to display sizes respectively.public final org.piccolo2d.nodes.PText getSecondOnlyLabel()
setSecondOnlyLabelText(String)
and AbstractVennNode.setDisplaySizes(boolean)
to set the label text and whether to display sizes respectively.public final org.piccolo2d.nodes.PText getThirdOnlyLabel()
setThirdOnlyLabelText(String)
and AbstractVennNode.setDisplaySizes(boolean)
to set the label text and whether to display sizes respectively.public final org.piccolo2d.nodes.PText getFirstSecondLabel()
setFirstSecondLabelText(String)
and AbstractVennNode.setDisplaySizes(boolean)
to set the label text and whether to display sizes respectively.public final org.piccolo2d.nodes.PText getFirstThirdLabel()
setFirstThirdLabelText(String)
and AbstractVennNode.setDisplaySizes(boolean)
to set the label text and whether to display sizes respectively.public final org.piccolo2d.nodes.PText getSecondThirdLabel()
setSecondThirdLabelText(String)
and AbstractVennNode.setDisplaySizes(boolean)
to set the label text and whether to display sizes respectively.public final org.piccolo2d.nodes.PText getIntersectionLabel()
setIntersectionLabelText(String)
and AbstractVennNode.setDisplaySizes(boolean)
to set the label text and whether to display sizes respectively.public final org.piccolo2d.nodes.PText getUnionLabel()
setUnionLabelText(String)
and AbstractVennNode.setDisplaySizes(boolean)
to set the label text and whether to display sizes respectively.Copyright (c) 2009-2013 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).