info.informatica.doc.style
Interface Alignable

All Known Implementing Classes:
ExponentFormat, FloatFormat, HexFormat, IntegerFormat, NumberFormat, ObjectFormat, OctalFormat, StringFormat, TemplateDateFormat, TextFormat

public interface Alignable

To be implemented by document parts that can be aligned.

Version:
1.00
Author:
amengual at informatica dot info

Field Summary
static int CENTER
           
static int JUSTIFY
           
static int LEFT
           
static int RIGHT
           
static int UNDETERMINED
           
 
Method Summary
 void align(int i)
          Sets the alignment of the object.
 int getAlignment()
          Gets the alignment.
 

Field Detail

UNDETERMINED

static final int UNDETERMINED
See Also:
Constant Field Values

CENTER

static final int CENTER
See Also:
Constant Field Values

LEFT

static final int LEFT
See Also:
Constant Field Values

RIGHT

static final int RIGHT
See Also:
Constant Field Values

JUSTIFY

static final int JUSTIFY
See Also:
Constant Field Values
Method Detail

align

void align(int i)
Sets the alignment of the object.

Parameters:
i - one of the public constants specifying the alignment.

getAlignment

int getAlignment()
Gets the alignment.

Returns:
the alignment.