public class TextualFactoryBlock
extends java.lang.Object
| Constructor and Description |
|---|
TextualFactoryBlock(FactoryRenderableBlock block,
java.lang.String rep)
Creates a TextualFactoryBlock with the given block and string representation
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TextualFactoryBlock b2) |
boolean |
equals(java.lang.Object obj) |
FactoryRenderableBlock |
getfactoryBlock() |
int |
hashCode() |
java.lang.String |
toString() |
public TextualFactoryBlock(FactoryRenderableBlock block, java.lang.String rep)
block - the FactoryRenderableBlock tagged/represented by this TextualFactoryBlockrep - the String "representation" to use for this TFB. Usually this would be the
block's label. To auto-generate a detailed rep, use the disambiguousStringRep() method.public FactoryRenderableBlock getfactoryBlock()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int compareTo(TextualFactoryBlock b2)
public java.lang.String toString()
toString in class java.lang.Object