Package org.javlo.component.column
Class ColContext
- java.lang.Object
-
- org.javlo.component.column.ColContext
-
public class ColContext extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intMAX_WIDTH
-
Constructor Summary
Constructors Constructor Description ColContext()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ColContextgetInstance(ContentContext ctx, IContentVisualComponent currentComponent)intgetRowWidth()booleanisFirst(IContentVisualComponent comp)static booleanisInstance(ContentContext ctx)booleanisLast(IContentVisualComponent comp)booleanisOpen()voidrefresh(ContentContext ctx, IContentVisualComponent currentComponent)voidreset()voidsetOpen(boolean open)voidsetRowWidth(int rowWidth)
-
-
-
Field Detail
-
MAX_WIDTH
public static final int MAX_WIDTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static ColContext getInstance(ContentContext ctx, IContentVisualComponent currentComponent) throws Exception
- Throws:
Exception
-
reset
public void reset()
-
refresh
public void refresh(ContentContext ctx, IContentVisualComponent currentComponent) throws Exception
- Throws:
Exception
-
isInstance
public static boolean isInstance(ContentContext ctx) throws Exception
- Throws:
Exception
-
isOpen
public boolean isOpen()
-
setOpen
public void setOpen(boolean open)
-
isFirst
public boolean isFirst(IContentVisualComponent comp)
-
isLast
public boolean isLast(IContentVisualComponent comp)
-
getRowWidth
public int getRowWidth()
-
setRowWidth
public void setRowWidth(int rowWidth)
-
-