|
JAC project AOPSYS CEDRIC & LIP6 labs |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jac.aspects.gui.Border
This class represents borders in GUI.
Field Summary | |
static int |
BOTTOM
The label of the border if any is diplayed on the bottom constant |
static int |
CENTER
The label of the border if any is diplayed centered constant |
static int |
ETCHED
The style is etched constant |
static int |
LEFT
The label of the border if any is diplayed on the left constant |
static int |
LINE
The style is a line constant |
static int |
LOWERED
The style is lowered constant |
static int |
NONE
None border constant |
static int |
RAISED
The style is raised constant |
static int |
RIGHT
The label of the border if any is diplayed on the right constant |
static int |
TOP
The label of the border if any is diplayed on the top constant |
Constructor Summary | |
Border(String title,
int alignment,
int style)
Constructs a new border. |
Method Summary | |
static int |
a2iAlignment(String alignment)
Converts a string representation of the alignment to an int. |
static int |
a2iStyle(String style)
Converts a string representation of the style to an int. |
int |
getAlignment()
Get the value of alignment. |
int |
getStyle()
Get the value of style. |
String |
getTitle()
Get the value of title. |
boolean |
hasTitle()
Returns true if the border has a title. |
static String |
i2aStyle(int style)
Converts an integer representation of the style to a string. |
void |
setAlignment(int v)
Set the value of alignment. |
void |
setStyle(int v)
Set the value of style. |
void |
setTitle(String v)
Set the value of title. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int NONE
public static final int LEFT
public static final int TOP
public static final int RIGHT
public static final int BOTTOM
public static final int CENTER
public static final int LINE
public static final int ETCHED
public static final int LOWERED
public static final int RAISED
Constructor Detail |
public Border(String title, int alignment, int style)
title
- the border's titlealignment
- the title alignmentstyle
- the border's styleMethod Detail |
public static int a2iAlignment(String alignment)
public static int a2iStyle(String style)
public static String i2aStyle(int style)
public boolean hasTitle()
public int getAlignment()
public void setAlignment(int v)
v
- Value to assign to alignment.public int getStyle()
public void setStyle(int v)
v
- Value to assign to style.public String getTitle()
public void setTitle(String v)
v
- Value to assign to title.
|
Contact JAC development team: Renaud Pawlak Lionel Seinturier Laurent Martelli |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |