|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.umd.cs.jazz.ZSceneGraphObject | +--edu.umd.cs.jazz.ZNode | +--edu.umd.cs.jazz.ZLeaf | +--edu.umd.cs.jazz.ZVisualLeaf | +--venice.ZVisualLeafModelElement | +--venice.ZComponent
A concrete implementation of VComponent interface using Jazz library.
Field Summary | |
private edu.umd.cs.jazz.component.ZLabel |
mComponentLabel
Jazz visual component visualizing the component label |
private edu.umd.cs.jazz.component.ZRectangle |
mComponentRectangle
Jazz visual component visualizing the rectangle around the label |
Fields inherited from class edu.umd.cs.jazz.ZVisualLeaf |
cacheVolatile, visualComponents |
Fields inherited from class edu.umd.cs.jazz.ZNode |
clientProperties, editorFactory, findable, findable_DEFAULT, hasNodeListener, hasNodeListener_DEFAULT, parent, pickable, pickable_DEFAULT, savable, savable_DEFAULT, selectable, selectable_DEFAULT |
Fields inherited from class edu.umd.cs.jazz.ZSceneGraphObject |
bounds, inClone, listenerList, objRefTable, volatileBounds, volatileBounds_DEFAULT |
Constructor Summary | |
ZComponent(java.lang.String inId)
|
Method Summary | |
protected void |
dataChanged()
dataChanged() is called when model element data is changed. subclasses should override this method with a method which modifies the component appearance according to data changes. |
java.awt.geom.Point2D |
getRelationshipConnectPoint()
get the point where relationships should be attached to. |
java.awt.geom.Point2D |
intersectWithLine(java.awt.geom.Line2D inLine)
Intersect this visualization element with a line. |
Methods inherited from class edu.umd.cs.jazz.ZVisualLeaf |
addVisualComponent, addVisualComponents, clearVisualComponents, computeBounds, duplicateObject, getFirstVisualComponent, getNumVisualComponents, getVisualComponent, getVisualComponentBounds, getVisualComponentGlobalBounds, getVisualComponents, getVolatileBounds, indexOf, pick, removeVisualComponent, render, setState, setVisualComponent, setVisualComponent, trimToSize, updateObjectReferences, updateVolatility, writeObject, writeObject, writeObjectRecurse |
Methods inherited from class edu.umd.cs.jazz.ZNode |
|
Methods inherited from class edu.umd.cs.jazz.ZSceneGraphObject |
addMouseListener, addMouseMotionListener, clone, fireEvent, fireMouseEvent, getBounds, getBoundsReference, getListenerList, hasLisenerOfType, hasMouseListener, processMouseEvent, removeEventListener, removeMouseListener, removeMouseMotionListener, reshape, setBounds, setVolatileBounds |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
Methods inherited from interface venice.VModelElement |
addRelationship, addToCompositeRelationshipList, debugDump, getCompositeRelationships, getId, getName, getRelationships, getType, getVisible, getVParent, setName, setType, setVisible |
Field Detail |
private edu.umd.cs.jazz.component.ZLabel mComponentLabel
private edu.umd.cs.jazz.component.ZRectangle mComponentRectangle
Constructor Detail |
public ZComponent(java.lang.String inId)
Method Detail |
protected void dataChanged()
ZVisualLeafModelElement
dataChanged
in class ZVisualLeafModelElement
public java.awt.geom.Point2D getRelationshipConnectPoint()
VModelElement
getRelationshipConnectPoint
in interface VModelElement
venice.VModelElement
public java.awt.geom.Point2D intersectWithLine(java.awt.geom.Line2D inLine)
VModelElement
intersectWithLine
in interface VModelElement
venice.VModelElement
inLine
- the line to calculate intersection with
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |