ALBPM Process API

fuego.papi
Class ColumnFormat

java.lang.Object
  extended by fuego.papi.ColumnFormat

public class ColumnFormat
extends Object

ColumnFormat is the format of the presentation column. The column uses it to formats its value.


Method Summary
 Format getFormat(Locale locale)
          Gets the Format object for the given locale
static ColumnFormat getInstance(ColumnFormatType type)
          Factory method Builds a column formatter of the given style
static ColumnFormat getInstance(ColumnFormatType type, String pattern)
          Factory method Builds a column formatter of the given style and pattern
 String getPattern()
          Gets the column format pattern (for custom formatters)
 ColumnFormatType getType()
          Gets the column format type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ColumnFormat getInstance(ColumnFormatType type)
Factory method Builds a column formatter of the given style

Parameters:
type -
Returns:
a column formatter

getInstance

public static ColumnFormat getInstance(ColumnFormatType type,
                                       String pattern)
Factory method Builds a column formatter of the given style and pattern

Parameters:
type -
pattern -
Returns:
a column formatter

getType

public ColumnFormatType getType()
Gets the column format type

Returns:
the format type

getPattern

public String getPattern()
Gets the column format pattern (for custom formatters)

Returns:
the column format pattern

getFormat

public Format getFormat(Locale locale)
Gets the Format object for the given locale

Parameters:
locale -
Returns:
the Format object

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved