public class TableContext extends Object
Constructor and Description |
---|
TableContext() |
Modifier and Type | Method and Description |
---|---|
List<TableComponent> |
getComponents() |
TableComponent |
getFirstComponent() |
String |
getFirstComponentId() |
static TableContext |
getInstance(ContentContext ctx,
IContentVisualComponent currentComponent) |
TableComponent |
getLastComponent() |
int |
getMaxRowSize() |
String |
getName(TableComponent inComp) |
int |
getRowSize(TableComponent currentComp)
reutrn the size of the row (the number of cellBreak in the row +1).
|
TableBreak |
getTableBreak() |
boolean |
isCellWidth()
true if there are at least one cell with "width" manually defined.
|
boolean |
isFirst(TableComponent comp) |
boolean |
isFirstComponent(TableComponent comp) |
static boolean |
isInstance(ContentContext ctx) |
boolean |
isLast(TableComponent comp) |
boolean |
isTableOpen() |
void |
openTable() |
void |
refresh(ContentContext ctx,
IContentVisualComponent currentComponent) |
void |
resetTable(ContentContext ctx) |
public static TableContext getInstance(ContentContext ctx, IContentVisualComponent currentComponent) throws Exception
Exception
public void refresh(ContentContext ctx, IContentVisualComponent currentComponent) throws Exception
Exception
public boolean isFirst(TableComponent comp)
public boolean isLast(TableComponent comp)
public String getName(TableComponent inComp)
public static boolean isInstance(ContentContext ctx) throws Exception
Exception
public int getRowSize(TableComponent currentComp)
comp
- public boolean isTableOpen()
public void openTable()
public void resetTable(ContentContext ctx)
public List<TableComponent> getComponents()
public TableComponent getFirstComponent()
public String getFirstComponentId()
public boolean isFirstComponent(TableComponent comp)
public TableComponent getLastComponent()
public TableBreak getTableBreak()
public int getMaxRowSize()
public boolean isCellWidth()
Copyright © 2012-2018. All Rights Reserved.