|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ujac.util.table.TableHelper
public class TableHelper
Name: TableHelper
Description: Provides global helper methods for table handling.
Constructor Summary | |
---|---|
TableHelper()
|
Method Summary | |
---|---|
static int |
getAlignmentId(String align)
Gets the id of the given textual alignment representation. |
static String |
getAlignmentName(int align)
Gets the textual representation of the given alignment value. |
static int |
getColumnTypeId(String columnTypeName)
Gets the ID from the given column type name. |
static String |
getColumnTypeName(int columnTypeId)
Gets the ID from the given column type name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TableHelper()
Method Detail |
---|
public static final int getColumnTypeId(String columnTypeName) throws TableException
columnTypeName
- The column type name to convert.
TableException
- In case the conversion failed.public static final String getColumnTypeName(int columnTypeId) throws TableException
columnTypeId
- The column type ID to convert.
TableException
- In case the conversion failed.public static final int getAlignmentId(String align)
align
- The alignment name to parse.
public static final String getAlignmentName(int align)
align
- The alignment id to get the name for.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |