org.wilmascope.viewplugin
Class BoxColumnClusterView

java.lang.Object
  extended by org.wilmascope.patterns.Prototype
      extended by org.wilmascope.view.GraphElementView
          extended by org.wilmascope.view.NodeView
              extended by org.wilmascope.view.ClusterView
                  extended by org.wilmascope.viewplugin.ColumnClusterView
                      extended by org.wilmascope.viewplugin.BoxColumnClusterView
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, NodeAbility, NodeView, Viewable, SizeAdjustableNodeView, View2D

public class BoxColumnClusterView
extends ColumnClusterView

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.wilmascope.view.GraphElementView
t3d
 
Fields inherited from interface org.wilmascope.view.SizeAdjustableNodeView
BOX, DISC
 
Constructor Summary
BoxColumnClusterView()
           
 
Method Summary
 void draw()
          update the cluster's size and position on screen
 java.lang.String getLabel()
           
 int getShape()
          always BOX
 void init()
          you must over-ride the following method to create the 3D Shapes which will represent your graph elements
 void setLabel(java.lang.String label)
           
 void setLabel(java.lang.String[] labels)
          sets a multiline label...
 void setLabelColour(javax.vecmath.Color3f c)
           
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.viewplugin.ColumnClusterView
getBottomRadius, getDepth, getIcon, getMaxRadius, getTopRadius, setEndRadii, setPositionRef
 
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.view.GraphElementView
addLabel, addLiveBranch, addPickingClient, addShape, addTransformGroupChild, defaultColour, delete, getAppearance, getAxisAngle4f, getBranchGroup, getColor3f, getColour, getDefaultColour, getGraphCanvas, getTransformGroup, getUserData, hide, highlightColour, initGraphElement, isDefaultColour, makePickable, picked, removeLabel, removePickingClient, setColour, setColour, setFullTransform, setFullTransform, setLabel, setPickable, setResizeTranslateTransform, setTransformGroupTransform, setTranslation, setTransparencyAttributes, setupDefaultAppearance, setupHighlightAppearance, setUserData, show, transform
 
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

BoxColumnClusterView

public BoxColumnClusterView()
Method Detail

draw

public void draw()
Description copied from class: ClusterView
update the cluster's size and position on screen

Specified by:
draw in interface Viewable
Overrides:
draw in class ColumnClusterView

setLabelColour

public void setLabelColour(javax.vecmath.Color3f c)
Overrides:
setLabelColour in class ColumnClusterView

setLabel

public void setLabel(java.lang.String[] labels)
Description copied from class: GraphElementView
sets a multiline label... this may be implemented in different ways by different subclass views... The default is just to show the first line

Overrides:
setLabel in class ColumnClusterView

setLabel

public void setLabel(java.lang.String label)
Overrides:
setLabel in class ColumnClusterView

getLabel

public java.lang.String getLabel()
Overrides:
getLabel in class ColumnClusterView

setupDefaultMaterial

protected void setupDefaultMaterial()
Description copied from class: GraphElementView
Sets the default material for graph elements You must over-ride this abstract method stub with: setupDefaultAppearance(myDefaultMaterial);

Overrides:
setupDefaultMaterial in class ColumnClusterView

setupHighlightMaterial

protected void setupHighlightMaterial()
Description copied from class: GraphElementView
You must over-ride this method with: setupHighlightAppearance(myHighLightedMaterial)

Overrides:
setupHighlightMaterial in class ColumnClusterView

init

public void init()
Description copied from class: GraphElementView
you must over-ride the following method to create the 3D Shapes which will represent your graph elements

Overrides:
init in class ColumnClusterView

getShape

public int getShape()
always BOX

Specified by:
getShape in interface SizeAdjustableNodeView
Overrides:
getShape in class ColumnClusterView
See Also:
SizeAdjustableNodeView.getShape()