|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.web.impl.WebResource
com.sibvisions.rad.ui.web.impl.WebLayout<Object>
com.sibvisions.rad.ui.web.impl.layout.WebFlowLayout
public class WebFlowLayout
Web server implementation of IFlowLayout.
| Field Summary |
|---|
| Fields inherited from class com.sibvisions.rad.ui.web.impl.WebLayout |
|---|
horizontalGap, margins, verticalGap |
| Fields inherited from interface javax.rad.ui.layout.IFlowLayout |
|---|
HORIZONTAL, VERTICAL |
| Fields inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Constructor Summary | |
|---|---|
WebFlowLayout()
Creates a new instance of WebFlowLayout. |
|
| Method Summary | |
|---|---|
String |
getAsString()
Gets this Object as String. |
int |
getComponentAlignment()
Gets the alignment between the components. |
int |
getHorizontalAlignment()
Returns the alignment along the x axis. |
int |
getOrientation()
Gets the orientation of this flow layout. |
int |
getVerticalAlignment()
Returns the alignment along the y axis. |
boolean |
isAutoWrap()
Gets the current state of the automatic wrap mode. |
boolean |
isSquareComponents()
Gets the square components mode. |
void |
setAutoWrap(boolean pAutoWrap)
Sets the automatic wrap mode. |
void |
setComponentAlignment(int pComponentAlignment)
Sets the alignment between the components. |
void |
setHorizontalAlignment(int pHorizontalAlignment)
Sets the horizontal alignment. |
void |
setOrientation(int pOrientation)
Sets the orientation of this flow layout. |
void |
setSquareComponents(boolean pSquareComponents)
Sets the square components mode. |
void |
setVerticalAlignment(int pVerticalAlignment)
Sets the vertical alignment. |
| Methods inherited from class com.sibvisions.rad.ui.web.impl.WebLayout |
|---|
getConstraints, getHorizontalGap, getMargins, getVerticalGap, setComponentConstraints, setConstraints, setHorizontalGap, setMargins, setVerticalGap |
| Methods inherited from class com.sibvisions.rad.ui.web.impl.WebResource |
|---|
getNullableAsString, getResource, setAsString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 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 |
| Constructor Detail |
|---|
public WebFlowLayout()
WebFlowLayout.
IFlowLayout| Method Detail |
|---|
public int getHorizontalAlignment()
getHorizontalAlignment in interface IAlignmentConstantspublic void setHorizontalAlignment(int pHorizontalAlignment)
setHorizontalAlignment in interface IAlignmentConstantspHorizontalAlignment - the new vertical alignmentpublic int getVerticalAlignment()
getVerticalAlignment in interface IAlignmentConstantspublic void setVerticalAlignment(int pVerticalAlignment)
setVerticalAlignment in interface IAlignmentConstantspVerticalAlignment - the new vertical alignmentpublic int getOrientation()
HORIZONTAL or VERTICAL.
getOrientation in interface IFlowLayoutpublic void setOrientation(int pOrientation)
HORIZONTAL or VERTICAL.
setOrientation in interface IFlowLayoutpOrientation - the orientation.public int getComponentAlignment()
getComponentAlignment in interface IFlowLayoutpublic void setComponentAlignment(int pComponentAlignment)
setComponentAlignment in interface IFlowLayoutpComponentAlignment - the component alignment.public boolean isSquareComponents()
isSquareComponents in interface IFlowLayoutpublic void setSquareComponents(boolean pSquareComponents)
setSquareComponents in interface IFlowLayoutpSquareComponents - the square components mode.public boolean isAutoWrap()
isAutoWrap in interface IFlowLayouttrue if the automatic wrap mode is enabled; otherwise falsepublic void setAutoWrap(boolean pAutoWrap)
FlowLayout.
setAutoWrap in interface IFlowLayoutpAutoWrap - true to enabled the auto wrap mode, false otherwisepublic String getAsString()
getAsString in class WebLayout<Object>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||