|
||||||||||
| 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.BoxClusterView
public class BoxClusterView
Box shaped cluster
| Field Summary |
|---|
| Fields inherited from class org.wilmascope.view.GraphElementView |
|---|
t3d |
| Constructor Summary | |
|---|---|
BoxClusterView()
|
|
| Method Summary | |
|---|---|
void |
draw()
update the cluster's size and position on screen |
protected float |
getCollapsedRadius(float density)
|
javax.swing.ImageIcon |
getIcon()
|
void |
init()
you must over-ride the following method to create the 3D Shapes which will represent your graph elements |
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, 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 BoxClusterView()
| Method Detail |
|---|
protected void setupDefaultMaterial()
GraphElementView
setupDefaultMaterial in class GraphElementViewprotected void setupHighlightMaterial()
GraphElementView
setupHighlightMaterial in class GraphElementViewpublic void draw()
ClusterView
draw in interface Viewabledraw in class ClusterViewpublic void init()
GraphElementView
init in class GraphElementViewprotected float getCollapsedRadius(float density)
getCollapsedRadius in class ClusterViewpublic javax.swing.ImageIcon getIcon()
getIcon in class ClusterView
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||