|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wilmascope.patterns.Prototype
org.wilmascope.view.GraphElementView
org.wilmascope.view.NodeView
org.wilmascope.view.ClusterView
org.wilmascope.viewplugin.ColumnClusterView
public class ColumnClusterView
| Field Summary |
|---|
| Fields inherited from class org.wilmascope.view.GraphElementView |
|---|
t3d |
| Fields inherited from interface org.wilmascope.view.SizeAdjustableNodeView |
|---|
BOX, DISC |
| Constructor Summary | |
|---|---|
ColumnClusterView()
|
|
| Method Summary | |
|---|---|
void |
draw()
update the cluster's size and position on screen |
float |
getBottomRadius()
returns the bottom radius of the lowest node |
float |
getDepth()
returns maximum depth of the cluster's children |
javax.swing.ImageIcon |
getIcon()
|
java.lang.String |
getLabel()
|
float |
getMaxRadius()
|
int |
getShape()
always DISC |
float |
getTopRadius()
|
void |
init()
you must over-ride the following method to create the 3D Shapes which will represent your graph elements |
void |
setEndRadii(float bottomRadius,
float topRadius)
|
void |
setLabel(java.lang.String label)
|
void |
setLabel(java.lang.String[] labels)
sets a multiline label... |
void |
setLabelColour(javax.vecmath.Color3f c)
|
void |
setPositionRef(javax.vecmath.Point3f position)
|
protected void |
setupDefaultMaterial()
Sets the default material for graph elements You must over-ride this abstract method stub with: setupDefaultAppearance(myDefaultMaterial); |
protected void |
setupHighlightMaterial()
You must over-ride this method with: setupHighlightAppearance(myHighLightedMaterial) |
| Methods inherited from class org.wilmascope.view.ClusterView |
|---|
getCluster, getCollapsedRadius, setCollapsedView, setExpandedView |
| Methods inherited from class org.wilmascope.view.NodeView |
|---|
addGeometryObserver, draw2D, getCanvasPosition, getNode, getProperties, getRadius, getVWorldPosition, hideAnchor, moveToCanvasPos, setColour, setNode, setProperties, setRadius, showAnchor, showLabel |
| Methods inherited from class org.wilmascope.patterns.Prototype |
|---|
clone, getTypeName, setTypeName |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.wilmascope.graph.Viewable |
|---|
delete, hide, setPickable, show |
| Constructor Detail |
|---|
public ColumnClusterView()
| Method Detail |
|---|
public void draw()
ClusterView
draw in interface Viewabledraw in class ClusterViewpublic void setPositionRef(javax.vecmath.Point3f position)
protected void setupDefaultMaterial()
GraphElementView
setupDefaultMaterial in class GraphElementViewprotected void setupHighlightMaterial()
GraphElementView
setupHighlightMaterial in class GraphElementViewpublic void init()
GraphElementView
init in class GraphElementViewpublic void setLabelColour(javax.vecmath.Color3f c)
public void setLabel(java.lang.String[] labels)
GraphElementView
setLabel in class GraphElementViewpublic void setLabel(java.lang.String label)
setLabel in class GraphElementViewpublic java.lang.String getLabel()
getLabel in class GraphElementViewpublic javax.swing.ImageIcon getIcon()
getIcon in class ClusterViewpublic float getBottomRadius()
getBottomRadius in interface SizeAdjustableNodeViewSizeAdjustableNodeView.getBottomRadius()public float getDepth()
getDepth in interface SizeAdjustableNodeViewSizeAdjustableNodeView.getDepth()public int getShape()
getShape in interface SizeAdjustableNodeViewSizeAdjustableNodeView.getShape()public float getTopRadius()
getTopRadius in interface SizeAdjustableNodeViewSizeAdjustableNodeView.getTopRadius()public float getMaxRadius()
public void setEndRadii(float bottomRadius,
float topRadius)
setEndRadii in interface SizeAdjustableNodeView
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||