|
PAJES 3.0.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pajes.html.Tag
org.pajes.html.HorizontalLine
public class HorizontalLine
Generates <hr> tags.
| Field Summary |
|---|
| Fields inherited from class org.pajes.html.Tag |
|---|
ON_CLICK_ATTRIBUTE, TAG_CLOSE, TAG_LEFT, TAG_RIGHT |
| Constructor Summary | |
|---|---|
HorizontalLine()
Creates an empty horizontal line |
|
HorizontalLine(java.lang.String width)
Creates a horizontal line with the specified width. |
|
HorizontalLine(java.lang.String width,
java.lang.String alignment)
Creates a horizontal line with the specified width and alignment |
|
HorizontalLine(java.lang.String width,
java.lang.String alignment,
Color color)
Creates a horizontal line with the specified width and alignment and color |
|
| Method Summary | |
|---|---|
HorizontalLine |
setAlignment(java.lang.String alignment)
Sets the alignment of the horizontal line. |
HorizontalLine |
setColor(Color color)
Sets the color of the horizontal line. |
HorizontalLine |
setNoShade(boolean noShade)
Sets whether the horizontal line will be displayed in 2D or 3D format. |
HorizontalLine |
setSize(int pixels)
Sets the height of the horizontal line. |
HorizontalLine |
setSize(java.lang.Integer pixels)
Sets the height of the horizontal line. |
HorizontalLine |
setWidth(java.lang.String width)
Sets the width of the horizontal line. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HorizontalLine()
public HorizontalLine(java.lang.String width)
width - the width of this horizontal line.
public HorizontalLine(java.lang.String width,
java.lang.String alignment)
width - the width to be assigned to this horizontal line.alignment - of the line
public HorizontalLine(java.lang.String width,
java.lang.String alignment,
Color color)
width - the color to be assigned to this horizontal line.alignment - of the linecolor - of the line| Method Detail |
|---|
public HorizontalLine setAlignment(java.lang.String alignment)
alignment - the alignment to be given to the horizontal line
TagException - if an invalid alignment is specified.public HorizontalLine setColor(Color color)
color - the color to be given to the horizontal line
public HorizontalLine setNoShade(boolean noShade)
noShade - if true, the line will be displayed is 2D (flat) format, or if
false (the default) in 3D (raised) format.
public HorizontalLine setSize(int pixels)
pixels - the height of the horizontal line in pixels.
public HorizontalLine setSize(java.lang.Integer pixels)
pixels - the height of the horizontal line in pixels.
public HorizontalLine setWidth(java.lang.String width)
width - the width to be given to the horizontal line
|
PAJES 3.0.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||