Search in sources :

Example 1 with ListItem

use of com.lowagie.text.ListItem in project drools by kiegroup.

the class EndPage method createContents.

public static List createContents(java.util.List<DrlRuleParser> rules) {
    List index = new List(true);
    for (DrlRuleParser drlRuleData : rules) {
        Chunk chunk = new Chunk(drlRuleData.getName());
        // chunk.setLocalGoto( item.getName() );
        ListItem listItem = new ListItem(chunk);
        index.add(listItem);
    }
    return index;
}
Also used : List(com.lowagie.text.List) ListItem(com.lowagie.text.ListItem) Chunk(com.lowagie.text.Chunk) DrlRuleParser(org.drools.verifier.misc.DrlRuleParser)

Aggregations

Chunk (com.lowagie.text.Chunk)1 List (com.lowagie.text.List)1 ListItem (com.lowagie.text.ListItem)1 DrlRuleParser (org.drools.verifier.misc.DrlRuleParser)1