org.objectweb.fractal.explorer.attributes
Class AttributesTableModelBuilder

java.lang.Object
  extended by org.objectweb.fractal.explorer.attributes.AttributesTableModelBuilder

public class AttributesTableModelBuilder
extends Object

A utility class providing static methods to build attribute table's model and get the name of the attribute controller interface used to control the attributes.


Constructor Summary
AttributesTableModelBuilder()
           
 
Method Summary
static TableModel buildAttributesTableModel(Object attributeObject)
          Builds an attribute table model given an instance of an attribute controller.
static String getControlledInterfaceName()
          Returns a name of the attribute controller interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributesTableModelBuilder

public AttributesTableModelBuilder()
Method Detail

buildAttributesTableModel

public static TableModel buildAttributesTableModel(Object attributeObject)
Builds an attribute table model given an instance of an attribute controller.

Parameters:
attributeObject - an object implementing the AttributeController interface.
Returns:
dataModel an attribute table model.

getControlledInterfaceName

public static String getControlledInterfaceName()
Returns a name of the attribute controller interface.

Returns:
controllerInterface the name of the attribute controller interface.