org.mmbase.framework
Class Block.BlockContainer

java.lang.Object
  extended by org.mmbase.framework.Block.BlockContainer
All Implemented Interfaces:
Comparable<Block.BlockContainer>
Enclosing class:
Block

static class Block.BlockContainer
extends Object
implements Comparable<Block.BlockContainer>

A wrapper class for a certain block in a type, which defined its weighted place in between it's child block of the same type.


Field Summary
(package private)  Block block
           
(package private)  Block.Type type
           
(package private)  int weight
           
 
Constructor Summary
Block.BlockContainer(Block block, Block.Type type, int weight)
           
 
Method Summary
 int compareTo(Block.BlockContainer o)
           
(package private)  Block get()
           
(package private)  Block.Type getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

weight

final int weight

block

final Block block

type

final Block.Type type
Constructor Detail

Block.BlockContainer

Block.BlockContainer(Block block,
                     Block.Type type,
                     int weight)
Method Detail

get

Block get()

getType

Block.Type getType()

compareTo

public int compareTo(Block.BlockContainer o)
Specified by:
compareTo in interface Comparable<Block.BlockContainer>


MMBase 2.0-SNAPSHOT - null