public static class Block.Type extends Object implements Comparable<Block.Type>
| Modifier and Type | Field and Description |
|---|---|
(package private) List<Block.BlockContainer> |
blocks |
static Block.Type |
NO
All unclassified blocks are of this type
|
static Block.Type |
ROOT |
(package private) List<Block.Type> |
subs |
| Modifier | Constructor and Description |
|---|---|
protected |
Type(String n,
Block.Type p) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Block.Type t) |
boolean |
contains(String test) |
boolean |
equals(Object o) |
List<Block> |
getBlocks() |
static Block.Type[] |
getClassification(String p,
boolean create) |
String |
getName() |
Block.Type |
getParent() |
List<Block.Type> |
getSubTypes() |
LocalizedString |
getTitle() |
int |
getWeight() |
(package private) static Collection<Block.BlockContainer> |
getWeightedClassification(Block b,
String p) |
int |
hashCode() |
void |
setWeight(int w) |
String |
toString() |
public static final Block.Type ROOT
public static final Block.Type NO
final List<Block.Type> subs
final List<Block.BlockContainer> blocks
protected Type(String n, Block.Type p)
public static Block.Type[] getClassification(String p, boolean create)
static Collection<Block.BlockContainer> getWeightedClassification(Block b, String p)
public List<Block.Type> getSubTypes()
public String getName()
public void setWeight(int w)
public int getWeight()
public boolean contains(String test)
public Block.Type getParent()
public int compareTo(Block.Type t)
compareTo in interface Comparable<Block.Type>public LocalizedString getTitle()
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}