|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.piccolo.PNode
edu.umd.cs.piccolox.nodes.PComposite
anl.aida.bubble.Bubble
public class Bubble
PNode that represents the bubble in the bubble graph.
Nested Class Summary | |
---|---|
static class |
Bubble.State
|
Nested classes/interfaces inherited from class edu.umd.cs.piccolo.PNode |
---|
edu.umd.cs.piccolo.PNode.PSceneGraphDelegate |
Field Summary | |
---|---|
private float |
alpha
|
private edu.umd.cs.piccolo.nodes.PPath |
highlight
|
private edu.umd.cs.piccolo.nodes.PText |
pText
|
private boolean |
selected
|
private edu.umd.cs.piccolo.nodes.PPath |
shape
|
private Bubble.State |
state
|
private static java.awt.Stroke |
stroke
|
private float |
unselectedAlpha
|
Fields inherited from class edu.umd.cs.piccolo.PNode |
---|
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 |
Fields inherited from interface java.awt.print.Printable |
---|
NO_SUCH_PAGE, PAGE_EXISTS |
Constructor Summary | |
---|---|
Bubble(java.awt.Color color,
float size)
|
Method Summary | |
---|---|
void |
addAttribute(java.lang.Object key,
java.lang.Object value)
|
java.lang.Object |
getAttribute(java.lang.Object key)
|
java.lang.Object |
getAttribute(java.lang.Object key,
java.lang.Object def)
|
edu.umd.cs.piccolo.PNode |
getShape()
|
Bubble.State |
getState()
|
boolean |
isHighlighted()
|
boolean |
isSelected()
|
private void |
resetHighlightOffset()
|
void |
setHighlight(boolean enabled)
|
void |
setSelected(boolean selected)
|
void |
setState(Bubble.State state)
|
void |
update(float px,
float py,
double scale)
|
void |
updateAnimate(float px,
float py,
double scale)
|
Methods inherited from class edu.umd.cs.piccolox.nodes.PComposite |
---|
fullPick |
Methods inherited from class edu.umd.cs.piccolo.PNode |
---|
addActivity, addChild, addChild, addChildren, addClientProperty, addInputEventListener, addPropertyChangeListener, addPropertyChangeListener, animateToBounds, animateToColor, animateToPositionScaleRotation, animateToTransform, animateToTransparency, animateTransformToBounds, centerBoundsOnPoint, centerFullBoundsOnPoint, clone, computeFullBounds, endResizeBounds, findIntersectingNodes, fireChildPropertyChange, firePropertyChange, fullIntersects, fullPaint, getAllNodes, getAllNodes, getBooleanAttribute, getBounds, getBoundsChanged, getBoundsReference, getBoundsVolatile, getChild, getChildBoundsInvalid, getChildBoundsVolatile, getChildPaintInvalid, getChildrenCount, getChildrenIterator, getChildrenPickable, getChildrenReference, getClientProperties, getClientProperty, getClientPropertyKeysEnumeration, getClientPropertyKeysIterator, getDoubleAttribute, getFullBounds, getFullBoundsInvalid, getFullBoundsReference, getGlobalBounds, getGlobalFullBounds, getGlobalRotation, getGlobalScale, getGlobalToLocalTransform, getGlobalTranslation, getHeight, getIntegerAttribute, getInverseTransform, getListenerList, getLocalToGlobalTransform, 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, moveInBackOf, moveInFrontOf, moveToBack, moveToFront, offset, paint, paintAfterChildren, paramString, parentBoundsChanged, parentToLocal, parentToLocal, parentToLocal, pick, pickAfterChildren, position, print, print, 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, setOccluded, setOffset, setOffset, setPaint, setPaintInvalid, setParent, setPickable, setPropertyChangeParentMask, setRotation, setScale, setTransform, setTransparency, setVisible, setWidth, setX, setY, signalBoundsChanged, startResizeBounds, toImage, toImage, toImage, toString, transformBy, translate, validateFullBounds, validateFullPaint |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static java.awt.Stroke stroke
private edu.umd.cs.piccolo.nodes.PPath shape
private edu.umd.cs.piccolo.nodes.PText pText
private edu.umd.cs.piccolo.nodes.PPath highlight
private boolean selected
private float alpha
private float unselectedAlpha
private Bubble.State state
Constructor Detail |
---|
public Bubble(java.awt.Color color, float size)
Method Detail |
---|
public boolean isHighlighted()
public boolean isSelected()
public void setState(Bubble.State state)
public Bubble.State getState()
public void setSelected(boolean selected)
selected
- the selected to setpublic void setHighlight(boolean enabled)
private void resetHighlightOffset()
public void addAttribute(java.lang.Object key, java.lang.Object value)
addAttribute
in class edu.umd.cs.piccolo.PNode
public java.lang.Object getAttribute(java.lang.Object key, java.lang.Object def)
getAttribute
in class edu.umd.cs.piccolo.PNode
public java.lang.Object getAttribute(java.lang.Object key)
getAttribute
in class edu.umd.cs.piccolo.PNode
public edu.umd.cs.piccolo.PNode getShape()
public void updateAnimate(float px, float py, double scale)
public void update(float px, float py, double scale)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |