Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.forms.layout.service
Class LayoutColumnCounter

java.lang.Object
  extended by org.nuxeo.ecm.platform.forms.layout.service.LayoutColumnCounter

@Name(value="layoutColumnCounter")
@Scope(value=EVENT)
public class LayoutColumnCounter
extends Object

Helper component to count number of columns rendered in a layout context.

Useful when rendering listing layouts in a PDF table, where number of columns need to be known in advance.

Since:
5.4.2

Constructor Summary
LayoutColumnCounter()
           
 
Method Summary
 void decrement()
           
 Integer getCurrentIndex()
           
 void increment()
           
 void setCurrentIndex(Integer index)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutColumnCounter

public LayoutColumnCounter()
Method Detail

getCurrentIndex

public Integer getCurrentIndex()

setCurrentIndex

public void setCurrentIndex(Integer index)

increment

public void increment()

decrement

public void decrement()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.