TWE 2.3-2 API

org.enhydra.jawe.components.graph
Class DefaultGraphBubbleActivityView

java.lang.Object
  extended byorg.jgraph.graph.AbstractCellView
      extended byorg.jgraph.graph.VertexView
          extended byorg.enhydra.jawe.components.graph.DefaultGraphActivityView
              extended byorg.enhydra.jawe.components.graph.DefaultGraphBubbleActivityView
All Implemented Interfaces:
org.jgraph.graph.CellView, GraphActivityViewInterface, java.io.Serializable

public class DefaultGraphBubbleActivityView
extends DefaultGraphActivityView

Represents a view for a model's End object.

Author:
Sasa Bojanic
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.jgraph.graph.VertexView
org.jgraph.graph.VertexView.SizeHandle
 
Field Summary
 
Fields inherited from class org.enhydra.jawe.components.graph.DefaultGraphActivityView
renderers
 
Fields inherited from class org.jgraph.graph.VertexView
bounds, defaultBounds, defaultCursors, renderer, xCursors, yCursors
 
Fields inherited from class org.jgraph.graph.AbstractCellView
allAttributes, attributes, cell, cellEditor, childViews, groupBounds, parent
 
Constructor Summary
DefaultGraphBubbleActivityView(java.lang.Object cell)
          Constructs a End view for the specified model object.
 
Method Summary
protected  GraphActivityRendererInterface createRenderer(java.lang.String type)
           
 java.awt.geom.Point2D getPerimeterPoint(org.jgraph.graph.EdgeView edge, java.awt.geom.Point2D source, java.awt.geom.Point2D p)
           
 org.jgraph.graph.CellViewRenderer getRenderer()
          Returns a renderer for the class.
 
Methods inherited from class org.enhydra.jawe.components.graph.DefaultGraphActivityView
createRenderer, getBounds
 
Methods inherited from class org.jgraph.graph.VertexView
getCachedBounds, getCenterPoint, getHandle, getPerimeterPoint, setCachedBounds, update
 
Methods inherited from class org.jgraph.graph.AbstractCellView
changeAttributes, childUpdated, createAttributeMap, getAllAttributes, getAttributes, getBounds, getCell, getCellAttributes, getCenterPoint, getChildViews, getDescendantViews, getEditor, getParentView, getRendererComponent, includeInGroupBounds, intersects, isLeaf, mergeAttributes, refresh, removeFromParent, scale, setAttributes, setBounds, setCell, translate, updateGroupBounds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jgraph.graph.CellView
changeAttributes, childUpdated, getAllAttributes, getAttributes, getCell, getChildViews, getEditor, getHandle, getParentView, getRendererComponent, intersects, isLeaf, refresh, removeFromParent, update
 

Constructor Detail

DefaultGraphBubbleActivityView

public DefaultGraphBubbleActivityView(java.lang.Object cell)
Constructs a End view for the specified model object.

Parameters:
cell - reference to the model object
Method Detail

getRenderer

public org.jgraph.graph.CellViewRenderer getRenderer()
Description copied from class: DefaultGraphActivityView
Returns a renderer for the class.

Overrides:
getRenderer in class DefaultGraphActivityView

createRenderer

protected GraphActivityRendererInterface createRenderer(java.lang.String type)

getPerimeterPoint

public java.awt.geom.Point2D getPerimeterPoint(org.jgraph.graph.EdgeView edge,
                                               java.awt.geom.Point2D source,
                                               java.awt.geom.Point2D p)
Specified by:
getPerimeterPoint in interface org.jgraph.graph.CellView
Overrides:
getPerimeterPoint in class DefaultGraphActivityView

TWE 2.3-2 API