|
ALBPM Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfuego.papi.Presentation.Column
public static class Presentation.Column
Column contains every attribute for a column, the main idea is to get and keep all the neccesary info, like size and id etc.
Constructor Summary | |
---|---|
Presentation.Column(String variableId,
int size)
|
|
Presentation.Column(String variableId,
int size,
ColumnFormat columnFormat)
|
|
Presentation.Column(VarDefinition varDefinition)
Constructor to create a column. |
Method Summary | |
---|---|
ColumnFormat |
getColumnFormat()
Gets the format of this column |
String |
getFormattedValue(Object value,
Locale locale)
Gets the value received formatted following the variable definition for this column. |
String |
getFormattedValue(Object value,
Locale locale,
PresentationColumnFormat columFormat)
Gets the value received formatted by the given column format. |
String |
getId()
Returns the key of this column. |
String |
getLabel(Locale locale)
Returns the localized label for this column. |
int |
getSize()
Returns the size of this column. |
VarDefinition |
getVarDefinition()
|
void |
setColumnFormat(ColumnFormat columnFormat)
Sets the format of this column |
void |
setSize(int size)
Sets the size of this column. |
void |
setVarDefinition(VarDefinition varDefinition)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Presentation.Column(VarDefinition varDefinition)
varDefinition
- The definition of the objects that will be paced inside this column.public Presentation.Column(String variableId, int size)
public Presentation.Column(String variableId, int size, ColumnFormat columnFormat)
Method Detail |
---|
public String getFormattedValue(Object value, Locale locale)
value
- The value to be formattedlocale
- The locale to be used to format the value
public String getFormattedValue(Object value, Locale locale, PresentationColumnFormat columFormat)
value
- The value to be formattedlocale
- The locale to be used to format the valuecolumFormat
- The custom formatter
public String getId()
public String getLabel(Locale locale)
public void setSize(int size)
size
- The new size of this column.public int getSize()
public void setVarDefinition(VarDefinition varDefinition)
public VarDefinition getVarDefinition()
public ColumnFormat getColumnFormat()
public void setColumnFormat(ColumnFormat columnFormat)
columnFormat
-
|
ALBPM Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |