Fuego Process API

fuego.papi
Class Presentation.Column


java.lang.Object

  extended byfuego.papi.Presentation.Column

All Implemented Interfaces:
Serializable
Enclosing class:
Presentation

public static class Presentation.Column
extends Object
implements Serializable

Column contains every attribute for a column, the main idea is to get and keep all the neccesary info, like size and id etc.

See Also:
Serialized Form

Constructor Summary
Presentation.Column(String variableId, int size)
           
Presentation.Column(VarDefinition varDefinition)
          Constructor to create a column.
 
Method Summary
 String getFormattedValue(Object value, Locale locale)
          Gets the value received formatted following the variable definition for this column.
 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 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

Presentation.Column


public Presentation.Column(VarDefinition varDefinition)
Constructor to create a column.

Parameters:
varDefinition - The definition of the objects that will be paced inside this column.

Presentation.Column


public Presentation.Column(String variableId,
                           int size)
Method Detail

getFormattedValue


public String getFormattedValue(Object value,
                                Locale locale)
Gets the value received formatted following the variable definition for this column.

Parameters:
value - The value to be formatted
locale - The locale to be used to format the value
Returns:
A String with the formatted value

getId


public String getId()
Returns the key of this column. example : "Description"


getLabel


public String getLabel(Locale locale)
Returns the localized label for this column.


setSize


public void setSize(int size)
Sets the size of this column.

Parameters:
size - The new size of this column.

getSize


public int getSize()
Returns the size of this column.

Returns:
int The size of this column

setVarDefinition


public void setVarDefinition(VarDefinition varDefinition)

getVarDefinition


public VarDefinition getVarDefinition()

Fuego Process API

© Copyright 1996/2003 Fuego Inc. All Rights Reserved