|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.bebop.Completable
com.arsdigita.bebop.SimpleComponent
com.arsdigita.bebop.TextStylable
com.arsdigita.bebop.BlockStylable
Abstract class that contain the CSS-like Block Stylable attributes.
Field Summary | |
static int |
ABSBOTTOM
Constant for specifying ABSBOTTOM alignment of this image input. |
static int |
ABSMIDDLE
Constant for specifying ABSMIDDLE alignment of this image input. |
static int |
BASELINE
Constant for specifying BASELINE alignment of this image input. |
static int |
BOTTOM
Align the bottom of a component. |
static int |
CENTER
Center a component. |
static int |
FULL_WIDTH
Lay out a component across the full width of the panel. |
static int |
INSERT
Insert the child component assuming it is printed in a table with the same number of columns. |
static int |
LEFT
Left-align a component. |
static int |
MIDDLE
Align the middle of a component. |
static int |
RIGHT
Right-align a component. |
static int |
TEXTTOP
Constant for specifying TEXTOP alignment of this image input. |
static int |
TOP
Align the top of a component. |
static String |
versionId
|
Fields inherited from class com.arsdigita.bebop.SimpleComponent |
m_attr |
Fields inherited from interface com.arsdigita.bebop.Component |
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE |
Constructor Summary | |
BlockStylable()
|
Method Summary | |
void |
setBorder(Size size)
Sets this component's border. |
void |
setBorder(Size size,
int sideEnum)
Sets the border size for one side of this component. |
void |
setBorderColor(Color borderColor)
Sets the color of this component's border. |
void |
setHorizontalAlignment(int alignmentEnum)
Sets the horizontal alignment of this component. |
void |
setMargin(Size size)
Sets this component's margin. |
void |
setMargin(Size size,
int sideEnum)
Sets the margin of one of this component's sides. |
void |
setPadding(Size size)
Sets this component's padding. |
void |
setPadding(Size size,
int sideEnum)
Sets the padding of one of this component's sides. |
void |
setVerticalAlignment(int alignmentEnum)
Sets the vertical alignment of this component. |
Methods inherited from class com.arsdigita.bebop.TextStylable |
setBackgroundColor, setColor |
Methods inherited from class com.arsdigita.bebop.SimpleComponent |
children, clone, exportAttributes, generateXML, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, lock, register, register, respond, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible |
Methods inherited from class com.arsdigita.bebop.Completable |
addCompletionListener, fireCompletionEvent |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String versionId
public static final int LEFT
public static final int CENTER
public static final int RIGHT
public static final int TOP
public static final int MIDDLE
public static final int BOTTOM
public static final int FULL_WIDTH
public static final int INSERT
public static final int ABSMIDDLE
public static final int ABSBOTTOM
public static final int TEXTTOP
public static final int BASELINE
Constructor Detail |
public BlockStylable()
Method Detail |
public void setPadding(Size size)
size
- the size for this component's paddingsetPadding(Size, int)
public void setPadding(Size size, int sideEnum)
sideEnum
- the side to setsize
- the size to set the padding tosetPadding(Size)
public void setBorder(Size size)
size
- the size to set for this component's bordersetBorder(Size, int)
public void setBorder(Size size, int sideEnum)
size
- the size to set for the bordersideEnum
- the side to setsetBorder(Size)
public void setBorderColor(Color borderColor)
borderColor
- the color for the borderpublic void setMargin(Size size)
size
- the size to set this component's margin tosetMargin(Size, int)
public void setMargin(Size size, int sideEnum)
size
- the size to set the margin tosideEnum
- the side to setsetMargin(Size)
public void setHorizontalAlignment(int alignmentEnum)
alignmentEnum
- the horizontal alignment (LEFT, RIGHT, or
CENTER)public void setVerticalAlignment(int alignmentEnum)
alignmentEnum
- the vertical alignment (TOP, BOTTOM, or
MIDDLE)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |