|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IFlowLayout
Platform and technology independent flow layout definition. It is designed for use with AWT, Swing, SWT, JSP, JSF,... .
| Field Summary | |
|---|---|
static int |
HORIZONTAL
Constant for horizontal flow layout. |
static int |
VERTICAL
Constant for vertical vertical layout. |
| Fields inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Method Summary | |
|---|---|
int |
getComponentAlignment()
Gets the alignment between the components. |
int |
getOrientation()
Gets the orientation of this flow layout. |
boolean |
isAutoWrap()
Gets the current state of the automatic wrap mode. |
void |
setAutoWrap(boolean pAutoWrap)
Sets the automatic wrap mode. |
void |
setComponentAlignment(int pComponentAlignment)
Sets the alignment between the components. |
void |
setOrientation(int pOrientation)
Sets the orientation of this flow layout. |
| Methods inherited from interface javax.rad.ui.ILayout |
|---|
getConstraints, getHorizontalGap, getMargins, getVerticalGap, setConstraints, setHorizontalGap, setMargins, setVerticalGap |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Methods inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment |
| Field Detail |
|---|
static final int HORIZONTAL
static final int VERTICAL
| Method Detail |
|---|
int getOrientation()
HORIZONTAL or VERTICAL.
void setOrientation(int pOrientation)
HORIZONTAL or VERTICAL.
pOrientation - the orientation.int getComponentAlignment()
void setComponentAlignment(int pComponentAlignment)
pComponentAlignment - the component alignment.boolean isAutoWrap()
true if the automatic wrap mode is enabled; otherwise falsevoid setAutoWrap(boolean pAutoWrap)
FlowLayout.
pAutoWrap - true to enabled the auto wrap mode, false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||