|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openxava.util.Align
public class Align
Represents a text (or another element) align.
The number of objects of this class is finete and accesible
only by final variables or the method get(int).
| Field Summary | |
|---|---|
static Align |
CENTER
|
static Align |
DEFAULT
|
static Align |
LEFT
|
static Align |
RIGHT
|
| Constructor Summary | |
|---|---|
protected |
Align(int code,
java.lang.String description)
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
|
static Align |
get(int code)
Obtain align associated to indicated code. |
static Align[] |
getAll()
All available aligns. |
int |
getCode()
|
java.lang.String |
getDescription()
|
int |
hashCode()
|
boolean |
isCenter()
Facilitates ask about what type of align is this. |
boolean |
isDefault()
Facilitates ask about what type of align is this. |
boolean |
isLeft()
Facilitates ask about what type of align is this. |
boolean |
isRight()
Facilitates ask about what type of align is this. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Align DEFAULT
public static final Align LEFT
public static final Align CENTER
public static final Align RIGHT
| Constructor Detail |
|---|
protected Align(int code,
java.lang.String description)
| Method Detail |
|---|
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic static Align get(int code)
java.lang.IllegalStateException - If code does not match with a existing align.public int getCode()
public java.lang.String getDescription()
public static Align[] getAll()
public boolean isCenter()
public boolean isDefault()
public boolean isRight()
public boolean isLeft()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||