|
||||||||||
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 Viewable
draw
in class ClusterView
public void setPositionRef(javax.vecmath.Point3f position)
protected void setupDefaultMaterial()
GraphElementView
setupDefaultMaterial
in class GraphElementView
protected void setupHighlightMaterial()
GraphElementView
setupHighlightMaterial
in class GraphElementView
public void init()
GraphElementView
init
in class GraphElementView
public void setLabelColour(javax.vecmath.Color3f c)
public void setLabel(java.lang.String[] labels)
GraphElementView
setLabel
in class GraphElementView
public void setLabel(java.lang.String label)
setLabel
in class GraphElementView
public java.lang.String getLabel()
getLabel
in class GraphElementView
public javax.swing.ImageIcon getIcon()
getIcon
in class ClusterView
public float getBottomRadius()
getBottomRadius
in interface SizeAdjustableNodeView
SizeAdjustableNodeView.getBottomRadius()
public float getDepth()
getDepth
in interface SizeAdjustableNodeView
SizeAdjustableNodeView.getDepth()
public int getShape()
getShape
in interface SizeAdjustableNodeView
SizeAdjustableNodeView.getShape()
public float getTopRadius()
getTopRadius
in interface SizeAdjustableNodeView
SizeAdjustableNodeView.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 |