TreeMap Java Library

treemap.demo
Class TMFileModelSize

java.lang.Object
  extended by treemap.TMComputeSizeAdapter
      extended by treemap.demo.TMFileModelSize
All Implemented Interfaces:
TMComputeSize

public class TMFileModelSize
extends TMComputeSizeAdapter

The TMFileModelSize class implements an example of a TMComputeSizeAdapter for a TMFileModelNode.

Version:
2.5
Author:
Christophe Bouthier [bouthier@loria.fr]

Constructor Summary
TMFileModelSize()
           
 
Method Summary
 float getSizeOfObject(java.lang.Object node)
          Returns the size of the node.
 boolean isCompatibleWithObject(java.lang.Object node)
          TO BE IMPLEMENTED.
 
Methods inherited from class treemap.TMComputeSizeAdapter
getSize, isCompatibleWith
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TMFileModelSize

public TMFileModelSize()
Method Detail

isCompatibleWithObject

public boolean isCompatibleWithObject(java.lang.Object node)
Description copied from class: TMComputeSizeAdapter
TO BE IMPLEMENTED.

Specified by:
isCompatibleWithObject in class TMComputeSizeAdapter

getSizeOfObject

public float getSizeOfObject(java.lang.Object node)
Returns the size of the node.

Specified by:
getSizeOfObject in class TMComputeSizeAdapter

TreeMap Java Library

TreeMap Java Library - www.bouthier.net - treemap.sf.net - 2001